mac80211: use multi-queue master netdevice
This patch updates mac80211 and drivers to be multi-queue aware and use that instead of the internal queue mapping. Also does a number of cleanups in various pieces of the code that fall out and reduces internal mac80211 state size. 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
eefce91a38
commit
e253008360
@@ -79,19 +79,6 @@ enum data_queue_qid {
|
||||
QID_ATIM,
|
||||
};
|
||||
|
||||
/**
|
||||
* mac80211_queue_to_qid - Convert mac80211 queue to rt2x00 qid
|
||||
* @queue: mac80211 queue.
|
||||
*/
|
||||
static inline enum data_queue_qid mac80211_queue_to_qid(unsigned int queue)
|
||||
{
|
||||
/* Regular TX queues are mapped directly */
|
||||
if (queue < 4)
|
||||
return queue;
|
||||
WARN_ON(1);
|
||||
return QID_OTHER;
|
||||
}
|
||||
|
||||
/**
|
||||
* enum skb_frame_desc_flags: Flags for &struct skb_frame_desc
|
||||
*
|
||||
|
Reference in New Issue
Block a user