diff options
author | Narayanraddi Masti <team.nmasti@gmail.com> | 2019-02-07 21:16:05 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-04-08 13:58:10 +0200 |
commit | ab60633c7136c300f15a390f3469d7c4be15a055 (patch) | |
tree | 09d4892426871630afcbbac9ff4ea26a264c0ad5 /net/mac80211/mesh_hwmp.c | |
parent | nl80211/cfg80211: Specify band specific min RSSI thresholds with sched scan (diff) | |
download | linux-ab60633c7136c300f15a390f3469d7c4be15a055.tar.xz linux-ab60633c7136c300f15a390f3469d7c4be15a055.zip |
mac80211: Add support for NL80211_STA_INFO_AIRTIME_LINK_METRIC
Add support for mesh airtime link metric attribute
NL80211_STA_INFO_AIRTIME_LINK_METRIC.
Signed-off-by: Narayanraddi Masti <team.nmasti@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh_hwmp.c')
-rw-r--r-- | net/mac80211/mesh_hwmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c index f7517668e77a..c694c0dd907e 100644 --- a/net/mac80211/mesh_hwmp.c +++ b/net/mac80211/mesh_hwmp.c @@ -318,8 +318,8 @@ void ieee80211s_update_metric(struct ieee80211_local *local, cfg80211_calculate_bitrate(&rinfo)); } -static u32 airtime_link_metric_get(struct ieee80211_local *local, - struct sta_info *sta) +u32 airtime_link_metric_get(struct ieee80211_local *local, + struct sta_info *sta) { /* This should be adjusted for each device */ int device_constant = 1 << ARITH_SHIFT; |