Bug 217329 - ath11k: WCN6855 hw1.0 support
Summary: ath11k: WCN6855 hw1.0 support
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: All Linux
: P5 enhancement
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-12 13:39 UTC by Dmitry Baryshkov
Modified: 2023-08-25 19:53 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (48.82 KB, text/plain)
2023-04-12 13:39 UTC, Dmitry Baryshkov
Details
WCN6855 hw 1.1 try1 (5.14 KB, patch)
2023-08-25 19:46 UTC, Dmitry Baryshkov
Details | Diff

Description Dmitry Baryshkov 2023-04-12 13:39:46 UTC
Created attachment 304126 [details]
dmesg

WCN6851 (?) is a combo WiFi/BT chip found on Qualcomm SM8350 platforms

Currently ath11k barfs on it with the unsupported hardware version:

[    4.962456] ath11k_pci 0000:01:00.0: Adding to iommu group 12
[    4.971641] ath11k_pci 0000:01:00.0: BAR 0: assigned [mem 0x60400000-0x605fffff 64bit]
[    4.979855] ath11k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[    4.986342] ath11k_pci 0000:01:00.0: Unsupported WCN6855 SOC hardware version: 1 16
[    4.999316] ath11k_pci: probe of 0000:01:00.0 failed with error -95

lspci:

0000:01:00.0 Network controller [0280]: Qualcomm QCNFA765 Wireless Network Adapter [17cb:1103] (rev 01)
	Subsystem: Qualcomm Device [17cb:0108]
	Flags: fast devsel, IOMMU group 12
	Memory at 60400000 (64-bit, non-prefetchable) [size=2M]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/32 Maskable+ 64bit-
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [148] Secondary PCI Express
	Capabilities: [158] Transaction Processing Hints
	Capabilities: [1e4] Latency Tolerance Reporting
	Capabilities: [1ec] L1 PM Substates
Comment 1 Kalle Valo 2023-07-11 16:50:56 UTC
I believe this device is WCN6855 hw1.0 but need to check. Though I'm not optimistic we are able to support that.
Comment 2 Dmitry Baryshkov 2023-08-25 19:46:12 UTC
Created attachment 304943 [details]
WCN6855 hw 1.1 try1

Dummy attempt to bring up the device, c&p of the wcn6855 hw2.0 / 2.1
Comment 3 Dmitry Baryshkov 2023-08-25 19:53:48 UTC
Using the try1 patch and the firmware provided with the board I was able to give some life into the wifi chip, but it stops breathing quite soon:

[    4.200737] ath11k_pci 0000:01:00.0: Adding to iommu group 22
[    4.208236] ath11k_pci 0000:01:00.0: BAR 0: assigned [mem 0x60400000-0x605fffff 64bit]
[    4.220307] ath11k_pci 0000:01:00.0: enabling device (0000 -> 0002)

[   26.731966] ath11k_pci 0000:01:00.0: BAR 0: assigned [mem 0x60400000-0x605fffff 64bit]
[   26.745920] ath11k_pci 0000:01:00.0: MSI vectors: 32
[   26.751174] ath11k_pci 0000:01:00.0: wcn6855 hw1.1
[   26.915121] mhi mhi0: Requested to power ON
[   26.919615] mhi mhi0: Power on setup success
[   27.309810] mhi mhi0: Wait for device to enter SBL or Mission mode
[   28.030230] ath11k_pci 0000:01:00.0: chip_id 0x0 chip_family 0xb board_id 0x6 soc_id 0x400c0110
[   28.040427] ath11k_pci 0000:01:00.0: fw_version 0x110880f8 fw_build_timestamp 2021-09-17 21:07 fw_build_id WLAN.HSP.1.1.c3-00248-QCAHSPSWPL_V1_V2_SILICONZ-1
[   30.238106] ath11k_pci 0000:01:00.0: ignore reset dev flags 0xc800
[   33.774925] ath11k_pci 0000:01:00.0: failed to receive wmi unified ready event: -110
[   33.789300] ath11k_pci 0000:01:00.0: failed to start core: -110
[   33.800584] ath11k_pci 0000:01:00.0: failed to send wlan mode request (mode 4): -5
[   33.808393] ath11k_pci 0000:01:00.0: qmi failed to send wlan mode off: -5

Note You need to log in before you can comment on or make changes to this bug.