Re: [PATCH ath-next v4 8/8] wifi: ath9k_htc: derive the PHY error filter bits from software state

From: Toke Høiland-Jørgensen

Date: Mon Oct 19 2026 - 16:21:11 EST


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

> ath9k_htc_calcrxfilter() reads the RX filter back from the device to
> preserve the PHY error bits a spectral scan may have set. When that WMI
> read times out it returns all ones, and the recalculated filter forwards
> every PHY error to the host with no scan running.
>
> Set the two bits from the spectral mode instead. A mode written to
> spectral_scan_ctl now sets them at the next filter update, not only at
> the trigger.
>
> Fixes: fb9987d0f748 ("ath9k_htc: Support for AR9271 chipset.")
> Assisted-by: LLM
> Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@xxxxxxxxx>

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