mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
05fc7fb18f098483979b624806cca74554217c86
Only frames that the driver has buffered in an ieee80211_txq are released through mt76_release_buffered_frames() and end up on the PSD queue. Frames that mac80211 buffered itself are handed back through the regular tx path and go out on the access category queue of the frame. Clearing the drop mask for MT_TXQ_PSD alone therefore misses them, and the hardware keeps discarding PS-Poll and U-APSD responses for a station that is still marked as sleeping. The client polls again on the next TIM and never receives anything, so its traffic stalls until it leaves powersave. Key off the tx info flags instead, the same way mt7603_tx_prepare_skb() does. This covers both release paths and any other frame that mac80211 marks as exempt from powersave buffering. Signed-off-by: Felix Fietkau <[email protected]>
Description
mac80211 driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, MT7628 and MT7688
105 MiB
Languages
C
99.7%
Perl
0.2%
Makefile
0.1%