summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ar9170/hw.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2009-06-06 05:07:23 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-06-10 13:27:54 -0400
commit9b9c5aaeedfda256ed77094303e2a7242c3290da (patch)
tree07dc845cc308d9a4b721bf59605217bc884f01b1 /drivers/net/wireless/ath/ar9170/hw.h
parent2543a0c4c0fde46f9f206cec1e1cf951a2a63a66 (diff)
ar9170: xmit code revamp
This patch is a back-port from aggregation testing code. In the past, we didn't limit the amount of active tx urbs. However, ar9170 only has a limited buffer reserved for pending data frames. This wasn't much of a problem with the slower 802.11b/g. We simply stopped the full queue and moved on to something different in the mean time. But - as you guessed it - this simple approach stands in way for a decent aggregation implementation. Signed-off-by: Christian Lamparter <chunkeey@web.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ar9170/hw.h')
-rw-r--r--drivers/net/wireless/ath/ar9170/hw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ar9170/hw.h b/drivers/net/wireless/ath/ar9170/hw.h
index 3c8004fb730..6cbfb2f8339 100644
--- a/drivers/net/wireless/ath/ar9170/hw.h
+++ b/drivers/net/wireless/ath/ar9170/hw.h
@@ -420,4 +420,7 @@ enum ar9170_txq {
__AR9170_NUM_TXQ,
};
+#define AR9170_TXQ_DEPTH 32
+#define AR9170_TX_MAX_PENDING 128
+
#endif /* __AR9170_HW_H */