On Tue, Apr 1, 2025 at 9:48 PM Kang Yang <quic_kangyang@xxxxxxxxxxx> wrote: > > > > On 4/2/2025 5:21 AM, Walt Holman wrote: > > On Tue, Apr 1, 2025 at 1:53 PM Jeff Johnson > > <jeff.johnson@xxxxxxxxxxxxxxxx> wrote: > >> > >> On 3/30/2025 7:28 AM, Walt Holman wrote: > >>> Hello, > >>> > >>> I have a wcn7850 hw2.0 based m.2 wireless card in my laptop and am > >>> unable to see or connect to 6Ghz networks. I have an ASUS BE30000 wifi > >>> router setup with a separate 6ghz only network, which my phone and > >>> other laptops can connect to. I'm unable to even see this network on > >>> this particular laptop. Months ago (maybe September), I could see it > >>> occasionally, but now it never shows up. I'm using firmware from > >>> git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git > >>> and track the kernels pretty closely. I'm currently running 6.14.0 > >>> built from source. Any suggestions? Some HW info is below: > >>> > >>> 63:00.0 Network controller: Qualcomm Technologies, Inc WCN785x Wi-Fi > >>> 7(802.11be) 320MHz 2x2 [FastConnect 7800 > >>> ] (rev 01) > >>> Subsystem: Quectel Wireless Solutions Co., Ltd. Device 8000 > >>> Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- > >>> ParErr- Stepping- SERR- FastB2B- DisINTx+ > >>> Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort+ > >>> <TAbort- <MAbort- >SERR- <PERR- INTx- > >>> Latency: 0, Cache Line Size: 64 bytes > >>> Interrupt: pin ? routed to IRQ 111 > >>> IOMMU group: 19 > >>> Region 0: Memory at dd800000 (64-bit, non-prefetchable) [size=2M] > >>> Capabilities: [40] Power Management version 3 > >>> Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA > >>> PME(D0+,D1-,D2-,D3hot+,D3cold+) > >>> Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- > >>> Capabilities: [50] MSI: Enable+ Count=16/32 Maskable+ 64bit- > >>> Address: fee00000 Data: 0000 > >>> Masking: ffff8000 Pending: 00000000 > >>> Capabilities: [70] Express (v2) Endpoint, IntMsgNum 0 > >>> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s > >>> unlimited, L1 unlimited > >>> ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- > >>> SlotPowerLimit 75W TEE-IO- > >>> DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+ > >>> RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ > >>> MaxPayload 128 bytes, MaxReadReq 512 bytes > >>> DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- > >>> AuxPwr+ TransPend- > >>> LnkCap: Port #0, Speed 8GT/s, Width x2, ASPM L0s L1, > >>> Exit Latency L0s <1us, L1 <64us > >>> ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+ > >>> LnkCtl: ASPM L1 Enabled; RCB 64 bytes, LnkDisable- CommClk+ > >>> ExtSynch+ ClockPM- AutWidDis- BWInt- AutBWInt- > >>> LnkSta: Speed 8GT/s, Width x1 (downgraded) > >>> TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- > >>> DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ > >>> NROPrPrP- LTR+ > >>> 10BitTagComp- 10BitTagReq- OBFF Not Supported, > >>> ExtFmt- EETLPPrefix- > >>> EmergencyPowerReduction Not Supported, > >>> EmergencyPowerReductionInit- > >>> FRS- TPHComp+ ExtTPHComp- > >>> AtomicOpsCap: 32bit- 64bit- 128bitCAS- > >>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- > >>> AtomicOpsCtl: ReqEn- > >>> IDOReq- IDOCompl- LTR+ EmergencyPowerReductionReq- > >>> 10BitTagReq- OBFF Disabled, EETLPPrefixBlk- > >>> LnkCap2: Supported Link Speeds: 2.5-8GT/s, Crosslink- > >>> Retimer- 2Retimers- DRS- > >>> LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis- > >>> Transmit Margin: Normal Operating Range, > >>> EnterModifiedCompliance- ComplianceSOS- > >>> Compliance Preset/De-emphasis: -6dB > >>> de-emphasis, 0dB preshoot > >>> LnkSta2: Current De-emphasis Level: -3.5dB, > >>> EqualizationComplete+ EqualizationPhase1+ > >>> EqualizationPhase2+ EqualizationPhase3+ > >>> LinkEqualizationRequest- > >>> Retimer- 2Retimers- CrosslinkRes: unsupported > >>> Capabilities: [100 v2] Advanced Error Reporting > >>> UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- > >>> UnxCmplt- RxOF- MalfTLP- > >>> ECRC- UnsupReq- ACSViol- UncorrIntErr- > >>> BlockedTLP- AtomicOpBlocked- TLPBlockedErr- > >>> PoisonTLPBlocked- DMWrReqBlocked- IDECheck- > >>> MisIDETLP- PCRC_CHECK- TLPXlatBlocked- > >>> UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- > >>> UnxCmplt- RxOF- MalfTLP- > >>> ECRC- UnsupReq- ACSViol- UncorrIntErr+ > >>> BlockedTLP- AtomicOpBlocked- TLPBlockedErr- > >>> PoisonTLPBlocked- DMWrReqBlocked- IDECheck- > >>> MisIDETLP- PCRC_CHECK- TLPXlatBlocked- > >>> UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- > >>> UnxCmplt- RxOF+ MalfTLP+ > >>> ECRC- UnsupReq- ACSViol- UncorrIntErr+ > >>> BlockedTLP- AtomicOpBlocked- TLPBlockedErr- > >>> PoisonTLPBlocked- DMWrReqBlocked- IDECheck- > >>> MisIDETLP- PCRC_CHECK- TLPXlatBlocked- > >>> CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- > >>> AdvNonFatalErr- CorrIntErr- HeaderOF- > >>> CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- > >>> AdvNonFatalErr+ CorrIntErr+ HeaderOF+ > >>> AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- > >>> ECRCChkCap+ ECRCChkEn- > >>> MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- > >>> HeaderLog: 00000000 00000000 00000000 00000000 > >>> Capabilities: [148 v1] Secondary PCI Express > >>> LnkCtl3: LnkEquIntrruptEn- PerformEqu- > >>> LaneErrStat: 0 > >>> Capabilities: [158 v1] Transaction Processing Hints > >>> No steering table available > >>> Capabilities: [1e4 v1] Latency Tolerance Reporting > >>> Max snoop latency: 1048576ns > >>> Max no snoop latency: 1048576ns > >>> Capabilities: [1ec v1] L1 PM Substates > >>> L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ > >>> ASPM_L1.1+ L1_PM_Substates+ > >>> PortCommonModeRestoreTime=70us PortTPowerOnTime=0us > >>> L1SubCtl1: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ > >>> T_CommonMode=0us LTR1.2_Threshold=166912ns > >>> L1SubCtl2: T_PwrOn=90us > >>> Kernel driver in use: ath12k_pci > >>> Kernel modules: ath12k > >>> > >>> root@walt-ROG-zephyrus:~# iw reg get > >>> global > >>> country US: DFS-FCC > >>> (902 - 904 @ 2), (N/A, 30), (N/A) > >>> (904 - 920 @ 16), (N/A, 30), (N/A) > >>> (920 - 928 @ 8), (N/A, 30), (N/A) > >>> (2400 - 2472 @ 40), (N/A, 30), (N/A) > >>> (5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW > >>> (5250 - 5350 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW > >>> (5470 - 5730 @ 160), (N/A, 24), (0 ms), DFS > >>> (5730 - 5850 @ 80), (N/A, 30), (N/A), AUTO-BW > >>> (5850 - 5895 @ 40), (N/A, 27), (N/A), NO-OUTDOOR, AUTO-BW, PASSIVE-SCAN > >>> (5925 - 7125 @ 320), (N/A, 12), (N/A), NO-OUTDOOR, PASSIVE-SCAN > >>> (57240 - 71000 @ 2160), (N/A, 40), (N/A) > >>> > >>> phy#0 (self-managed) > >>> country na: 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 > >>> (5945 - 7125 @ 320), (N/A, 30), (N/A), AUTO-BW, PASSIVE-SCAN > >>> > >> > >> I added the ath12k list to make sure this has the proper attention. > >> Since you are building from source, can you please test with the following patch: > >> https://msgid.link/20250401020840.357-1-quic_kangyang@xxxxxxxxxxx > >> > >> This is in my pending queue. > >> > >> /jeff > >> > > > > Hi Jeff, > > > > No dice on the 6Ghz networks. It fixed up the registration info, but I > > still don't see any 6Ghz networks. Even from an 'iw wlp99s0 scan' > > > > global > > country US: DFS-FCC > > (902 - 904 @ 2), (N/A, 30), (N/A) > > (904 - 920 @ 16), (N/A, 30), (N/A) > > (920 - 928 @ 8), (N/A, 30), (N/A) > > (2400 - 2472 @ 40), (N/A, 30), (N/A) > > (5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW > > (5250 - 5350 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW > > (5470 - 5730 @ 160), (N/A, 24), (0 ms), DFS > > (5730 - 5850 @ 80), (N/A, 30), (N/A), AUTO-BW > > (5850 - 5895 @ 40), (N/A, 27), (N/A), NO-OUTDOOR, AUTO-BW, PASSIVE-SCAN > > (5925 - 7125 @ 320), (N/A, 12), (N/A), NO-OUTDOOR, PASSIVE-SCAN > > (57240 - 71000 @ 2160), (N/A, 40), (N/A) > > > > phy#0 (self-managed) > > country US: DFS-FCC > > (2402 - 2472 @ 40), (6, 30), (N/A) > > (5170 - 5250 @ 80), (6, 24), (N/A), AUTO-BW > > (5250 - 5330 @ 80), (6, 24), (0 ms), DFS, AUTO-BW > > (5490 - 5730 @ 160), (6, 24), (0 ms), DFS, AUTO-BW > > (5735 - 5855 @ 80), (6, 30), (N/A), AUTO-BW > > (5855 - 5925 @ 40), (6, 30), (N/A), NO-OUTDOOR, AUTO-BW > > (5925 - 7125 @ 320), (N/A, 30), (N/A), NO-OUTDOOR, AUTO-BW > > > > > > 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: [ 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, -Walt
Attachment:
wt-ath-bootup.log.gz
Description: application/gzip