[Make-wifi-fast] [PATCH] killing retries harder, perhaps
Dave Taht
dave.taht at gmail.com
Thu Feb 2 18:47:38 EST 2017
ATH_TXMAXTRY is now unused.
ATH_MAX_SW_RETRIES is insanely high by default.
I finally have some good (well, horrible) data in a consistently noisy
environment and would like to try knocking this down a little in a
future test run. There's smarter ways to do it (like, if you are at
the lowest rate, retry once, higher rates, 4).
I have tried in the past values as low as 2 for soft retries.
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h
b/drivers/net/wireless/ath/ath9k/ath9k.h
index 331947b..304976d 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -91,8 +91,7 @@ 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_MAX_SW_RETRIES 4
#define TID_TO_WME_AC(_tid) \
((((_tid) == 0) || ((_tid) == 3)) ? IEEE80211_AC_BE : \
--
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org
-------------- next part --------------
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index 331947b..304976d 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -91,8 +91,7 @@ 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_MAX_SW_RETRIES 4
#define TID_TO_WME_AC(_tid) \
((((_tid) == 0) || ((_tid) == 3)) ? IEEE80211_AC_BE : \
More information about the Make-wifi-fast
mailing list