Search Linux Wireless

Re: ath12k: No 6GHz Wireless found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 4/10/2025 3:37 AM, Walt Holman wrote:
On Tue, Apr 8, 2025 at 4:17 AM Kang Yang <quic_kangyang@xxxxxxxxxxx> wrote:



On 4/8/2025 1:49 AM, Walt Holman wrote:
Attached is a small packet capture where I did an 'iw wlp99s0 scan'
and also deactivated and reactivated wireless while the scan was
ongoing. Hopefully there's something interesting for you in there.
Also, I've take 3 screenshots showing the configs of the wireless AP
for the 6ghz network. The first screen is just the definition of the
network. No advanced settings are used. The 2nd screen shows the
channels and radio enabled. The 3rd screen has the advanced
(professional) settings for the network. I believe I changed 'Agile
Multiband' to enabled, but other settings are their defaults. Hope
some of this helps. Let me know if you need anything else. Thanks,


Your packets are Ethernet packets. I need wireless packets.


Not sure if you know how to add a seperate monitor interface to capture
6 G channels' packet on your AP(you can google for specific command).


Also, please capture firmware log:

1. sudo apt install trace-cmd
2. sudo trace-cmd record -e ath12k_wmi_diag
3. run test
4. "ctrl c" to stop recording:
Hit Ctrl^C to stop recording
^CCPU0 data recorded at offset=0xdf5000
      2605056 bytes in size
Then share the trace.dat to us.

So you need to:
1. try to capture wireless packets.
2. capture firmware log(trade.data).
3. save kernel/wpa_supplicant/iw logs.





-Walt

On Sun, Apr 6, 2025 at 8:58 PM Kang Yang <quic_kangyang@xxxxxxxxxxx> wrote:



On 4/4/2025 12:04 AM, Walt Holman wrote:
On Thu, Apr 3, 2025 at 3:20 AM Kang Yang <quic_kangyang@xxxxxxxxxxx> wrote:



On 4/3/2025 1:48 AM, Walt Holman wrote:
On Tue, Apr 1, 2025 at 9:48 PM Kang Yang <quic_kangyang@xxxxxxxxxxx> wrote:


Test on 6.14.0-rc5-wt-ath+, with the firmware you used.
I can get 6 GHz AP and connect to it.

ath12k_pci 0000:03:00.0: fw_version 0x100301e1 fw_build_timestamp
2023-12-06 04:05 fw_build_id
QC_IMAGE_VERSION_STRING=WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

yk@yk-Mayan:~$ sudo iw wls1 scan | tee iw_scan.log:
BSS 62:03:7f:12:64:64(on wls1) -- associated
             TSF: 606308271476 usec (7d, 00:25:08)
             freq: 6275
             beacon interval: 100 TUs
             capability: ESS Privacy SpectrumMgmt ShortSlotTime (0x0511)
             signal: -17.00 dBm
             last seen: 52 ms ago
             Information elements from Probe Response frame:
             SSID: MLO-KANG-6G
and other 6 GHz APs:
            SSID: 6G-gxia
            SSID: NETGEAR97-6G
            ……


kernel log:
[88158.033218] wls1: Inserted STA 62:03:7f:12:64:64
[88158.033232] wls1: authenticate with 62:03:7f:12:64:64 (local
address=00:03:7f:37:12:54)
[88158.033242] wls1: send auth to 62:03:7f:12:64:64 (try 1/3)
[88158.041895] wls1: authenticated
[88158.041914] wls1: moving STA 62:03:7f:12:64:64 to state 2
[88158.044291] wls1: determined local STA to be EHT, BW limited to 320 MHz
[88158.045719] wls1: associate with 62:03:7f:12:64:64 (try 1/3)
[88158.067045] wls1: RX AssocResp from 62:03:7f:12:64:64 (capab=0x511
status=0 aid=4)
[88158.089090] wls1: associated

I can even connect to it by Ubuntu GUI.

