aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ar9170/hw.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2009-03-23 12:15:43 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-03-27 20:13:14 -0400
commit4a48e2a484e5cf99da4795cf2d6916e057d533ad (patch)
treee4c123fcd3193eb32f8fa5464d9279bd1a07d5fd /drivers/net/wireless/ar9170/hw.h
parentmac80211: add beacon filtering support (diff)
downloadlinux-dev-4a48e2a484e5cf99da4795cf2d6916e057d533ad.tar.xz
linux-dev-4a48e2a484e5cf99da4795cf2d6916e057d533ad.zip
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.h11
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 {
};
} __packed;
+/* QoS */
+
/* mac80211 queue to HW/FW map */
static const u8 ar9170_qos_hwmap[4] = { 3, 2, 0, 1 };
/* HW/FW queue to mac80211 map */
static const u8 ar9170_qos_mac80211map[4] = { 2, 3, 1, 0 };
+enum ar9170_txq {
+ AR9170_TXQ_BE,
+ AR9170_TXQ_BK,
+ AR9170_TXQ_VI,
+ AR9170_TXQ_VO,
+
+ __AR9170_NUM_TXQ,
+};
+
#endif /* __AR9170_HW_H */