Bug 216060 - ath11k: wcn6850: missing boardfile for 2022 Razer Blade 14''
Summary: ath11k: wcn6850: missing boardfile for 2022 Razer Blade 14''
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: Other Linux
: P3 normal
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-02 07:57 UTC by Panic
Modified: 2023-03-08 10:29 UTC (History)
3 users (show)

See Also:
Kernel Version: 5.18, 5.17.11, 5.15.0
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Panic 2022-06-02 07:57:20 UTC
I've recently bought the new [2022 Razer Blade 14'' with 3070 Ti](https://mysupport.razer.com/app/answers/detail/a_id/5924/~/at-a-glance:-razer-blade-14-(2022)-|-rz09-0427x).

Unfortunately after installing Ubuntu 22.04 Desktop I've quickly come to realize that neither WiFi nor BT are working.

Information below:

```
uname -a
Linux surveily-wt-04 5.18.0-051800-generic #202205222030 SMP PREEMPT_DYNAMIC Sun May 22 20:33:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
```

```
sudo lspci -vqk -s 02:00
02:00.0 Network controller: Qualcomm Atheros QCNFA765 (rev 01)
Subsystem: Lite-On Communications Inc Device a82d
Flags: bus master, fast devsel, latency 0, IRQ 106, IOMMU group 13
Memory at fc200000 (64-bit, non-prefetchable) [size=2M]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=32/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
Kernel driver in use: ath11k_pci
Kernel modules: ath11k_pci
```
```
sudo dmesg | grep ath
[ 0.000000] Linux version 5.18.0-051800-generic (kernel@kathleen) (gcc (Ubuntu 11.3.0-3ubuntu1) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #202205222030 SMP PREEMPT_DYNAMIC Sun May 22 20:33:46 UTC 2022
[ 2.287214] ath11k_pci 0000:02:00.0: BAR 0: assigned [mem 0xfc200000-0xfc3fffff 64bit]
[ 2.287231] ath11k_pci 0000:02:00.0: enabling device (0000 -> 0002)
[ 2.287642] ath11k_pci 0000:02:00.0: MSI vectors: 32
[ 2.287658] ath11k_pci 0000:02:00.0: wcn6855 hw2.1
[ 3.459225] ath11k_pci 0000:02:00.0: chip_id 0x12 chip_family 0xb board_id 0xff soc_id 0x400c1211
[ 3.459229] ath11k_pci 0000:02:00.0: fw_version 0x110d8c35 fw_build_timestamp 2022-01-27 04:01 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3
[ 3.466553] ath11k_pci 0000:02:00.0: failed to fetch board data for bus=pci,vendor=17cb,device=1103,subsystem-vendor=11ad,subsystem-device=a82d,qmi-chip-id=18,qmi-board-id=255 from ath11k/WCN6855/hw2.1/board-2.bin
[ 3.466588] ath11k_pci 0000:02:00.0: failed to fetch board-2.bin or board.bin from WCN6855/hw2.1
[ 3.466599] ath11k_pci 0000:02:00.0: qmi failed to fetch board file: -2
[ 3.466599] ath11k_pci 0000:02:00.0: failed to load board data file: -2
```

Can anyone help me with resolving this issue?

Edit: I tried Ubuntu 18.x, 20.x, 21.x, 22.x and fedora 36 with all various kernels and it all shows the same errors. Looks like only Windows has the drivers for the recent hardware.

Edit: I tried copying the drivers from https://github.com/kvalo/ath11k-firmware but its for WCN6855 and not the WCN6856 in my Blade 14''.
Comment 1 Kalle Valo 2022-06-29 16:20:33 UTC
From the driver point of view WCN6855 and WCN6856 are the same. The issue is this error message:

[ 3.466553] ath11k_pci 0000:02:00.0: failed to fetch board data for bus=pci,vendor=17cb,device=1103,subsystem-vendor=11ad,subsystem-device=a82d,qmi-chip-id=18,qmi-board-id=255 from ath11k/WCN6855/hw2.1/board-2.bin

This means that the board file for your device is missing. I need to find the correct board file for your device and add it to board-2.bin. I will update here when I find one.

For the bluetooth issue you need to file a new bug report. One issue per report, please.
Comment 2 lonelyfloat 2022-07-15 21:42:54 UTC
I have the same issue, any update on this?
Comment 3 Panic 2022-07-18 06:49:13 UTC
This has been resolved with: https://bugzilla.kernel.org/show_bug.cgi?id=215946#c1
Comment 4 lonelyfloat 2022-07-19 02:47:53 UTC
I assume that's the board-2.bin file attached? I'll see if it works tomorrow, as it's late for me right now.
Comment 5 lonelyfloat 2022-07-20 01:17:09 UTC
Using the boardfile in that post gave me this error (output from `dmesg | grep ath11k`) :


```
[    2.014477] ath11k_pci 0000:02:00.0: BAR 0: assigned [mem 0xfc200000-0xfc3fffff 64bit]
[    2.014517] ath11k_pci 0000:02:00.0: enabling device (0000 -> 0002)
[    2.014970] ath11k_pci 0000:02:00.0: MSI vectors: 32
[    2.014976] ath11k_pci 0000:02:00.0: wcn6855 hw2.1
[    2.908299] ath11k_pci 0000:02:00.0: chip_id 0x12 chip_family 0xb board_id 0xff soc_id 0x400c1211
[    2.908303] ath11k_pci 0000:02:00.0: fw_version 0x11090c35 fw_build_timestamp 2022-04-18 20:23 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.9
[    2.915570] ath11k_pci 0000:02:00.0: found invalid board magic
[    2.915582] ath11k_pci 0000:02:00.0: failed to fetch board-2.bin or board.bin from WCN6855/hw2.1
[    2.915583] ath11k_pci 0000:02:00.0: qmi failed to fetch board file: -2
[    2.915584] ath11k_pci 0000:02:00.0: failed to load board data file: -2


```

:(
Comment 6 lonelyfloat 2022-07-20 01:18:31 UTC
I just put the board-2.bin in /usr/lib/firmware/ath11k/WCN8655/hw2.1/ ? I want to make sure it's not just my issue.
Comment 7 Shengyu Qu 2022-09-27 06:01:55 UTC
Kalle has just updated board-2.bin in his git, you can check if this works. https://github.com/kvalo/ath11k-firmware/blob/master/WCN6855/hw2.0/board-2.bin
Comment 8 Kalle Valo 2023-03-08 09:35:22 UTC
(In reply to Shengyu Qu from comment #7)
> Kalle has just updated board-2.bin in his git, you can check if this works.
> https://github.com/kvalo/ath11k-firmware/blob/master/WCN6855/hw2.0/board-2.
> bin

Yes, this should work now. Please reopen if otherwise. Marking the bug as fixed.
Comment 9 Panic 2023-03-08 10:29:17 UTC
I always copy the hw2.0 folder from WCN6855 over the existing one on disk and that works for me.

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