summaryrefslogtreecommitdiffstats
path: root/net/mac80211/status.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-09-08 14:36:55 +0200
committerJohannes Berg <johannes.berg@intel.com>2020-09-18 12:09:25 +0200
commitc74114d7d51521bd785bf6aa0f90ee87d99bee8a (patch)
tree7a98de0618c89379ffd209896fe4f04b68e0f69e /net/mac80211/status.c
parent3318111cf63d97f1e1792ed4fdf9472e60b0a2cc (diff)
downloadlinux-c74114d7d51521bd785bf6aa0f90ee87d99bee8a.tar.bz2
mac80211: remove tx status call to ieee80211_sta_register_airtime
All drivers using airtime fairness are calling ieee80211_sta_register_airtime directly, now they must. Document this as well. Signed-off-by: Felix Fietkau <nbd@nbd.name> Link: https://lore.kernel.org/r/20200908123702.88454-8-nbd@nbd.name [johannes: update the documentation to suit] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/status.c')
-rw-r--r--net/mac80211/status.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/mac80211/status.c b/net/mac80211/status.c
index 4bdfe1a68a3a..f7686c931747 100644
--- a/net/mac80211/status.c
+++ b/net/mac80211/status.c
@@ -988,12 +988,6 @@ static void __ieee80211_tx_status(struct ieee80211_hw *hw,
ieee80211_sta_tx_notify(sta->sdata, (void *) skb->data,
acked, info->status.tx_time);
- if (info->status.tx_time &&
- wiphy_ext_feature_isset(local->hw.wiphy,
- NL80211_EXT_FEATURE_AIRTIME_FAIRNESS))
- ieee80211_sta_register_airtime(&sta->sta, tid,
- info->status.tx_time, 0);
-
if ((tx_time_est = ieee80211_info_get_tx_time_est(info)) > 0) {
/* Do this here to avoid the expensive lookup of the sta
* in ieee80211_report_used_skb().