diff options
author | Christian Lamparter <chunkeey@web.de> | 2009-03-23 07:15:43 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-27 20:13:14 -0400 |
commit | 4a48e2a484e5cf99da4795cf2d6916e057d533ad (patch) | |
tree | e4c123fcd3193eb32f8fa5464d9279bd1a07d5fd /drivers/net/wireless/ar9170/hw.h | |
parent | 04de83815993714a7ba2618f637fa1092a5f664b (diff) |
ar9170: simplify & deBUG tx_status queueing and reporting
This patch simplifies the tx_status report code by using four tx_queues per
station instead of only one. (the skb lookup should be in O(1) now :-p ).
Also, it fixes a really obvious copy&paste bug in the janitor work code and
adds back a few spilled bits to the hardware definition header about QoS.
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ar9170/hw.h')
-rw-r--r-- | drivers/net/wireless/ar9170/hw.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/ar9170/hw.h b/drivers/net/wireless/ar9170/hw.h index ad205f82f60a..13091bd9d815 100644 --- a/drivers/net/wireless/ar9170/hw.h +++ b/drivers/net/wireless/ar9170/hw.h | |||
@@ -397,10 +397,21 @@ struct ar9170_cmd_response { | |||
397 | }; | 397 | }; |
398 | } __packed; | 398 | } __packed; |
399 | 399 | ||
400 | /* QoS */ | ||
401 | |||
400 | /* mac80211 queue to HW/FW map */ | 402 | /* mac80211 queue to HW/FW map */ |
401 | static const u8 ar9170_qos_hwmap[4] = { 3, 2, 0, 1 }; | 403 | static const u8 ar9170_qos_hwmap[4] = { 3, 2, 0, 1 }; |
402 | 404 | ||
403 | /* HW/FW queue to mac80211 map */ | 405 | /* HW/FW queue to mac80211 map */ |
404 | static const u8 ar9170_qos_mac80211map[4] = { 2, 3, 1, 0 }; | 406 | static const u8 ar9170_qos_mac80211map[4] = { 2, 3, 1, 0 }; |
405 | 407 | ||
408 | enum ar9170_txq { | ||
409 | AR9170_TXQ_BE, | ||
410 | AR9170_TXQ_BK, | ||
411 | AR9170_TXQ_VI, | ||
412 | AR9170_TXQ_VO, | ||
413 | |||
414 | __AR9170_NUM_TXQ, | ||
415 | }; | ||
416 | |||
406 | #endif /* __AR9170_HW_H */ | 417 | #endif /* __AR9170_HW_H */ |