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). > > > If you have sniffer, could please capture packets during testing? > > 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
Attachment:
wt-ath-bootup.log.gz
Description: application/gzip