Can you update to 6.14.0-rc5-wt-ath+ and have a retry? Also please make
sure that your wpa_supplicant/iw support 6 GHz(or directly update to the
latest version).

If you still cannot find 6 GHz AP, you can set debug_mask to 0xffffffff
to get ath12k logs. Then give it to us.


-Walt



OK, I retested with the wt-ath 033125 tagged build. This included the
patch the Jeff suggested I try, but the rest of the tree was clean.
Still no 6ghz Wifi. I'm attaching a log file of the boot and first few
seconds with the debug mask turned on. I noticed that if I rmmod the
module and then modprobe it, it complains about not finding
firmware-2.bin, however, I thought that was only for the qcn based
chip? The HW info from dmesg looks like this:


I cannot find this tag...


    From the log, the 6 GHz channel should work. When scan is triggered, FW
shall send probe req on these channels. If AP send probe resp, station
shall find the AP.




[    6.070282] ath12k_pci 0000:63:00.0: BAR 0 [mem
0xdd800000-0xdd9fffff 64bit]: assigned
[    6.070310] ath12k_pci 0000:63:00.0: enabling device (0000 -> 0002)
[    6.071249] ath12k_pci 0000:63:00.0: MSI vectors: 16
[    6.071254] ath12k_pci 0000:63:00.0: Hardware name: wcn7850 hw2.0
[    6.596331] ath12k_pci 0000:63:00.0: qmi dma allocation failed
(7077888 B type 1), will try later with sma
ll size
[    6.604041] ath12k_pci 0000:63:00.0: chip_id 0x2 chip_family 0x4
board_id 0xff soc_id 0x40170200
[    6.604044] ath12k_pci 0000:63:00.0: fw_version 0x100301e1
fw_build_timestamp 2023-12-06 04:05 fw_build_id
QC_IMAGE_VERSION_STRING=WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-

Also, I noticed when looking through the debug logs there are the
occasional WARNING statements from a BUG it appears. They trace back
to the mac.c file inside the ath12k code. There should be some in the
debug log that's attached. Let me know if I can do anything else.
Thanks,



I have never seen this warning on my upstream setup...Not sure if you
have changed anything or using the correct code base.

Jeff merged this patch-set into ath-202504021602. Can you try on this
branch?

git clone https://git.kernel.org/pub/scm/linux/kernel/git/ath/ath.git/
git pull
git reset --hard ath-202504021602
compile and install...

Also make sure that the firmware you used is from the same folder, don't
mix with other folders:
linux-firmware/ath12k/WCN7850/hw2.0

1. rmmod/insmod(debug_mask=0xffff)
2. iw reg get
3. iw reg set US
4. iw xxx scan
wait and collect logs.

don't do anything else.


Also, can you show me your AP configuration.
If you have another 6 GHz AP, you can have a try(better different brands).


Thanks for testing.

Could you share your AP configuration?



If you have sniffer, could please capture packets during testing?


Can you capture packets during the testing? I need to check probe req
and probe resp.


Thanks!

-Walt

OK, I cloned and built the kernel based on your instructions in your
last email. Originally, the result was identical to my last email,
including the WARNINGS. The .config I use is configured for a fully RT
PREEMPT kernel, which I wondered if that was why I was receiving the
WARNING. So I configured it as a Low Latency PREEMPT Desktop without
the RT_PREEMPT and that eliminated the WARNING. However, still no 6Ghz
networks. The firmware I'm using is straight from kernel.org GIT and I
do a 'make install; make dedup' to install it. I believe it should be
good. Attached is the latest log file.

-Walt




Sorry for the top-post earlier. I can't figure out how to capture the
wireless packets as my chip/driver combo doesn't support monitor mode.

Your AP also cannot capture wireless packets?
log in AP by usbserial or ssh.
Try to enter command line. use iw command to create monitor interface.
Then use tcpdump to capture packets.

I've attached a tarball that contains the trace data and additional
firmware logs from the kernel.log file. Anything else you need, just
ask. Thanks for your help,


Your AP mac address?
Need it to help check the fw log.



-Walt





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux