aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/sta_info.h
diff options
context:
space:
mode:
authorMaxim Altshul <maxim.altshul@ti.com>2016-07-11 17:15:24 +0300
committerJohannes Berg <johannes.berg@intel.com>2016-08-11 16:51:40 +0200
commit3b17fbf87d5dadf123d328ab072334da285748c1 (patch)
tree70e7daf6b65e3ed27b4fab41725aca05717d84a5 /net/mac80211/sta_info.h
parentRDS: add __printf format attribute to error reporting functions (diff)
downloadlinux-dev-3b17fbf87d5dadf123d328ab072334da285748c1.tar.xz
linux-dev-3b17fbf87d5dadf123d328ab072334da285748c1.zip
mac80211: mesh: Add support for HW RC implementation
Mesh HWMP module will be able to rely on the HW RC algorithm if it exists, for path metric calculations. This allows the metric calculation mechanism to calculate a correct metric, based on PER and last TX rate both via HW RC algorithm if it exists or via parameters collected by the SW. Signed-off-by: Maxim Altshul <maxim.altshul@ti.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r--net/mac80211/sta_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h
index 78b0ef32dddd..0556be3e3628 100644
--- a/net/mac80211/sta_info.h
+++ b/net/mac80211/sta_info.h
@@ -712,6 +712,8 @@ void sta_set_rate_info_tx(struct sta_info *sta,
struct rate_info *rinfo);
void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo);
+u32 sta_get_expected_throughput(struct sta_info *sta);
+
void ieee80211_sta_expire(struct ieee80211_sub_if_data *sdata,
unsigned long exp_time);
u8 sta_info_tx_streams(struct sta_info *sta);