diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-12-29 18:23:29 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-01-03 12:56:40 +0100 |
commit | 3a12c6679eb184ca2a9a2b1266cc2d41f3f00bad (patch) | |
tree | 4c2a02dad4c0ebd8cbd90ad751841f3cedbdfd05 /package/kernel/mac80211/patches/subsys/344-mac80211-minstrel_ht-increase-stats-update-interval.patch | |
parent | 55e23f2c02ae95e84613ed7d1cbf8aba557b8682 (diff) | |
download | upstream-3a12c6679eb184ca2a9a2b1266cc2d41f3f00bad.tar.gz upstream-3a12c6679eb184ca2a9a2b1266cc2d41f3f00bad.tar.bz2 upstream-3a12c6679eb184ca2a9a2b1266cc2d41f3f00bad.zip |
mac80211: replace legacy minstrel with minstrel_ht, improve rate selection
Legacy minstrel is essentially unmaintained and was showing poor performance
Replace it with minstrel_ht and improve rate selection and sampling behavior
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211/patches/subsys/344-mac80211-minstrel_ht-increase-stats-update-interval.patch')
-rw-r--r-- | package/kernel/mac80211/patches/subsys/344-mac80211-minstrel_ht-increase-stats-update-interval.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/subsys/344-mac80211-minstrel_ht-increase-stats-update-interval.patch b/package/kernel/mac80211/patches/subsys/344-mac80211-minstrel_ht-increase-stats-update-interval.patch new file mode 100644 index 0000000000..5c7785f892 --- /dev/null +++ b/package/kernel/mac80211/patches/subsys/344-mac80211-minstrel_ht-increase-stats-update-interval.patch @@ -0,0 +1,20 @@ +From: Felix Fietkau <nbd@nbd.name> +Date: Sat, 26 Dec 2020 19:14:58 +0100 +Subject: [PATCH] mac80211: minstrel_ht: increase stats update interval + +The shorter interval was leading to too many frames being used for probing + +Signed-off-by: Felix Fietkau <nbd@nbd.name> +--- + +--- a/net/mac80211/rc80211_minstrel_ht.c ++++ b/net/mac80211/rc80211_minstrel_ht.c +@@ -1864,7 +1864,7 @@ minstrel_ht_alloc(struct ieee80211_hw *h + mp->has_mrr = true; + + mp->hw = hw; +- mp->update_interval = HZ / 20; ++ mp->update_interval = HZ / 10; + + minstrel_ht_init_cck_rates(mp); + for (i = 0; i < ARRAY_SIZE(mp->hw->wiphy->bands); i++) |