mac80211: QoS related cleanups
This * makes the queue number passed to drivers a u16 (as it will be with skb_get_queue_mapping) * removes the useless queue number defines * splits hw->queues into hw->queues/ampdu_queues * removes the debugfs files for per-queue counters * removes some dead QoS code * removes the beacon queue configuration for IBSS so that the drivers now never get a queue number bigger than (hw->queues + hw->ampdu_queues - 1) for tx and only in the range 0..hw->queues-1 for conf_tx. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
36fc6757fe
commit
e100bb64bf
@ -257,7 +257,7 @@ struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata,
|
||||
* sta_rx_agg_session_timer_expired for useage */
|
||||
sta->timer_to_tid[i] = i;
|
||||
/* tid to tx queue: initialize according to HW (0 is valid) */
|
||||
sta->tid_to_tx_q[i] = local->hw.queues;
|
||||
sta->tid_to_tx_q[i] = local->hw.queues + local->hw.ampdu_queues;
|
||||
/* rx */
|
||||
sta->ampdu_mlme.tid_state_rx[i] = HT_AGG_STATE_IDLE;
|
||||
sta->ampdu_mlme.tid_rx[i] = NULL;
|
||||
|
Reference in New Issue
Block a user