[Make-wifi-fast] hacking and slashing at the ath9k's retries
Dave Taht
dave.taht at gmail.com
Sat Nov 19 13:55:48 EST 2016
I don't see a reason to have ATH_MAX_SW_RETRIES of 30. ?
ATH_TXMAXTRY appears to be unused.
I am also sufficiently bugged at the VI queues behavior to go and fix
it finally (which also ties into a few other things)
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -91,8 +91,8 @@ int ath_descdma_setup(struct ath_softc *sc, struct
ath_descdma *dd,
#define ATH_RXBUF 512
#define ATH_TXBUF 512
#define ATH_TXBUF_RESERVE 5
-#define ATH_TXMAXTRY 13
-#define ATH_MAX_SW_RETRIES 30
+#define ATH_TXMAXTRY 2
+#define ATH_MAX_SW_RETRIES 4
#define TID_TO_WME_AC(_tid) \
((((_tid) == 0) || ((_tid) == 3)) ? IEEE80211_AC_BE : \
d at dancer:~/git/linux/airtime-9$
--
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org
More information about the Make-wifi-fast
mailing list