Revert "mac80211: Add TXQ scheduling API"

This reverts commit e937b8da5a.

Turns out that a new driver (mt76) is coming in through
Kalle's tree, and will conflict with this. It also has some
conflicting requirements, so we'll revisit this later.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Johannes Berg
2017-12-19 10:11:54 +01:00
parent 0973dd45ec
commit e7881bd594
15 changed files with 283 additions and 194 deletions

View File

@@ -1158,10 +1158,16 @@ drv_tdls_recv_channel_switch(struct ieee80211_local *local,
trace_drv_return_void(local);
}
static inline void drv_wake_tx_queue(struct ieee80211_local *local)
static inline void drv_wake_tx_queue(struct ieee80211_local *local,
struct txq_info *txq)
{
trace_drv_wake_tx_queue(local);
local->ops->wake_tx_queue(&local->hw);
struct ieee80211_sub_if_data *sdata = vif_to_sdata(txq->txq.vif);
if (!check_sdata_in_driver(sdata))
return;
trace_drv_wake_tx_queue(local, sdata, txq);
local->ops->wake_tx_queue(&local->hw, &txq->txq);
}
static inline int drv_start_nan(struct ieee80211_local *local,