From: Kang Yang <quic_kangyang@quicinc.com>
To: Vasanthakumar Thiagarajan <quic_vthiagar@quicinc.com>,
<ath12k@lists.infradead.org>
Cc: <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH v10 3/4] wifi: ath12k: use correct WMI command to set country code for WCN7850
Date: Thu, 20 Feb 2025 11:09:21 +0800 [thread overview]
Message-ID: <70c3d63c-df03-4956-961e-c7a654568b0b@quicinc.com> (raw)
In-Reply-To: <c7a422b9-55b9-3f03-a89b-6b5e82d8e3c5@quicinc.com>
On 2/19/2025 12:35 PM, Vasanthakumar Thiagarajan wrote:
>
>
> On 2/12/2025 12:01 PM, Kang Yang wrote:
>> From: Wen Gong <quic_wgong@quicinc.com>
>>
>> When userspace try to set country code by NL80211_REGDOM_SET_BY_USER
>> hint(like iw reg set XX), it will pass new country code to ath12k.
>> Then ath12k will set this new country code to firmware by
>> WMI_SET_INIT_COUNTRY_CMDID. But for WCN7850, this WMI command won't
>> take effect.
>>
>> For AP based chips(QCN92xx), WMI_SET_INIT_COUNTRY_CMDID is the correct
>> command. However, for STATION based chips(WCN7850), it need to use
>> WMI_SET_CURRENT_COUNTRY_CMDID.
>>
>> Add flag current_cc_support in hardware parameters. It is used to
>> distinguish AP/STA platform. After that, the firmware will work
>> normal and the regulatory feature works well for WCN7850.
>>
>
> Should this patch be the next in the series right after the patch
> (patch 1/4) that adds WMI command implementation for
> WMI_SET_CURRENT_COUNTRY_CMDID?
Indeed, will change it.
>
> Vasanth
next prev parent reply other threads:[~2025-02-20 3:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-12 6:31 [PATCH v10 0/4] wifi: ath12k: add 11d scan offload support and handle country code for WCN7850 Kang Yang
2025-02-12 6:31 ` [PATCH v10 1/4] wifi: ath12k: add configure " Kang Yang
2025-02-19 4:37 ` Vasanthakumar Thiagarajan
2025-02-12 6:31 ` [PATCH v10 2/4] wifi: ath12k: add 11d scan offload support Kang Yang
2025-02-12 11:19 ` ath_bot_tesseract
2025-02-19 4:47 ` Vasanthakumar Thiagarajan
2025-02-12 6:31 ` [PATCH v10 3/4] wifi: ath12k: use correct WMI command to set country code for WCN7850 Kang Yang
2025-02-12 11:19 ` ath_bot_tesseract
2025-02-19 4:35 ` Vasanthakumar Thiagarajan
2025-02-20 3:09 ` Kang Yang [this message]
2025-02-19 4:49 ` Vasanthakumar Thiagarajan
2025-02-19 4:50 ` Vasanthakumar Thiagarajan
2025-02-12 6:32 ` [PATCH v10 4/4] wifi: ath12k: store and send country code to firmware after recovery Kang Yang
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=70c3d63c-df03-4956-961e-c7a654568b0b@quicinc.com \
--to=quic_kangyang@quicinc.com \
--cc=ath12k@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=quic_vthiagar@quicinc.com \
/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