Linux wireless drivers development
 help / color / mirror / Atom feed
From: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
To: Jeff Johnson <jjohnson@kernel.org>
Cc: linux-wireless@vger.kernel.org, ath12k@lists.infradead.org,
	Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Subject: [PATCH ath-next 0/4] wifi: ath12k: fix timeout while waiting for regulatory update on bring-up
Date: Wed, 29 Jul 2026 15:18:10 +0800	[thread overview]
Message-ID: <20260729-ath12k-regd-wait-timeout-v1-0-504aa6e7e93c@oss.qualcomm.com> (raw)

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

Best regards,
-- 
Baochen Qiang <baochen.qiang@oss.qualcomm.com>


             reply	other threads:[~2026-07-29  7:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-29  7:18 Baochen Qiang [this message]
2026-07-29  7:18 ` [PATCH ath-next 1/4] wifi: ath12k: signal regd update completion when reg event is dropped Baochen Qiang
2026-07-29  7:18 ` [PATCH ath-next 2/4] wifi: ath12k: use per-radio ab in ath12k_mac_hw_register() Baochen Qiang
2026-07-29  7:18 ` [PATCH ath-next 3/4] wifi: ath12k: protect new_alpha2 access with base_lock Baochen Qiang
2026-07-29  7:18 ` [PATCH ath-next 4/4] wifi: ath12k: skip setting country code during registration when unchanged Baochen Qiang
2026-08-05 17:30 ` [PATCH ath-next 0/4] wifi: ath12k: fix timeout while waiting for regulatory update on bring-up Rameshkumar Sundaram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260729-ath12k-regd-wait-timeout-v1-0-504aa6e7e93c@oss.qualcomm.com \
    --to=baochen.qiang@oss.qualcomm.com \
    --cc=ath12k@lists.infradead.org \
    --cc=jjohnson@kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox