Re: [PATCH v2] wifi: ath9k_htc: fix the byte count of a full RMW buffer flush
From: Nerijus Bendžiūnas
Date: Sat Sep 05 2026 - 03:47:12 EST
Please do not apply this patch, and do not send it to stable.
The message is wrong: ar9271_hw_pa_cal() does fill the buffer, with
exactly 15 entries, on every AR9271 reset.
With the size fixed the command is 8 (HTC) + 4 (WMI) + 180 = 192
bytes, three full 64-byte USB packets. The firmware ends a command
only on a short packet, so this one never ends. The next command is
glued to it and the device is dead until power-cycled. An AR9271 hangs
this way on the first interface open.
A v3 follows in a new thread: the size fix plus a cap of 14 entries,
so the buffer can never produce a 192-byte command.
Nerijus