Re: [PATCH v2 0/2] wifi: ath9k: fix loss of non-aggregate frames

From: Toke Høiland-Jørgensen

Date: Tue Nov 17 2026 - 04:10:31 EST


Tomas Tonhauser <t.tonhauser@xxxxxxxx> writes:

> Non-aggregate frames (stations without an A-MPDU session, e.g.
> non-WMM ESP8266 clients) are lost on ath9k in two ways:
>
> 1. The hardware filters them (ATH9K_TXERR_FILT) while the station
> is awake, and mac80211 retries a filtered frame only once.
> Patch 1 sets CLRDMASK on every non-aggregate frame.
>
> 2. Frames that exhaust the hardware retry chain are dropped, as
> there is no software retry for non-aggregate frames. Patch 2
> re-queues failed and filtered frames on tid->retry_q, as the
> aggregate path does.
>
> Toke, I know you were not keen on clearing the filter
> unconditionally, so I first tested your suggestion (patch 2) alone.
> On a weak link it did much worse than patch 1 alone, and the two
> together did best. If you would prefer patch 1 limited, e.g. to
> stations that are not sleeping, I can rework it.

So an alternative solution to what appears to be the same problem your
patch 1 is solving appeared:

https://lore.kernel.org/r/20261110170459.31857-1-dominikengelhardt@xxxxxxxxx

Could you please check if this approach works in your tests (with or
without patch 2)?

Thanks!

-Toke