I have this patch.
---
net/mac80211/sta_info.c | 10 +---------
net/mac80211/tx.c | 4 ++--
2 files changed, 3 insertions(+), 11 deletions(-)
--- a/net/mac80211/sta_info.c
+++ b/net/mac80211/sta_info.c
@@ -2893,15 +2893,7 @@ static void sta_update_codel_params(stru
if (ieee80211_hw_check(&sta->sdata->local->hw, HAS_TX_QUEUE))
return;
- if (thr && thr < STA_SLOW_THRESHOLD * sta->local->num_sta) {
- sta->cparams.target = MS2TIME(50);
- sta->cparams.interval = MS2TIME(300);
- sta->cparams.ecn = false;
- } else {
- sta->cparams.target = MS2TIME(20);
- sta->cparams.interval = MS2TIME(100);
- sta->cparams.ecn = true;
- }
+ return;
}
void ieee80211_sta_set_expected_throughput(struct ieee80211_sta *pubsta,
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -1610,8 +1610,8 @@ int ieee80211_txq_setup_flows(struct iee
fq->memory_limit = 4 << 20; /* 4 Mbytes */
codel_params_init(&local->cparams);
- local->cparams.interval = MS2TIME(100);
- local->cparams.target = MS2TIME(20);
+ local->cparams.interval = MS2TIME(40);
+ local->cparams.target = MS2TIME(3);
local->cparams.ecn = true;
local->cvars = kcalloc(fq->flows_cnt, sizeof(local->cvars[0]),
And if it helps, here is a test with crusader
wax620: OpenWrt support for Netgear WAX620 - #81 by Spacebar
wax630: Add support for Netgear WAX630 - #48 by Spacebar