]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rt2800: change default retry settings
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 6 Jan 2017 13:05:13 +0000 (14:05 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 17 Jan 2017 11:58:36 +0000 (13:58 +0200)
commit01d97ef4b25f8ca79ff1522416cdaf5b0c6b9047
treef58811cf10746b950a9e5fc63752e45e49f30f0e
parent15ec51b25e05ab434173ec647fa678b6c7b660bb
rt2800: change default retry settings

We do not have option to set per frame retry count. We have only global
TX_RTY_CFG registers which specify the number or retries. Set setting
of that register to value that correspond rate control algorithm number
of frame post (number of retries + 1), which is 3 for aggregated frames.
This should help with big amount of retries on bad conditions, hence
mitigate buffer-bloat like problems.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800lib.c