diff options
author | Maxim Altshul <maxim.altshul@ti.com> | 2016-07-11 17:15:24 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-08-11 16:51:40 +0200 |
commit | 3b17fbf87d5dadf123d328ab072334da285748c1 (patch) | |
tree | 70e7daf6b65e3ed27b4fab41725aca05717d84a5 /net/mac80211/sta_info.h | |
parent | 6cdaf03f8c23fcbfe7d4fa6876e114193bb6b632 (diff) |
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.h | 2 |
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); |