ar9170: simplify & deBUG tx_status queueing and reporting
authorChristian Lamparter <chunkeey@web.de>
Mon, 23 Mar 2009 11:15:43 +0000 (12:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:14 +0000 (20:13 -0400)
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>
drivers/net/wireless/ar9170/ar9170.h
drivers/net/wireless/ar9170/hw.h
drivers/net/wireless/ar9170/main.c

index c49d713..f4fb2e9 100644 (file)
@@ -159,7 +159,7 @@ struct ar9170 {
 };
 
 struct ar9170_sta_info {
-       struct sk_buff_head tx_status;
+       struct sk_buff_head tx_status[__AR9170_NUM_TXQ];
 };
 
 #define IS_STARTED(a)          (a->state >= AR9170_STARTED)
Simple merge
Simple merge