Lets make wifi fast again!
 help / color / mirror / Atom feed
* [Make-wifi-fast] hacking and slashing at the ath9k's retries
@ 2016-11-19 18:55 Dave Taht
  2016-11-19 19:29 ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Taht @ 2016-11-19 18:55 UTC (permalink / raw)
  To: make-wifi-fast

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@dancer:~/git/linux/airtime-9$



-- 
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-19 19:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-19 18:55 [Make-wifi-fast] hacking and slashing at the ath9k's retries Dave Taht
2016-11-19 19:29 ` Toke Høiland-Jørgensen
2016-11-19 19:42   ` Dave Taht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox