summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-01-15 15:02:41 +0300
committerJohannes Berg <johannes.berg@intel.com>2021-01-22 11:11:37 +0300
commit7e2123abc51648c508c8e6a10e44ab6d2db6f0ec (patch)
treeef05ac2f1a3c8ed89dd1dd5e87a48fcb0b162f78 /net/mac80211
parenta7fca4e4037f7e3fa84d4532ea0fd8b00c39c7a2 (diff)
downloadlinux-7e2123abc51648c508c8e6a10e44ab6d2db6f0ec.tar.xz
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')
-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++)