From: Vasanthakumar Thiagarajan <quic_vthiagar@quicinc.com>
To: Kang Yang <quic_kangyang@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: Wed, 19 Feb 2025 10:20:16 +0530 [thread overview]
Message-ID: <cc0e1b77-8015-e699-a7db-93b01b0c28d9@quicinc.com> (raw)
In-Reply-To: <20250212063200.1631-4-quic_kangyang@quicinc.com>
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.
>
> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
>
> Signed-off-by: Wen Gong <quic_wgong@quicinc.com>
> Signed-off-by: Kang Yang <quic_kangyang@quicinc.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
next prev parent reply other threads:[~2025-02-19 4:50 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
2025-02-19 4:49 ` Vasanthakumar Thiagarajan
2025-02-19 4:50 ` Vasanthakumar Thiagarajan [this message]
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=cc0e1b77-8015-e699-a7db-93b01b0c28d9@quicinc.com \
--to=quic_vthiagar@quicinc.com \
--cc=ath12k@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=quic_kangyang@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