[Make-wifi-fast] [PATCH] killing retries harder, perhaps

Dave Taht dave.taht at gmail.com
Thu Feb 2 19:37:47 EST 2017


Also at one point or another I'd knocked these down to 2 or 3 from 8.
No point in servicing a G station to this depth.

#define ATH_NON_AGGR_MIN_QDEPTH    8
#define ATH_TX_COMPLETE_POLL_INT   1000
#define ATH_TXFIFO_DEPTH           8

(yea, yea, code freeze in lede, but I've been dying to try this kind
of stuff harder after things stablized)

On Thu, Feb 2, 2017 at 3:47 PM, Dave Taht <dave.taht at gmail.com> wrote:
> 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



-- 
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