Revert "mac80211: Add airtime account and scheduling to TXQs"

This reverts commit b0d52ad821.

We need to revert the TXQ scheduling API due to conflicts
with a new driver, and this depends on that API.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Johannes Berg 2017-12-19 10:10:48 +01:00
parent b0d52ad821
commit 0973dd45ec
10 changed files with 8 additions and 121 deletions

View file

@ -1630,14 +1630,6 @@ ieee80211_rx_h_sta_process(struct ieee80211_rx_data *rx)
if (ieee80211_vif_is_mesh(&rx->sdata->vif))
ieee80211_mps_rx_h_sta_process(sta, hdr);
/* airtime accounting */
if (status->airtime) {
spin_lock_bh(&sta->lock);
sta->airtime_stats.rx_airtime += status->airtime;
sta->airtime_deficit -= status->airtime;
spin_unlock_bh(&sta->lock);
}
/*
* Drop (qos-)data::nullfunc frames silently, since they
* are used only to control station power saving mode.