]> git.ipfire.org Git - thirdparty/openwrt.git/commit
wifi: mt76: mt7915: set mt76 specific PS flag
authorDavid Bauer <mail@david-bauer.net>
Sun, 15 Mar 2026 16:47:15 +0000 (17:47 +0100)
committerDavid Bauer <mail@david-bauer.net>
Mon, 16 Mar 2026 20:17:33 +0000 (21:17 +0100)
commit045deec7e92065d250c1884c8cd1dfcc7a4fcd5d
tree2aecad17fa6e4cab9973e00d89bb0447d0418df3
parent7d2c244646d9caf895e5e03ea8f47f4089c2abec
wifi: mt76: mt7915: set mt76 specific PS flag

mt76 tracks the PSM state of a sta internally with a wcid flag. TX to
such clients is skipped based on the presence of this flag.

This flag was not added to the PS state notify handler for MT7915 chips.
Without this flag, mt76 queues pending frames to the hardware,
accounting for airtime when a PSM notification is received while in a TX
iteration.

Set the PS flag for the STA WCID to prevent this from happening. TX gets
skipped in presence of this flag.

Link: https://patchwork.kernel.org/project/linux-wireless/patch/20260313112502.2026974-1-mail@david-bauer.net/
Signed-off-by: David Bauer <mail@david-bauer.net>
package/kernel/mt76/Makefile
package/kernel/mt76/patches/0001-wifi-mt76-mt7915-set-mt76-specific-PS-flag.patch [new file with mode: 0644]