mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-19 01:51:22 +01:00
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>