Re: [PATCH ath-next v4 5/8] wifi: ath9k: clear the PHY error filter when a spectral scan is disabled

From: Toke Høiland-Jørgensen

Date: Mon Oct 19 2026 - 15:20:16 EST


Nerijus Bendžiūnas <nerijus.bendziunas@xxxxxxxxx> writes:

> Triggering a spectral scan sets the PHY error bits in AR_RX_FILTER and
> AR_PHY_ERR and sets AR_RXCFG_ZLFDMA; disabling it clears none of them.
> ath9k_htc carries the hardware bits into every later filter update, so
> an idle device keeps forwarding every PHY error as a zero-length frame.
>
> Clear all three when the scan is disabled, unless radar detection is
> enabled and needs the same bits. AR_RXCFG_ZLFDMA must go too, or the
> frames keep coming.
>
> Fixes: e93d083f42a1 ("ath9k: add spectral scan feature")
> Cc: stable@xxxxxxxxxxxxxxx
> Assisted-by: LLM
> Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@xxxxxxxxx>

Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxx>