mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-01 03:26:51 +00:00
ac5a6acbb1
This updates the backports package used in mac80211 to version 4.19.7-1 which is based on kernel 4.19.7. This integrates all the stable fixes introduces in this kernel version. The deleted patches are not needed any more because they are either included in the upstream Linux kernel 4.19.7 or in backports 4.19.7-1. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
27 lines
896 B
Diff
27 lines
896 B
Diff
From: Felix Fietkau <nbd@nbd.name>
|
|
Date: Tue, 13 Nov 2018 20:29:03 +0100
|
|
Subject: [PATCH] mac80211: ignore tx status for PS stations in
|
|
ieee80211_tx_status_ext
|
|
|
|
Make it behave like regular ieee80211_tx_status calls, except for the lack of
|
|
filtered frame processing.
|
|
This fixes spurious low-ack triggered disconnections with powersave clients
|
|
connected to an AP.
|
|
|
|
Fixes: f027c2aca0cf4 ("mac80211: add ieee80211_tx_status_noskb")
|
|
Cc: stable@vger.kernel.org
|
|
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|
---
|
|
|
|
--- a/net/mac80211/status.c
|
|
+++ b/net/mac80211/status.c
|
|
@@ -984,6 +984,8 @@ void ieee80211_tx_status_ext(struct ieee
|
|
/* Track when last TDLS packet was ACKed */
|
|
if (test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH))
|
|
sta->status_stats.last_tdls_pkt_time = jiffies;
|
|
+ } else if (test_sta_flag(sta, WLAN_STA_PS_STA)) {
|
|
+ return;
|
|
} else {
|
|
ieee80211_lost_packet(sta, info);
|
|
}
|