On 8/6/2025 12:00 AM, Zhi-Jun You wrote: > When a STA is marked as no longer authorized, if the driver doesn't > implement flush_sta(), mac80211 calls ieee80211_flush_queues() to > flush hardware queues to avoid sending unencrypted frames. > > This has became a problem for ath10k because ieee80211_flush_queues() > will stop all traffic and call ath10k_flush, which waits until the > whole HW queue is empty. In a busy environment this will trigger a > timeout warning and stalls other STAs. > > Fix this by implementing flush_sta method using WMI command to flush > frames of a specific STA. > Flushed frames will be marked as discard in tx complete indication. > > ops->flush_sta will be set to NULL if htt.disable_tx_comp is set to > true. > > Tested-on: QCA9984 hw1.0 PCI 10.4-3.9.0.2-00157 > > Signed-off-by: Zhi-Jun You <hujy...@gmail.com> > ---
There is already a patch from Remi pending for this, see: https://msgid.link/cover.1732293922.git.r...@triplefau.lt Please see if that series addresses your needs. First Kalle, and then I, held this back due to lack of internal validation across supported platforms, but it is actually still on my TODO list: https://patchwork.kernel.org/project/linux-wireless/list/?series=911851 Let me make one more validation request internally since I know there is at least one ath10k-based project with active development. /jeff