Enabling 6 GHz band in WCN785x
Petros Christopoulos
petros.christopoulos at gmail.com
Tue Aug 12 15:22:11 PDT 2025
Dear Baochen,
I tried the kernel 6.16.0 today (kernel-6.16.0-200.fc42.x86_64.rpm; it
is Fedora kernel test week now) which contains the commit
dcfebfd4c8dc0bec9b6649104cecc09f5978c4cb (=revision
v6.16-rc1~132^2~157^2~16^2~62)
but the behavior regarding the Wifi module WCN785x has not changed:
despite sudo iw reg set DE,
phy#0 remains self managed (see below at the end)
However, the option CONFIG_ATH_REG_DYNAMIC_USER_REG_HINTS is not enabled
in the Fedora kernel, and I have asked the maintainers if this could
be enabled (everything is of course simpler if I do not have to
recompile every kernel myself,
https://bugzilla.redhat.com/show_bug.cgi?id=2387486)
I noticed this option is relevant inside the ath12k code, e.g.
$ grep -r CONFIG_ATH_REG_DYNAMIC_USER_REG_HINTS
drivers/net/wireless/ath/ath12k/
drivers/net/wireless/ath/ath12k/reg.c: if
(!IS_ENABLED(CONFIG_ATH_REG_DYNAMIC_USER_REG_HINTS)) {
Could you please let me know:
1. whether having this option enebled in the kernel is absolutely
necessary for the ability to change the region or there are also
alternatives?
2. whether if this option is enabled with kernel 6.16.0 (with the commit
above), I should be able to change the region of the WCN785x module with
a simple sudo iw reg set DE, or whether still another special method
will be necessary?
Thank you very much and kind regards
Petros
global
country DE: DFS-ETSI
(2400 - 2483 @ 40), (N/A, 20), (N/A)
(5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
(5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
(5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
(5725 - 5875 @ 80), (N/A, 13), (N/A)
(5945 - 6425 @ 320), (N/A, 23), (N/A), NO-OUTDOOR
(57000 - 66000 @ 2160), (N/A, 40), (N/A)
phy#0 (self-managed)
country 00: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 20), (N/A, 20), (N/A), PASSIVE-SCAN
(5170 - 5330 @ 160), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5735 - 5895 @ 160), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
On 12.08.2025 05:21, Baochen Qiang wrote:
>
> On 8/10/2025 9:56 PM, Petros Christopoulos wrote:
>> Dear all, I have a Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2
>> [FastConnect 7800] [17cb:1107] (rev 01) Wifi controller
>> with Fedora 42 KDE, latest kernel 6.15.9-201.fc42.x86_64 and recent firmware 0x1108811c
>> fw_build_timestamp 2025-05-17 00:21 fw_build_id
>> QC_IMAGE_VERSION_STRING=WLAN.HMT.1.1.c5-00284.1-QCAHMTSWPL_V1.0_V2.0_SI
>> LICONZ-3
>>
>> The 6 GHz band is disabled, I suspect that the problem is the 00 region setting in phy#1,
>> however as this is "self-managed" I have not managed to change this (iw reg set or an /
>> etc/modprobe.d/ath12k.conf file with "options ath12k country=DE" have no effects).
> Try with CONFIG_ATH_REG_DYNAMIC_USER_REG_HINTS enabled.
>
>> $ iw reg get
>> global
>> country DE: DFS-ETSI
>> (2400 - 2483 @ 40), (N/A, 20), (N/A)
>> (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
>> (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
>> (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
>> (5725 - 5875 @ 80), (N/A, 13), (N/A)
>> (5945 - 6425 @ 320), (N/A, 23), (N/A), NO-OUTDOOR
>> (57000 - 66000 @ 2160), (N/A, 40), (N/A)
>>
>> phy#1 (self-managed)
>> country 00: DFS-UNSET
>> (2402 - 2472 @ 40), (N/A, 20), (N/A)
>> (2457 - 2482 @ 20), (N/A, 20), (N/A), PASSIVE-SCAN
>> (5170 - 5330 @ 160), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
>> (5490 - 5730 @ 160), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
>> (5735 - 5895 @ 160), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
>>
>> I have searched extensively the web, found some relevant articles (e.g. https://
>> patchwork.kernel.org/project/linux-wireless/patch/20250401020840.357-5-
>> quic_kangyang at quicinc.com/, which should be integrated into 6.15.9 if I understand
>> correctly), but still no solution.
> Do you mean with the whole 11D support series merged the issue is still seen?
>
>> I would be grateful for some help.
>>
>> Thank you very much.
>>
>>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4760 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/ath12k/attachments/20250813/1608bf40/attachment-0001.p7s>
More information about the ath12k
mailing list