aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/subsys/306-mac80211-remove-STA-txq-pending-airtime-underflow-wa.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2020-08-06 20:37:44 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2020-08-10 19:34:37 +0200
commitfce0f1501b12b54c0961802ff10b4b5f24a1a33d (patch)
tree334031dde5849be4e2bcb7ede89f4e4c3f9a62a1 /package/kernel/mac80211/patches/subsys/306-mac80211-remove-STA-txq-pending-airtime-underflow-wa.patch
parentd32010d5ff7455cd51fb6b3e06fa4662ad87eaa9 (diff)
downloadupstream-fce0f1501b12b54c0961802ff10b4b5f24a1a33d.tar.gz
upstream-fce0f1501b12b54c0961802ff10b4b5f24a1a33d.tar.bz2
upstream-fce0f1501b12b54c0961802ff10b4b5f24a1a33d.zip
mac80211: Update to version 5.8
The removed patches were applied upstream. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/mac80211/patches/subsys/306-mac80211-remove-STA-txq-pending-airtime-underflow-wa.patch')
-rw-r--r--package/kernel/mac80211/patches/subsys/306-mac80211-remove-STA-txq-pending-airtime-underflow-wa.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/package/kernel/mac80211/patches/subsys/306-mac80211-remove-STA-txq-pending-airtime-underflow-wa.patch b/package/kernel/mac80211/patches/subsys/306-mac80211-remove-STA-txq-pending-airtime-underflow-wa.patch
deleted file mode 100644
index ab3a77e19b..0000000000
--- a/package/kernel/mac80211/patches/subsys/306-mac80211-remove-STA-txq-pending-airtime-underflow-wa.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From: Felix Fietkau <nbd@nbd.name>
-Date: Sat, 25 Jul 2020 10:42:30 +0200
-Subject: [PATCH] mac80211: remove STA txq pending airtime underflow
- warning
-
-This warning can trigger if there is a mismatch between frames that were
-sent with the sta pointer set vs tx status frames reported for the sta address.
-
-This can happen due to race conditions on re-creating stations, or even
-in the case of .sta_add/remove being used instead of .sta_state, which can cause
-frames to be sent to a station that has not been uploaded yet.
-
-If there is an actual underflow issue, it should show up in the device airtime
-warning below, so it is better to remove this one.
-
-Signed-off-by: Felix Fietkau <nbd@nbd.name>
----
-
---- a/net/mac80211/sta_info.c
-+++ b/net/mac80211/sta_info.c
-@@ -1924,9 +1924,7 @@ void ieee80211_sta_update_pending_airtim
- if (sta) {
- tx_pending = atomic_sub_return(tx_airtime,
- &sta->airtime[ac].aql_tx_pending);
-- if (WARN_ONCE(tx_pending < 0,
-- "STA %pM AC %d txq pending airtime underflow: %u, %u",
-- sta->addr, ac, tx_pending, tx_airtime))
-+ if (tx_pending < 0)
- atomic_cmpxchg(&sta->airtime[ac].aql_tx_pending,
- tx_pending, 0);
- }