Skip to content

Commit a317e65

Browse files
nbd168jmberg-intel
authored andcommitted
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: f027c2a ("mac80211: add ieee80211_tx_status_noskb") Cc: [email protected] Signed-off-by: Felix Fietkau <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
1 parent 113f3aa commit a317e65

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

net/mac80211/status.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -964,6 +964,8 @@ void ieee80211_tx_status_ext(struct ieee80211_hw *hw,
964964
/* Track when last TDLS packet was ACKed */
965965
if (test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH))
966966
sta->status_stats.last_tdls_pkt_time = jiffies;
967+
} else if (test_sta_flag(sta, WLAN_STA_PS_STA)) {
968+
return;
967969
} else {
968970
ieee80211_lost_packet(sta, info);
969971
}

0 commit comments

Comments
 (0)