mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-11-08 22:37:25 +00:00
warning print "ath11k c000000.wifi: failed to flush transmit queue 0" is observed during busy times. The mac80211 fallback implementation of `flush_sta` does not handle the per STA queues well. This is fixed by providing a ath11k specific implementation of flush_sta telling the firmware to flush a given station. The draining of the transmit queues should therefore stop correctly, even if new packets arrive in the mean time. An upstream ath11k RFC is available at: https://patchwork.kernel.org/project/linux-wireless/patch/GV1P250MB14333A5BF24623C4753A10E1E8E0A@GV1P250MB1433.EURP250.PROD.OUTLOOK.COM/ The patch was tested on a Xiaomi AX3600. Signed-off-by: Florian Maurer <f.maurer@outlook.de> Tested-by: Florian Maurer <f.maurer@outlook.de> Co-authored-by: Benjamin Berg <benjamin@sipsolutions.net> Tested-by: Flole <flole@flole.de> Link: https://github.com/openwrt/openwrt/pull/20293 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>