summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rc80211_minstrel_ht.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-01-15 13:02:41 +0100
committerJohannes Berg <johannes.berg@intel.com>2021-01-22 09:11:37 +0100
commit7e2123abc51648c508c8e6a10e44ab6d2db6f0ec (patch)
treeef05ac2f1a3c8ed89dd1dd5e87a48fcb0b162f78 /net/mac80211/rc80211_minstrel_ht.c
parentmac80211: minstrel_ht: fix max probability rate selection (diff)
downloadlinux-7e2123abc51648c508c8e6a10e44ab6d2db6f0ec.tar.xz
linux-7e2123abc51648c508c8e6a10e44ab6d2db6f0ec.zip
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> Link: https://lore.kernel.org/r/20210115120242.89616-9-nbd@nbd.name Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rc80211_minstrel_ht.c')
-rw-r--r--net/mac80211/rc80211_minstrel_ht.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rc80211_minstrel_ht.c b/net/mac80211/rc80211_minstrel_ht.c
index b1a06ecca34d..782b4668a3da 100644
--- a/net/mac80211/rc80211_minstrel_ht.c
+++ b/net/mac80211/rc80211_minstrel_ht.c
@@ -1865,7 +1865,7 @@ minstrel_ht_alloc(struct ieee80211_hw *hw)
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++)