Re: [PATCH ath-next 0/4] wifi: ath12k: fix timeout while waiting for regulatory update on bring-up

Rameshkumar Sundaram <[email protected]>
Newsgroups org.infradead.lists.ath12k,org.kernel.vger.linux-wireless
Message-ID <[email protected]>
On 7/29/2026 12:48 PM, Baochen Qiang wrote:
> On devices that support setting the current country code, the following
> warning is seen during driver bring-up:
> 
>    Timeout while waiting for regulatory update
> 
> This happens when the country to be set during registration is the same as
> the one already applied at boot time: the regulatory event from firmware
> gets dropped without signalling the completion, so the waiter times out.
> 
> Fix it, and also skip setting the country code when it is unchanged.
> 
> ---
> Baochen Qiang (4):
>        wifi: ath12k: signal regd update completion when reg event is dropped
>        wifi: ath12k: use per-radio ab in ath12k_mac_hw_register()
>        wifi: ath12k: protect new_alpha2 access with base_lock
>        wifi: ath12k: skip setting country code during registration when unchanged
> 
>   drivers/net/wireless/ath/ath12k/mac.c | 31 ++++++++++++++++++++++++++-----
>   drivers/net/wireless/ath/ath12k/wmi.c | 11 +++++++++--
>   2 files changed, 35 insertions(+), 7 deletions(-)
> ---
> base-commit: 4fa10e991f77b4c929d1959900a6ed422b9e2ac5
> change-id: 20260721-ath12k-regd-wait-timeout-6403498ae30b
> 
Reviewed-by: Rameshkumar Sundaram <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.