* wifi: ath12k: Attempting MLO with main (6.15.rc7) for NCM865 / WCN7850 in station mode leads to crash/backtrace
@ 2025-05-30 10:32 Benjamin Eggerstedt
2025-06-01 19:52 ` Benjamin Eggerstedt
0 siblings, 1 reply; 7+ messages in thread
From: Benjamin Eggerstedt @ 2025-05-30 10:32 UTC (permalink / raw)
To: ath12k
[-- Attachment #1: Type: text/plain, Size: 528 bytes --]
Dear ath12k-team,
I’ve attempted to use the new firmware (WLAN.HMT.1.1.c5-00284.1-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3) with the latest 6.15.rc7 (main) yesterday and while the module successfully initialises, the system will crash when I attempt a MLO connection.
I could only take a picture (attached) of what was on the screen (including the overloading of characters, this is really how it was) - as there is no trace of this backtrace in “journalctl -k” for the previous boot (as I have to hard reset the system).
[-- Attachment #2: ath12k-mlo-crash.jpeg --]
[-- Type: image/jpeg, Size: 128634 bytes --]
[-- Attachment #3: Type: text/plain, Size: 472 bytes --]
I can provide you whatever data you want me to take, just kindly indicate what you need. The setup is readily available to me for the coming days and beginning of the coming week (before I’ll travel for business again).
I used wpa_supplicant v2.11 with CONFIG_802.11BE flag set for compiler. When I get time, I’ll try if v2.12-devel brings any improvements.
Please let me know what you need, will be happy to help where I can!
Thanks,
Regards,
Benny
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: wifi: ath12k: Attempting MLO with main (6.15.rc7) for NCM865 / WCN7850 in station mode leads to crash/backtrace
2025-05-30 10:32 Benjamin Eggerstedt
@ 2025-06-01 19:52 ` Benjamin Eggerstedt
2025-06-03 3:01 ` Baochen Qiang
0 siblings, 1 reply; 7+ messages in thread
From: Benjamin Eggerstedt @ 2025-06-01 19:52 UTC (permalink / raw)
To: ath12k
Hi,
I have the following update for you:
a)
- The vanilla v6.15 kernel works with the patch provided by Doug Brewer here: https://0x0.st/s/yfQHTDVDbzo7M5b6dHswjg/83Xm.15 via https://lore.kernel.org/ath12k/CAG0V13QTtGLvqELd90WzV1FF0jgSmA92nkrYR6KL=L1w3mAEYQ@mail.gmail.com/T/#mcc446a505a73a095197bfe8984cde9b875f016ec
- The vanilla v6.15 kernel gets a MLO connection but lost the ability to see 6 GHz, so MLO is limited to band 2.4 + 5 GHz
- The vanilla v6.15 kernel suffers the same PCI errors as the ath-kernel (but it doesn’t lock-up/freeze, when connecting to the wireless)
Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: BAR 0 [mem 0xf7000000-0xf71fffff 64bit]: assigned
Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: enabling device (0000 -> 0002)
Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: MSI vectors: 16
Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: Hardware name: wcn7850 hw2.0
Jun 01 20:48:14 debian kernel: NET: Registered PF_QIPCRTR protocol family
Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: AER: Multiple Uncorrectable (Non-Fatal) error message received from 0000:00:1b.4
Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: PCIe Bus Error: severity=Uncorrectable (Non-Fatal), type=Transaction Layer, (Completer ID)
Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: device [8086:a2eb] error status/mask=00008000/00010000
Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: [15] CmpltAbrt (First)
Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: AER: TLP Header: 0x00000000 0x00000000 0x00000000 0x00000000
Jun 01 20:48:14 debian kernel: mhi mhi0: Requested to power ON
Jun 01 20:48:14 debian kernel: mhi mhi0: Power on setup success
Jun 01 20:48:14 debian kernel: mhi mhi0: Wait for device to enter SBL or Mission mode
...
Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: AER: can't recover (no error_detected callback)
Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: AER: device recovery failed
Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: qmi dma allocation failed (7012352 B type 1), will try later with small size
Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: chip_id 0x2 chip_family 0x4 board_id 0xff soc_id 0x40170200
Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: fw_version 0x1108811c fw_build_timestamp 2025-05-17 00:21 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HMT.1.1.c5-00284.1-QCAHMTS>
Jun 01 20:48:14 debian kernel: r8169 0000:06:00.0: Unable to load firmware rtl_nic/rtl8168h-2.fw (-2)
Jun 01 20:48:15 debian kernel: Generic FE-GE Realtek PHY r8169-0-600:00: attached PHY driver (mii_bus:phy_addr=r8169-0-600:00, irq=MAC)
Jun 01 20:48:15 debian kernel: r8169 0000:06:00.0 enp6s0: Link is Down
Jun 01 20:48:15 debian kernel: ath12k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
...
Jun 01 20:52:18 debian kernel: wlp3s0: authenticate with 88:3c:93:01:ce:40 (local address=f6:05:44:0b:76:f7)
Jun 01 20:52:18 debian kernel: wlp3s0: send auth to 88:3c:93:01:ce:40 (try 1/3)
Jun 01 20:52:18 debian kernel: wlp3s0: authenticate with 88:3c:93:01:ce:40 (local address=f6:05:44:0b:76:f7)
Jun 01 20:52:18 debian kernel: wlp3s0: send auth to 88:3c:93:01:ce:40 (try 1/3)
Jun 01 20:52:18 debian kernel: wlp3s0: authenticated
Jun 01 20:52:18 debian kernel: wlp3s0: associate with 88:3c:93:01:ce:40 (try 1/3)
Jun 01 20:52:18 debian kernel: wlp3s0: RX AssocResp from 88:3c:93:01:ce:40 (capab=0x511 status=0 aid=4)
Jun 01 20:52:18 debian kernel: wlp3s0: [link 0] local address ea:30:57:8e:3e:0e, AP link address 88:3c:93:01:ce:40
Jun 01 20:52:18 debian kernel: wlp3s0: [link 1] local address f6:05:44:0b:76:f7, AP link address 88:3c:93:01:ce:50 (assoc)
Jun 01 20:52:18 debian kernel: wlp3s0: associated
Jun 01 20:52:18 debian kernel: wlp3s0: Limiting TX power to 30 (30 - 0) dBm as advertised by 88:3c:93:01:ce:50
Jun 01 20:53:41 debian kernel: wlp3s0: deauthenticating from 88:3c:93:01:ce:40 by local choice (Reason: 3=DEAUTH_LEAVING)
Jun 01 20:56:06 debian kernel: wlp3s0: authenticate with 88:3c:93:01:ce:40 (local address=4e:48:ef:30:ed:17)
Jun 01 20:56:06 debian kernel: wlp3s0: send auth to 88:3c:93:01:ce:40 (try 1/3)
Jun 01 20:56:06 debian kernel: wlp3s0: authenticate with 88:3c:93:01:ce:40 (local address=4e:48:ef:30:ed:17)
Jun 01 20:56:06 debian kernel: wlp3s0: send auth to 88:3c:93:01:ce:40 (try 1/3)
Jun 01 20:56:06 debian kernel: wlp3s0: authenticated
Jun 01 20:56:06 debian kernel: wlp3s0: associate with 88:3c:93:01:ce:40 (try 1/3)
Jun 01 20:56:06 debian kernel: wlp3s0: RX AssocResp from 88:3c:93:01:ce:40 (capab=0x511 status=0 aid=4)
Jun 01 20:56:06 debian kernel: wlp3s0: [link 0] local address ca:a7:b2:c3:ce:ee, AP link address 88:3c:93:01:ce:40
Jun 01 20:56:06 debian kernel: wlp3s0: [link 1] local address 4e:48:ef:30:ed:17, AP link address 88:3c:93:01:ce:50 (assoc)
Jun 01 20:56:06 debian kernel: wlp3s0: associated
Jun 01 20:56:06 debian kernel: wlp3s0: Limiting TX power to 30 (30 - 0) dBm as advertised by 88:3c:93:01:ce:50
Jun 01 21:23:43 debian kernel: wlp3s0: deauthenticating from 88:3c:93:01:ce:40 by local choice (Reason: 3=DEAUTH_LEAVING)
Jun 01 21:23:43 debian kernel: ath12k_pci 0000:03:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE, tid 14 (-105)
Jun 01 21:23:43 debian kernel: ath12k_pci 0000:03:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 16 (-105)
$ lspci -tv
-[0000:00]-+-00.0 Intel Corporation 8th Gen Core 4-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S]
+-02.0 Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630]
+-08.0 Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
+-14.0 Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
+-16.0 Intel Corporation 200 Series PCH CSME HECI #1
+-17.0 Intel Corporation 200 Series PCH SATA controller [AHCI mode]
+-1b.0-[01]--
+-1b.3-[02]--
+-1b.4-[03]----00.0 Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800]
+-1c.0-[04]--
+-1c.3-[05]--
+-1c.4-[06]----00.0 Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
+-1c.5-[07]--
+-1c.6-[08]--
+-1c.7-[09]--
+-1d.0-[0a]----00.0 Lite-On IT Corp. / Plextor M6e PCI Express SSD [Marvell 88SS9183]
+-1f.0 Intel Corporation Device a2cc
+-1f.2 Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
+-1f.3 Intel Corporation 200 Series PCH HD Audio
\-1f.4 Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller
$ lspci -vvv
03: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 139
Region 0: Memory at f7000000 (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: fee00618 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 25W 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 Disabled; 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: -6dB, 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: 3145728ns
Max no snoop latency: 3145728ns
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=0ns
L1SubCtl2: T_PwrOn=44us
Kernel driver in use: ath12k_pci
Kernel modules: ath12k
b)
- The crash/backtrace is limited to the kernels that originate from https://git.kernel.org/pub/scm/linux/kernel/git/ath/ath.git
- I remember that I suffered the same crash (the system simply entirely freezes) when attempting to use an Intel BE200
- The issue remained the same with wpa_supplicant v2.12-devel-hostap_2_11-873-gb01c4843b
- I’m happy to provide any logs or try things from the ath-branches, if you tell me what you need or want me to test
Thanks,
Regards,
Benny
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: wifi: ath12k: Attempting MLO with main (6.15.rc7) for NCM865 / WCN7850 in station mode leads to crash/backtrace
2025-06-01 19:52 ` Benjamin Eggerstedt
@ 2025-06-03 3:01 ` Baochen Qiang
2025-06-03 7:39 ` Baochen Qiang
2025-06-09 15:56 ` Benjamin Eggerstedt
0 siblings, 2 replies; 7+ messages in thread
From: Baochen Qiang @ 2025-06-03 3:01 UTC (permalink / raw)
To: Benjamin Eggerstedt, ath12k
On 6/2/2025 3:52 AM, Benjamin Eggerstedt wrote:
> Hi,
>
> I have the following update for you:
>
> a)
> - The vanilla v6.15 kernel works with the patch provided by Doug Brewer here: https://0x0.st/s/yfQHTDVDbzo7M5b6dHswjg/83Xm.15 via https://lore.kernel.org/ath12k/CAG0V13QTtGLvqELd90WzV1FF0jgSmA92nkrYR6KL=L1w3mAEYQ@mail.gmail.com/T/#mcc446a505a73a095197bfe8984cde9b875f016ec
Yeah, the WCN7850 MLO patches does not reach v6.15. Doug rebased them agaist v6.15 so MLO
should work with them applied.
> - The vanilla v6.15 kernel gets a MLO connection but lost the ability to see 6 GHz, so MLO is limited to band 2.4 + 5 GHz
This is a known iusse and the fix has landed in latest mianline kernel, could you have a try?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d662c14a51910ba0ad66afd248b601ba30b9f7f1
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=37e775a0a9d79a031d28d9e21480f99f448e9215
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=886bb3624e4c9914a943b63fcfdf30b8d2f2b66e
> - The vanilla v6.15 kernel suffers the same PCI errors as the ath-kernel (but it doesn’t lock-up/freeze, when connecting to the wireless)
>
> Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: BAR 0 [mem 0xf7000000-0xf71fffff 64bit]: assigned
> Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: enabling device (0000 -> 0002)
> Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: MSI vectors: 16
> Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: Hardware name: wcn7850 hw2.0
> Jun 01 20:48:14 debian kernel: NET: Registered PF_QIPCRTR protocol family
> Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: AER: Multiple Uncorrectable (Non-Fatal) error message received from 0000:00:1b.4
> Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: PCIe Bus Error: severity=Uncorrectable (Non-Fatal), type=Transaction Layer, (Completer ID)
> Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: device [8086:a2eb] error status/mask=00008000/00010000
> Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: [15] CmpltAbrt (First)
> Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: AER: TLP Header: 0x00000000 0x00000000 0x00000000 0x00000000
> Jun 01 20:48:14 debian kernel: mhi mhi0: Requested to power ON
> Jun 01 20:48:14 debian kernel: mhi mhi0: Power on setup success
> Jun 01 20:48:14 debian kernel: mhi mhi0: Wait for device to enter SBL or Mission mode
> ...
> Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: AER: can't recover (no error_detected callback)
> Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: AER: device recovery failed
> Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: qmi dma allocation failed (7012352 B type 1), will try later with small size
> Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: chip_id 0x2 chip_family 0x4 board_id 0xff soc_id 0x40170200
> Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: fw_version 0x1108811c fw_build_timestamp 2025-05-17 00:21 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HMT.1.1.c5-00284.1-QCAHMTS>
> Jun 01 20:48:14 debian kernel: r8169 0000:06:00.0: Unable to load firmware rtl_nic/rtl8168h-2.fw (-2)
> Jun 01 20:48:15 debian kernel: Generic FE-GE Realtek PHY r8169-0-600:00: attached PHY driver (mii_bus:phy_addr=r8169-0-600:00, irq=MAC)
> Jun 01 20:48:15 debian kernel: r8169 0000:06:00.0 enp6s0: Link is Down
> Jun 01 20:48:15 debian kernel: ath12k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
> ...
> Jun 01 20:52:18 debian kernel: wlp3s0: authenticate with 88:3c:93:01:ce:40 (local address=f6:05:44:0b:76:f7)
> Jun 01 20:52:18 debian kernel: wlp3s0: send auth to 88:3c:93:01:ce:40 (try 1/3)
> Jun 01 20:52:18 debian kernel: wlp3s0: authenticate with 88:3c:93:01:ce:40 (local address=f6:05:44:0b:76:f7)
> Jun 01 20:52:18 debian kernel: wlp3s0: send auth to 88:3c:93:01:ce:40 (try 1/3)
> Jun 01 20:52:18 debian kernel: wlp3s0: authenticated
> Jun 01 20:52:18 debian kernel: wlp3s0: associate with 88:3c:93:01:ce:40 (try 1/3)
> Jun 01 20:52:18 debian kernel: wlp3s0: RX AssocResp from 88:3c:93:01:ce:40 (capab=0x511 status=0 aid=4)
> Jun 01 20:52:18 debian kernel: wlp3s0: [link 0] local address ea:30:57:8e:3e:0e, AP link address 88:3c:93:01:ce:40
> Jun 01 20:52:18 debian kernel: wlp3s0: [link 1] local address f6:05:44:0b:76:f7, AP link address 88:3c:93:01:ce:50 (assoc)
> Jun 01 20:52:18 debian kernel: wlp3s0: associated
> Jun 01 20:52:18 debian kernel: wlp3s0: Limiting TX power to 30 (30 - 0) dBm as advertised by 88:3c:93:01:ce:50
> Jun 01 20:53:41 debian kernel: wlp3s0: deauthenticating from 88:3c:93:01:ce:40 by local choice (Reason: 3=DEAUTH_LEAVING)
> Jun 01 20:56:06 debian kernel: wlp3s0: authenticate with 88:3c:93:01:ce:40 (local address=4e:48:ef:30:ed:17)
> Jun 01 20:56:06 debian kernel: wlp3s0: send auth to 88:3c:93:01:ce:40 (try 1/3)
> Jun 01 20:56:06 debian kernel: wlp3s0: authenticate with 88:3c:93:01:ce:40 (local address=4e:48:ef:30:ed:17)
> Jun 01 20:56:06 debian kernel: wlp3s0: send auth to 88:3c:93:01:ce:40 (try 1/3)
> Jun 01 20:56:06 debian kernel: wlp3s0: authenticated
> Jun 01 20:56:06 debian kernel: wlp3s0: associate with 88:3c:93:01:ce:40 (try 1/3)
> Jun 01 20:56:06 debian kernel: wlp3s0: RX AssocResp from 88:3c:93:01:ce:40 (capab=0x511 status=0 aid=4)
> Jun 01 20:56:06 debian kernel: wlp3s0: [link 0] local address ca:a7:b2:c3:ce:ee, AP link address 88:3c:93:01:ce:40
> Jun 01 20:56:06 debian kernel: wlp3s0: [link 1] local address 4e:48:ef:30:ed:17, AP link address 88:3c:93:01:ce:50 (assoc)
> Jun 01 20:56:06 debian kernel: wlp3s0: associated
> Jun 01 20:56:06 debian kernel: wlp3s0: Limiting TX power to 30 (30 - 0) dBm as advertised by 88:3c:93:01:ce:50
> Jun 01 21:23:43 debian kernel: wlp3s0: deauthenticating from 88:3c:93:01:ce:40 by local choice (Reason: 3=DEAUTH_LEAVING)
> Jun 01 21:23:43 debian kernel: ath12k_pci 0000:03:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE, tid 14 (-105)
> Jun 01 21:23:43 debian kernel: ath12k_pci 0000:03:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 16 (-105)
>
> $ lspci -tv
> -[0000:00]-+-00.0 Intel Corporation 8th Gen Core 4-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S]
> +-02.0 Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630]
> +-08.0 Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
> +-14.0 Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
> +-16.0 Intel Corporation 200 Series PCH CSME HECI #1
> +-17.0 Intel Corporation 200 Series PCH SATA controller [AHCI mode]
> +-1b.0-[01]--
> +-1b.3-[02]--
> +-1b.4-[03]----00.0 Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800]
> +-1c.0-[04]--
> +-1c.3-[05]--
> +-1c.4-[06]----00.0 Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
> +-1c.5-[07]--
> +-1c.6-[08]--
> +-1c.7-[09]--
> +-1d.0-[0a]----00.0 Lite-On IT Corp. / Plextor M6e PCI Express SSD [Marvell 88SS9183]
> +-1f.0 Intel Corporation Device a2cc
> +-1f.2 Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
> +-1f.3 Intel Corporation 200 Series PCH HD Audio
> \-1f.4 Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller
>
> $ lspci -vvv
>
> 03: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 139
> Region 0: Memory at f7000000 (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: fee00618 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 25W 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 Disabled; 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: -6dB, 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: 3145728ns
> Max no snoop latency: 3145728ns
> 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=0ns
> L1SubCtl2: T_PwrOn=44us
> Kernel driver in use: ath12k_pci
> Kernel modules: ath12k
>
Strange ...
To what kind a PCIe slot is WCN7850 attached? is it a standard/dedicated M.2 interface? It
is common there is a dedicated WLAN M.2 interface on mother board, can you check and try
if there indeed is?
> b)
> - The crash/backtrace is limited to the kernels that originate from https://git.kernel.org/pub/scm/linux/kernel/git/ath/ath.git
Could you provide the ath kernel tag (like ath-202505221654) with which you see the crash?
> - I remember that I suffered the same crash (the system simply entirely freezes) when attempting to use an Intel BE200
> - The issue remained the same with wpa_supplicant v2.12-devel-hostap_2_11-873-gb01c4843b
OK, then it seems like some other issue there
> - I’m happy to provide any logs or try things from the ath-branches, if you tell me what you need or want me to test
>
Thanks, appritiate.
> Thanks,
> Regards,
> Benny
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: wifi: ath12k: Attempting MLO with main (6.15.rc7) for NCM865 / WCN7850 in station mode leads to crash/backtrace
2025-06-03 3:01 ` Baochen Qiang
@ 2025-06-03 7:39 ` Baochen Qiang
2025-06-09 15:56 ` Benjamin Eggerstedt
1 sibling, 0 replies; 7+ messages in thread
From: Baochen Qiang @ 2025-06-03 7:39 UTC (permalink / raw)
To: Benjamin Eggerstedt, ath12k
On 6/3/2025 11:01 AM, Baochen Qiang wrote:
>> - The vanilla v6.15 kernel gets a MLO connection but lost the ability to see 6 GHz, so MLO is limited to band 2.4 + 5 GHz
> This is a known iusse and the fix has landed in latest mianline kernel, could you have a try?
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?
> id=d662c14a51910ba0ad66afd248b601ba30b9f7f1
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?
> id=37e775a0a9d79a031d28d9e21480f99f448e9215
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?
> id=886bb3624e4c9914a943b63fcfdf30b8d2f2b66e
Forget to say, WCN7850 firmware support no more than 2 links in an MLO connection.
Currently host does not limit on the number of MLO links, that said, with above 3 patches
applied you will see all 3 links, and then a firmware crash is expected. Well... there
might be resulting kernel crash as well.
We have a series pending review which add limit on the number of links could be finally
established:
https://patchwork.kernel.org/project/linux-wireless/cover/20250522-ath12k-sbs-dbs-v1-0-54a29e7a3a88@quicinc.com/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: wifi: ath12k: Attempting MLO with main (6.15.rc7) for NCM865 / WCN7850 in station mode leads to crash/backtrace
2025-06-03 3:01 ` Baochen Qiang
2025-06-03 7:39 ` Baochen Qiang
@ 2025-06-09 15:56 ` Benjamin Eggerstedt
1 sibling, 0 replies; 7+ messages in thread
From: Benjamin Eggerstedt @ 2025-06-09 15:56 UTC (permalink / raw)
To: Baochen Qiang; +Cc: ath12k
Dear Baochen Qiang, All,
Thanks for your responses! I travelled the past couple of days, thus could only test today.
Your input is much appreciated, as I could make it work as you suggested.
Should I see EMLSR support?
I noticed that “iw” output no longer has a TX nor RX Rate:
debadm@debian:~$ sudo iw dev wlp3s0 station dump
Station 88:3c:93:01:ce:40 (on wlp3s0)
inactive time: 5516 ms
rx bytes: 22028457
rx packets: 252577
tx bytes: 5495523630
tx packets: 3582735
tx retries: 0
tx failed: 0
beacon loss: 0
beacon rx: 0
rx drop misc: 14586
signal: -128 dBm
signal avg: 0 dBm
beacon signal avg: 0 dBm
tx duration: 0 us
rx duration: 0 us
authorized: yes
authenticated: yes
associated: yes
preamble: long
WMM/WME: yes
MFP: yes
TDLS peer: no
DTIM period: 0
beacon interval:0
connected time: 375 seconds
associated at [boottime]: 251.514s
associated at: 1749480430699 ms
current time: 1749480805845 ms
How should I determine MCS when this output is missing?
> On 3. Jun 2025, at 05:01, Baochen Qiang <quic_bqiang@quicinc.com> wrote:
>
>
>
> On 6/2/2025 3:52 AM, Benjamin Eggerstedt wrote:
>> Hi,
>>
>> I have the following update for you:
>>
>> a)
>> - The vanilla v6.15 kernel works with the patch provided by Doug Brewer here: https://0x0.st/s/yfQHTDVDbzo7M5b6dHswjg/83Xm.15 via https://lore.kernel.org/ath12k/CAG0V13QTtGLvqELd90WzV1FF0jgSmA92nkrYR6KL=L1w3mAEYQ@mail.gmail.com/T/#mcc446a505a73a095197bfe8984cde9b875f016ec
>
> Yeah, the WCN7850 MLO patches does not reach v6.15. Doug rebased them agaist v6.15 so MLO
> should work with them applied.
OK
>
>> - The vanilla v6.15 kernel gets a MLO connection but lost the ability to see 6 GHz, so MLO is limited to band 2.4 + 5 GHz
>
> This is a known iusse and the fix has landed in latest mianline kernel, could you have a try?
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d662c14a51910ba0ad66afd248b601ba30b9f7f1
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=37e775a0a9d79a031d28d9e21480f99f448e9215
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=886bb3624e4c9914a943b63fcfdf30b8d2f2b66e
>
>
>> - The vanilla v6.15 kernel suffers the same PCI errors as the ath-kernel (but it doesn’t lock-up/freeze, when connecting to the wireless)
>>
>> Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: BAR 0 [mem 0xf7000000-0xf71fffff 64bit]: assigned
>> Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: enabling device (0000 -> 0002)
>> Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: MSI vectors: 16
>> Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: Hardware name: wcn7850 hw2.0
>> Jun 01 20:48:14 debian kernel: NET: Registered PF_QIPCRTR protocol family
>> Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: AER: Multiple Uncorrectable (Non-Fatal) error message received from 0000:00:1b.4
>> Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: PCIe Bus Error: severity=Uncorrectable (Non-Fatal), type=Transaction Layer, (Completer ID)
>> Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: device [8086:a2eb] error status/mask=00008000/00010000
>> Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: [15] CmpltAbrt (First)
>> Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: AER: TLP Header: 0x00000000 0x00000000 0x00000000 0x00000000
>> Jun 01 20:48:14 debian kernel: mhi mhi0: Requested to power ON
>> Jun 01 20:48:14 debian kernel: mhi mhi0: Power on setup success
>> Jun 01 20:48:14 debian kernel: mhi mhi0: Wait for device to enter SBL or Mission mode
>> ...
The above mentioned pcieport error is not seen in ath-current-20250608
>> Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: AER: can't recover (no error_detected callback)
>> Jun 01 20:48:14 debian kernel: pcieport 0000:00:1b.4: AER: device recovery failed
>> Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: qmi dma allocation failed (7012352 B type 1), will try later with small size
>> Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: chip_id 0x2 chip_family 0x4 board_id 0xff soc_id 0x40170200
>> Jun 01 20:48:14 debian kernel: ath12k_pci 0000:03:00.0: fw_version 0x1108811c fw_build_timestamp 2025-05-17 00:21 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HMT.1.1.c5-00284.1-QCAHMTS>
>> Jun 01 20:48:14 debian kernel: r8169 0000:06:00.0: Unable to load firmware rtl_nic/rtl8168h-2.fw (-2)
>> Jun 01 20:48:15 debian kernel: Generic FE-GE Realtek PHY r8169-0-600:00: attached PHY driver (mii_bus:phy_addr=r8169-0-600:00, irq=MAC)
>> Jun 01 20:48:15 debian kernel: r8169 0000:06:00.0 enp6s0: Link is Down
>> Jun 01 20:48:15 debian kernel: ath12k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
>> ...
>> Jun 01 20:52:18 debian kernel: wlp3s0: authenticate with 88:3c:93:01:ce:40 (local address=f6:05:44:0b:76:f7)
>> Jun 01 20:52:18 debian kernel: wlp3s0: send auth to 88:3c:93:01:ce:40 (try 1/3)
>> Jun 01 20:52:18 debian kernel: wlp3s0: authenticate with 88:3c:93:01:ce:40 (local address=f6:05:44:0b:76:f7)
>> Jun 01 20:52:18 debian kernel: wlp3s0: send auth to 88:3c:93:01:ce:40 (try 1/3)
>> Jun 01 20:52:18 debian kernel: wlp3s0: authenticated
>> Jun 01 20:52:18 debian kernel: wlp3s0: associate with 88:3c:93:01:ce:40 (try 1/3)
>> Jun 01 20:52:18 debian kernel: wlp3s0: RX AssocResp from 88:3c:93:01:ce:40 (capab=0x511 status=0 aid=4)
>> Jun 01 20:52:18 debian kernel: wlp3s0: [link 0] local address ea:30:57:8e:3e:0e, AP link address 88:3c:93:01:ce:40
>> Jun 01 20:52:18 debian kernel: wlp3s0: [link 1] local address f6:05:44:0b:76:f7, AP link address 88:3c:93:01:ce:50 (assoc)
>> Jun 01 20:52:18 debian kernel: wlp3s0: associated
>> Jun 01 20:52:18 debian kernel: wlp3s0: Limiting TX power to 30 (30 - 0) dBm as advertised by 88:3c:93:01:ce:50
>> Jun 01 20:53:41 debian kernel: wlp3s0: deauthenticating from 88:3c:93:01:ce:40 by local choice (Reason: 3=DEAUTH_LEAVING)
>> Jun 01 20:56:06 debian kernel: wlp3s0: authenticate with 88:3c:93:01:ce:40 (local address=4e:48:ef:30:ed:17)
>> Jun 01 20:56:06 debian kernel: wlp3s0: send auth to 88:3c:93:01:ce:40 (try 1/3)
>> Jun 01 20:56:06 debian kernel: wlp3s0: authenticate with 88:3c:93:01:ce:40 (local address=4e:48:ef:30:ed:17)
>> Jun 01 20:56:06 debian kernel: wlp3s0: send auth to 88:3c:93:01:ce:40 (try 1/3)
>> Jun 01 20:56:06 debian kernel: wlp3s0: authenticated
>> Jun 01 20:56:06 debian kernel: wlp3s0: associate with 88:3c:93:01:ce:40 (try 1/3)
>> Jun 01 20:56:06 debian kernel: wlp3s0: RX AssocResp from 88:3c:93:01:ce:40 (capab=0x511 status=0 aid=4)
>> Jun 01 20:56:06 debian kernel: wlp3s0: [link 0] local address ca:a7:b2:c3:ce:ee, AP link address 88:3c:93:01:ce:40
>> Jun 01 20:56:06 debian kernel: wlp3s0: [link 1] local address 4e:48:ef:30:ed:17, AP link address 88:3c:93:01:ce:50 (assoc)
>> Jun 01 20:56:06 debian kernel: wlp3s0: associated
>> Jun 01 20:56:06 debian kernel: wlp3s0: Limiting TX power to 30 (30 - 0) dBm as advertised by 88:3c:93:01:ce:50
>> Jun 01 21:23:43 debian kernel: wlp3s0: deauthenticating from 88:3c:93:01:ce:40 by local choice (Reason: 3=DEAUTH_LEAVING)
>> Jun 01 21:23:43 debian kernel: ath12k_pci 0000:03:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE, tid 14 (-105)
>> Jun 01 21:23:43 debian kernel: ath12k_pci 0000:03:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 16 (-105)
>>
>> $ lspci -tv
>> -[0000:00]-+-00.0 Intel Corporation 8th Gen Core 4-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S]
>> +-02.0 Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630]
>> +-08.0 Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
>> +-14.0 Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
>> +-16.0 Intel Corporation 200 Series PCH CSME HECI #1
>> +-17.0 Intel Corporation 200 Series PCH SATA controller [AHCI mode]
>> +-1b.0-[01]--
>> +-1b.3-[02]--
>> +-1b.4-[03]----00.0 Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800]
>> +-1c.0-[04]--
>> +-1c.3-[05]--
>> +-1c.4-[06]----00.0 Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
>> +-1c.5-[07]--
>> +-1c.6-[08]--
>> +-1c.7-[09]--
>> +-1d.0-[0a]----00.0 Lite-On IT Corp. / Plextor M6e PCI Express SSD [Marvell 88SS9183]
>> +-1f.0 Intel Corporation Device a2cc
>> +-1f.2 Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
>> +-1f.3 Intel Corporation 200 Series PCH HD Audio
>> \-1f.4 Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller
>>
>> $ lspci -vvv
>>
>> 03: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 139
>> Region 0: Memory at f7000000 (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: fee00618 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 25W 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 Disabled; 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: -6dB, 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: 3145728ns
>> Max no snoop latency: 3145728ns
>> 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=0ns
>> L1SubCtl2: T_PwrOn=44us
>> Kernel driver in use: ath12k_pci
>> Kernel modules: ath12k
>>
>
> Strange ...
>
> To what kind a PCIe slot is WCN7850 attached? is it a standard/dedicated M.2 interface? It
> is common there is a dedicated WLAN M.2 interface on mother board, can you check and try
> if there indeed is?
I have no WLAN M.2 Slot on this board, thus I’m using a PCIe X4 to M-Key card and then an adapter to convert M-Key to A/E-Key (which unfortunately only appears to support x1 instead of x2).
USB is broken out and attached to USB-Pins on the mainboard. I know this may not be optimal, but it works.
>
>> b)
>> - The crash/backtrace is limited to the kernels that originate from https://git.kernel.org/pub/scm/linux/kernel/git/ath/ath.git
>
> Could you provide the ath kernel tag (like ath-202505221654) with which you see the crash?
I can confirm that the issue is NOT seen in ath-current-20250608
$ git clone --depth 1 --branch ath-current-20250608 git://git.kernel.org/pub/scm/linux/kernel/git/ath/ath.git
I applied https://0x0.st/8g7F.diff against ath-current-20250608 and MLO works fine, including 6 GHz.
support@AP-CE:40:~$ ssudo sta_list
SSID:Stellar-Wi-Fi-7-Pi
STA_MAC IPv4 IPv6 OnlineTime RX TX FREQ AUTH Final_role VLANID TUNNELID FARENDIP
fa:77:78:41:f7:a6 192.168.2.122 661 35842175 45738 2.4GHz PSK_WPA3 __Stellar-Wi-Fi-7-Pi 0 0
SSID:Stellar-Wi-Fi-7-Pi
STA_MAC IPv4 IPv6 OnlineTime RX TX FREQ AUTH Final_role VLANID TUNNELID FARENDIP
fa:bc:8e:24:9d:c2 192.168.2.122 661 5384980129 15013137 6GHz PSK_WPA3 __Stellar-Wi-Fi-7-Pi 0 0
SSID:Stellar-Wi-Fi-7-Pi
STA_MAC IPv4 IPv6 OnlineTime RX TX FREQ AUTH Final_role VLANID TUNNELID FARENDIP
06:e6:a8:4e:33:76 192.168.2.122 661 0 0 5GHz PSK_WPA3 __Stellar-Wi-Fi-7-Pi 0 0
support@AP-CE:40:~$ ssudo wlanconfig mld1 list
==== STA Info From Link: ath001 =======
ADDR AID CHAN TXRATE RXRATE RSSI MINRSSI MAXRSSI IDLE TXSEQ RXSEQ CAPS XCAPS ACAPS ERP STATE MAXRATE(DOT11) HTCAPS VHTCAPS ASSOCTIME IEs MODE RXNSS TXNSS PSMODE
fa:77:78:41:f7:a6 4 1 6M 137M -10 -95 -10 68 0 65535 PSs EWBQ NULL 0 f 344200 AWRSM 1gGTRs 00:11:17 RSN WME IEEE80211_MODE_11BEG_EHT20 2 2 1
RSSI is combined over chains in dBm
Minimum Tx Power : 0
Maximum Tx Power : 0
HT Capability : Yes
VHT Capability : No
MU capable : Yes
SNR : 85
Operating band : 2.4GHz
Current Operating class : 131
Supported Operating classes : 81 83 84 115 116 117 118 119 120 121 122 123 124 125 126 127 128 131 132 133 134 137 130 128 135 133
Supported Rates(Mbps) : 1 2 5 6 9 11 12 18 24 36 48 54
Max STA phymode : IEEE80211_MODE_11BEG_EHT20
MLO : Yes
MLD Addr : 50:cf:14:8e:e3:d1
Num Partner links : 2
Partner link 0: ADDR :fa:bc:8e:24:9d:c2, Link ID: 2 Bridge link: 0
Partner link 1: ADDR :06:e6:a8:4e:33:76, Link ID: 1 Bridge link: 0
EMLSR capable : No
EMLMR capable : No
STR capable : Yes
==== STA Info From Link: ath101 =======
ADDR AID CHAN TXRATE RXRATE RSSI MINRSSI MAXRSSI IDLE TXSEQ RXSEQ CAPS XCAPS ACAPS ERP STATE MAXRATE(DOT11) HTCAPS VHTCAPS ASSOCTIME IEs MODE RXNSS TXNSS PSMODE
06:e6:a8:4e:33:76 4 100 6M 0M -95 -95 -95 68 0 65535 PSs EWBQ NULL 0 b 1441200 AWRSM 1gGTRs 00:11:17 RSN WME IEEE80211_MODE_11BEA_EHT80 2 2 1
RSSI is combined over chains in dBm
Minimum Tx Power : 0
Maximum Tx Power : 30
HT Capability : Yes
VHT Capability : Yes
MU capable : Yes
SNR : 0
Operating band : 5GHz
Current Operating class : 131
Supported Operating classes : 81 83 84 115 116 117 118 119 120 121 122 123 124 125 126 127 128 131 132 133 134 137 130 128 135 133
Supported Rates(Mbps) : 6 9 12 18 24 36 48 54
Max STA phymode : IEEE80211_MODE_11BEA_EHT80
MLO : Yes
MLD Addr : 50:cf:14:8e:e3:d1
Num Partner links : 2
Partner link 0: ADDR :fa:bc:8e:24:9d:c2, Link ID: 2 Bridge link: 0
Partner link 1: ADDR :fa:77:78:41:f7:a6, Link ID: 0 Bridge link: 0
EMLSR capable : No
EMLMR capable : No
STR capable : Yes
==== STA Info From Link: ath201 =======
ADDR AID CHAN TXRATE RXRATE RSSI MINRSSI MAXRSSI IDLE TXSEQ RXSEQ CAPS XCAPS ACAPS ERP STATE MAXRATE(DOT11) HTCAPS VHTCAPS ASSOCTIME IEs MODE RXNSS TXNSS PSMODE
fa:bc:8e:24:9d:c2 4 5 3843M 17M -36 -45 -23 68 0 65535 P EWBQ NULL 0 3 5764800 Q 00 00:11:17 RSN WME IEEE80211_MODE_11BEA_EHT320 2 2 0
RSSI is combined over chains in dBm
Minimum Tx Power : 0
Maximum Tx Power : 23
HT Capability : No
VHT Capability : No
MU capable : Yes
SNR : 57
Operating band : 6GHz
Current Operating class : 131
Supported Operating classes : 81 83 84 115 116 117 118 119 120 121 122 123 124 125 126 127 128 131 132 133 134 137 130 128 135 133
Supported Rates(Mbps) : 6 9 12 18 24 36 48 54
Max STA phymode : IEEE80211_MODE_11BEA_EHT320
MLO : Yes
MLD Addr : 50:cf:14:8e:e3:d1
Num Partner links : 2
Partner link 0: ADDR :fa:77:78:41:f7:a6, Link ID: 0 Bridge link: 0
Partner link 1: ADDR :06:e6:a8:4e:33:76, Link ID: 1 Bridge link: 0
EMLSR capable : No
EMLMR capable : No
STR capable : Yes
###
debadm@debian:~$ sudo iw dev wlp3s0 info
Interface wlp3s0
ifindex 3
wdev 0x1
addr 50:cf:14:8e:e3:d1
ssid Stellar-Wi-Fi-7-Pi
type managed
wiphy 0
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcol tx-bytes tx-packets
0 0 0 0 0 0 0 0 0
MLD with links:
- link ID 0 link addr fa:77:78:41:f7:a6
channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
- link ID 1 link addr 06:e6:a8:4e:33:76
- link ID 2 link addr fa:bc:8e:24:9d:c2
channel 5 (5975 MHz), width: 320 MHz, center1: 6105 MHz
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: wifi: ath12k: Attempting MLO with main (6.15.rc7) for NCM865 / WCN7850 in station mode leads to crash/backtrace
@ 2025-06-10 5:56 Lingbo Kong
2025-06-24 20:24 ` Benjamin Eggerstedt
0 siblings, 1 reply; 7+ messages in thread
From: Lingbo Kong @ 2025-06-10 5:56 UTC (permalink / raw)
To: Benjamin Eggerstedt; +Cc: ath12k@lists.infradead.org, lingbo.kong
> -----Original Message-----
> From: ath12k <ath12k-bounces@lists.infradead.org> On Behalf Of Benjamin
> Eggerstedt
> Sent: Monday, June 9, 2025 11:56 PM
> To: Baochen Qiang (QUIC) <quic_bqiang@quicinc.com>
> Cc: ath12k@lists.infradead.org
> Subject: Re: wifi: ath12k: Attempting MLO with main (6.15.rc7) for
NCM865 /
> WCN7850 in station mode leads to crash/backtrace
>
> WARNING: This email originated from outside of Qualcomm. Please be wary
> of any links or attachments, and do not enable macros.
>
> Dear Baochen Qiang, All,
>
> Thanks for your responses! I travelled the past couple of days, thus
could only
> test today.
> Your input is much appreciated, as I could make it work as you suggested.
>
> Should I see EMLSR support?
> I noticed that “iw” output no longer has a TX nor RX Rate:
>
> debadm@debian:~$ sudo iw dev wlp3s0 station dump Station
> 88:3c:93:01:ce:40 (on wlp3s0)
> inactive time: 5516 ms
> rx bytes: 22028457
> rx packets: 252577
> tx bytes: 5495523630
> tx packets: 3582735
> tx retries: 0
> tx failed: 0
> beacon loss: 0
> beacon rx: 0
> rx drop misc: 14586
> signal: -128 dBm
> signal avg: 0 dBm
> beacon signal avg: 0 dBm
> tx duration: 0 us
> rx duration: 0 us
> authorized: yes
> authenticated: yes
> associated: yes
hi, benjamin,
the tx/rx are not shown here is because this situation falls under MLO.
you can try applying this patchset using git am and set if it works.
https://patchwork.kernel.org/project/linux-wireless/patch/20250417045709.770219-1-quic_sarishar@quicinc.com/
https://patchwork.kernel.org/project/linux-wireless/cover/20250415042030.1246187-1-quic_sarishar@quicinc.com/
/lingbo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: wifi: ath12k: Attempting MLO with main (6.15.rc7) for NCM865 / WCN7850 in station mode leads to crash/backtrace
2025-06-10 5:56 wifi: ath12k: Attempting MLO with main (6.15.rc7) for NCM865 / WCN7850 in station mode leads to crash/backtrace Lingbo Kong
@ 2025-06-24 20:24 ` Benjamin Eggerstedt
0 siblings, 0 replies; 7+ messages in thread
From: Benjamin Eggerstedt @ 2025-06-24 20:24 UTC (permalink / raw)
To: Lingbo Kong; +Cc: ath12k@lists.infradead.org
Dear Lingbo & team,
> > Should I see EMLSR support?
> > I noticed that “iw” output no longer has a TX nor RX Rate:
Indeed I can see the TX and RX rate again with the patches you kindly suggested.
The signal at -128 dBm would still be incorrect.
I still cannot see support for EMLSR, although the corresponding patches are part of v6.16.rc1 (ath-current-20250617)
debadm@debian:~$ sudo iw dev wlp3s0 station dump Station
Station 88:3c:93:01:ce:40 (on wlp3s0)
inactive time: 22360 ms
rx bytes: 2533534
rx packets: 9680
tx bytes: 4459
tx packets: 37
tx retries: 0
tx failed: 0
beacon loss: 0
beacon rx: 0
rx drop misc: 15
signal: -128 dBm
signal avg: 0 dBm
beacon signal avg: 0 dBm
tx bitrate: 1441.1 MBit/s 80MHz EHT-MCS 13 EHT-NSS 2 EHT-GI 0
tx duration: 0 us
rx bitrate: 960.7 MBit/s 80MHz EHT-MCS 9 EHT-NSS 2 EHT-GI 0
rx duration: 0 us
authorized: yes
authenticated: yes
associated: yes
preamble: long
WMM/WME: yes
MFP: yes
TDLS peer: no
DTIM period: 0
beacon interval:0
connected time: 505 seconds
associated at [boottime]: 161.391s
associated at: 1750795842112 ms
current time: 1750796347204 ms
Corresponding output from AP side (5 GHz in this association).
Please note how EMLSR is still being reported as “No”.
==== STA Info From Link: ath101 =======
ADDR AID CHAN TXRATE RXRATE RSSI MINRSSI MAXRSSI IDLE TXSEQ RXSEQ CAPS XCAPS ACAPS ERP STATE MAXRATE(DOT11) HTCAPS VHTCAPS ASSOCTIME IEs MODE RXNSS TXNSS PSMODE
b6:b9:b8:5a:a2:05 4 100 960M 1441M -29 -36 -22 11 0 65535 P EWBQ NULL 0 b 1441200 AWRSM 1gGTRs 00:08:15 RSN WME IEEE80211_MODE_11BEA_EHT80 2 2 0
RSSI is combined over chains in dBm
Minimum Tx Power : 0
Maximum Tx Power : 30
HT Capability : Yes
VHT Capability : Yes
MU capable : Yes
SNR : 66
Operating band : 5GHz
Current Operating class : 128
Supported Operating classes : 81 83 84 115 116 117 118 119 120 121 122 123 124 125 126 127 128 131 132 133 134 137 130 128 135 133
Supported Rates(Mbps) : 6 9 12 18 24 36 48 54
Max STA phymode : IEEE80211_MODE_11BEA_EHT80
MLO : Yes
MLD Addr : 50:cf:14:8e:e3:d1
Num Partner links : 2
Partner link 0: ADDR :f2:0a:ab:8a:78:12, Link ID: 0 Bridge link: 0
Partner link 1: ADDR :da:8a:5e:b9:f8:69, Link ID: 2 Bridge link: 0
EMLSR capable : No
EMLMR capable : No
STR capable : Yes
Thanks,
Regards,
Benny
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-06-24 22:14 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-10 5:56 wifi: ath12k: Attempting MLO with main (6.15.rc7) for NCM865 / WCN7850 in station mode leads to crash/backtrace Lingbo Kong
2025-06-24 20:24 ` Benjamin Eggerstedt
-- strict thread matches above, loose matches on Subject: below --
2025-05-30 10:32 Benjamin Eggerstedt
2025-06-01 19:52 ` Benjamin Eggerstedt
2025-06-03 3:01 ` Baochen Qiang
2025-06-03 7:39 ` Baochen Qiang
2025-06-09 15:56 ` Benjamin Eggerstedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox