Lets make wifi fast again!
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: make-wifi-fast@lists.bufferbloat.net
Subject: [Make-wifi-fast] hacking and slashing at the ath9k's retries
Date: Sat, 19 Nov 2016 10:55:48 -0800	[thread overview]
Message-ID: <CAA93jw5VqHH4AX58MS+aMMo0EyogGmkn2V2PpLDYAec3fvE13g@mail.gmail.com> (raw)

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

             reply	other threads:[~2016-11-19 18:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-19 18:55 Dave Taht [this message]
2016-11-19 19:29 ` Toke Høiland-Jørgensen
2016-11-19 19:42   ` Dave Taht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/make-wifi-fast.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAA93jw5VqHH4AX58MS+aMMo0EyogGmkn2V2PpLDYAec3fvE13g@mail.gmail.com \
    --to=dave.taht@gmail.com \
    --cc=make-wifi-fast@lists.bufferbloat.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox