Skip to content

[24.10] ath11k: fix transmit queue flushing through flush_sta implementation - #20667

Merged
openwrt-bot merged 1 commit into
openwrt:openwrt-24.10from
Djfe:ath11k_flush_sta_backport
Dec 12, 2025
Merged

openwrt-bot merged 1 commit into
openwrt:openwrt-24.10from
Djfe:ath11k_flush_sta_backport

Conversation

@Djfe

@Djfe Djfe commented Nov 5, 2025

Copy link
Copy Markdown
Contributor

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.

Tested-by: Florian Maurer [email protected]
Tested-by: Flole [email protected]
Link: #20293


Backport ath11k flush_sta patch to 24.10

@github-actions github-actions Bot added core packages pull request/issue for core (in-tree) packages release/24.10 pull request/issue targeted (also) for OpenWrt 24.10 release labels Nov 6, 2025
@Ansuel

Ansuel commented Nov 6, 2025

Copy link
Copy Markdown
Member

@Djfe lets wait a bit for the patch to be merged before backporting.... I can see good comments upstream also to flush alld the TIDs

@Djfe
Djfe marked this pull request as draft November 6, 2025 09:47
@Djfe

Djfe commented Nov 6, 2025

Copy link
Copy Markdown
Contributor Author

sure, I just wanted to have this prepared and ready. looking forward to seeing this progress upstream. 😊

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 <[email protected]>
Tested-by: Florian Maurer  <[email protected]>
Co-authored-by: Benjamin Berg <[email protected]>
Tested-by: Flole <[email protected]>
Link: openwrt#20293
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 8faa9de)
Signed-off-by: Felix Baumann <[email protected]>
Link: openwrt#20667
Signed-off-by: Hauke Mehrtens <[email protected]>
@hauke
hauke force-pushed the ath11k_flush_sta_backport branch from 85f1e06 to f415748 Compare December 12, 2025 00:33
@openwrt-bot
openwrt-bot merged commit f415748 into openwrt:openwrt-24.10 Dec 12, 2025
liudf0716 pushed a commit to liudf0716/chawrt that referenced this pull request Jan 5, 2026
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 <[email protected]>
Tested-by: Florian Maurer  <[email protected]>
Co-authored-by: Benjamin Berg <[email protected]>
Tested-by: Flole <[email protected]>
Link: openwrt/openwrt#20293
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 8faa9de)
Signed-off-by: Felix Baumann <[email protected]>
Link: openwrt/openwrt#20667
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit f415748)
AaronElijah pushed a commit to botblox/openwrt that referenced this pull request Mar 3, 2026
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 <[email protected]>
Tested-by: Florian Maurer  <[email protected]>
Co-authored-by: Benjamin Berg <[email protected]>
Tested-by: Flole <[email protected]>
Link: openwrt#20293
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 8faa9de)
Signed-off-by: Felix Baumann <[email protected]>
Link: openwrt#20667
Signed-off-by: Hauke Mehrtens <[email protected]>
Rokith-BT pushed a commit to Gemicates-Tech/prplos that referenced this pull request Mar 17, 2026
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 <[email protected]>
Tested-by: Florian Maurer  <[email protected]>
Co-authored-by: Benjamin Berg <[email protected]>
Tested-by: Flole <[email protected]>
Link: openwrt/openwrt#20293
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 8faa9de)
Signed-off-by: Felix Baumann <[email protected]>
Link: openwrt/openwrt#20667
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit f415748)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/qsdk_oss_prpl-foundation_prplos_prplos that referenced this pull request Jul 8, 2026
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 <[email protected]>
Tested-by: Florian Maurer  <[email protected]>
Co-authored-by: Benjamin Berg <[email protected]>
Tested-by: Flole <[email protected]>
Link: openwrt/openwrt#20293
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 8faa9de)
Signed-off-by: Felix Baumann <[email protected]>
Link: openwrt/openwrt#20667
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit f415748)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/le_owrt_prplwrt that referenced this pull request Oct 18, 2026
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 <[email protected]>
Tested-by: Florian Maurer  <[email protected]>
Co-authored-by: Benjamin Berg <[email protected]>
Tested-by: Flole <[email protected]>
Link: openwrt/openwrt#20293
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 8faa9de)
Signed-off-by: Felix Baumann <[email protected]>
Link: openwrt/openwrt#20667
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit f415748)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/le_owrt_prplwrt that referenced this pull request Oct 18, 2026
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 <[email protected]>
Tested-by: Florian Maurer  <[email protected]>
Co-authored-by: Benjamin Berg <[email protected]>
Tested-by: Flole <[email protected]>
Link: openwrt/openwrt#20293
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 8faa9de)
Signed-off-by: Felix Baumann <[email protected]>
Link: openwrt/openwrt#20667
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit f415748)
sKyissKy pushed a commit to sKyissKy/immortalwrt-mt798x-6.6 that referenced this pull request Nov 25, 2026
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 <[email protected]>
Tested-by: Florian Maurer  <[email protected]>
Co-authored-by: Benjamin Berg <[email protected]>
Tested-by: Flole <[email protected]>
Link: openwrt/openwrt#20293
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 8faa9de)
Signed-off-by: Felix Baumann <[email protected]>
Link: openwrt/openwrt#20667
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit f415748)
Reference: https://github.com/immortalwrt/immortalwrt (openwrt-24.10, commit f415748)
Signed-off-by: sKyissKy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core packages pull request/issue for core (in-tree) packages release/24.10 pull request/issue targeted (also) for OpenWrt 24.10 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants