aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/subsys/374-mac80211-fix-time-is-after-bug-in-mlme.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2021-05-02 18:45:40 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2021-05-04 22:25:43 +0200
commit17ac9849d3ff687c8c14d63e46f3e205adc22a3e (patch)
tree3a1c6ec69cab51f7807f764245f43e70a494e8d8 /package/kernel/mac80211/patches/subsys/374-mac80211-fix-time-is-after-bug-in-mlme.patch
parent13397b2b95b4800fb0a29c3d483fa280d10f0eb0 (diff)
downloadupstream-17ac9849d3ff687c8c14d63e46f3e205adc22a3e.tar.gz
upstream-17ac9849d3ff687c8c14d63e46f3e205adc22a3e.tar.bz2
upstream-17ac9849d3ff687c8c14d63e46f3e205adc22a3e.zip
mac80211: Update to version 5.10.34-1
The removed patches were applied upstream and are not needed anymore. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/mac80211/patches/subsys/374-mac80211-fix-time-is-after-bug-in-mlme.patch')
-rw-r--r--package/kernel/mac80211/patches/subsys/374-mac80211-fix-time-is-after-bug-in-mlme.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/package/kernel/mac80211/patches/subsys/374-mac80211-fix-time-is-after-bug-in-mlme.patch b/package/kernel/mac80211/patches/subsys/374-mac80211-fix-time-is-after-bug-in-mlme.patch
deleted file mode 100644
index 0573aece64..0000000000
--- a/package/kernel/mac80211/patches/subsys/374-mac80211-fix-time-is-after-bug-in-mlme.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From: Ben Greear <greearb@candelatech.com>
-Date: Tue, 30 Mar 2021 16:07:49 -0700
-Subject: [PATCH] mac80211: fix time-is-after bug in mlme
-
-The incorrect timeout check caused probing to happen when it did
-not need to happen. This in turn caused tx performance drop
-for around 5 seconds in ath10k-ct driver. Possibly that tx drop
-is due to a secondary issue, but fixing the probe to not happen
-when traffic is running fixes the symptom.
-
-Signed-off-by: Ben Greear <greearb@candelatech.com>
-Fixes: 9abf4e49830d ("mac80211: optimize station connection monitor")
-Acked-by: Felix Fietkau <nbd@nbd.name>
-Link: https://lore.kernel.org/r/20210330230749.14097-1-greearb@candelatech.com
-Signed-off-by: Johannes Berg <johannes.berg@intel.com>
----
-
---- a/net/mac80211/mlme.c
-+++ b/net/mac80211/mlme.c
-@@ -4691,7 +4691,10 @@ static void ieee80211_sta_conn_mon_timer
- timeout = sta->rx_stats.last_rx;
- timeout += IEEE80211_CONNECTION_IDLE_TIME;
-
-- if (time_is_before_jiffies(timeout)) {
-+ /* If timeout is after now, then update timer to fire at
-+ * the later date, but do not actually probe at this time.
-+ */
-+ if (time_is_after_jiffies(timeout)) {
- mod_timer(&ifmgd->conn_mon_timer, round_jiffies_up(timeout));
- return;
- }