mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
faeaf5a010
It can lead to out-of-bounds access and invalid rates Signed-off-by: Felix Fietkau <nbd@nbd.name>
21 lines
614 B
Diff
21 lines
614 B
Diff
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
|
|
@@ -1865,7 +1865,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++)
|