WCN6855 issues with latest linux-firmware
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Thu May 12 12:48:05 PDT 2022
On 12/05/2022 21:23, Kalle Valo wrote:
> Dmitry Baryshkov <dmitry.baryshkov at linaro.org> writes:
>
>> The wcn6855 WiFi chip stopped working for me after an update to the
>> latest linux-firmware (Linux 5.18-rc2). I can reproduce it with both
>> hw2.0 and hw2.1 chips.
>>
>> Here is the set of kernel messages I'm getting from ath11k_pci driver:
>>
>> [ 4.422391] ath11k_pci 0000:01:00.0: Adding to iommu group 3
>> [ 4.429571] ath11k_pci 0000:01:00.0: BAR 0: assigned [mem
>> 0x60400000-0x605fffff 64bit]
>> [ 4.437857] ath11k_pci 0000:01:00.0: enabling device (0000 -> 0002)
>> [ 4.445323] ath11k_pci 0000:01:00.0: MSI vectors: 1
>> [ 4.450375] ath11k_pci 0000:01:00.0: wcn6855 hw2.0
>> [ 5.378488] ath11k_pci 0000:01:00.0: chip_id 0x2 chip_family 0xb
>> board_id 0x8c soc_id 0x400c0200
>> [ 5.392898] ath11k_pci 0000:01:00.0: fw_version 0x110f0c35
>> fw_build_timestamp 2022-03-30 09:05 fw_build_id
>> QC_IMAGE_VERSION_STRING=WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.7
>> [ 5.420648] ath11k_pci 0000:01:00.0: failed to fetch board data for
>> bus=pci,vendor=17cb,device=1103,subsystem-vendor=17cb,subsystem-device=0108,qmi-chip-id=2,qmi-board-id=140
>> from ath11k/WCN6855/hw2.0/board-2.bin
>> [ 15.686398] ath11k_pci 0000:01:00.0: failed to wait board file
>> download request: -110
>> [ 15.694530] ath11k_pci 0000:01:00.0: qmi failed to load bdf file
>> [ 15.700784] ath11k_pci 0000:01:00.0: failed to load board data file: -110
>
> What WCN6855 hardware are you exactly using? (make, model etc)
I have asked for the hw details. The user guide for the HDK8450 lists
WCN6856 chip and also mentions 'Qualcomm® FastConnect™ 6900 Systems'.
> And what
> board file are you using? md5sums of all firmware files is the best.
# md5sum /lib/firmware/ath11k/WCN6855/hw2.1/*
460fbd5ddc57b3d2efbf1ca976f78b90
/lib/firmware/ath11k/WCN6855/hw2.1/amss.bin
88b3a4fbde8cab4493f0060ae3b5dee3
/lib/firmware/ath11k/WCN6855/hw2.1/board-2.bin
7fd1c2337b0b6502588d3141e205e735
/lib/firmware/ath11k/WCN6855/hw2.1/board.bin
d1460fc1c4595d0d22f82d5baeaabbd8 /lib/firmware/ath11k/WCN6855/hw2.1/m3.bin
f67be83659c790fe15d1e42af501e9fa
/lib/firmware/ath11k/WCN6855/hw2.1/regdb.bin
>
>> With the earlier firmware from [1] I'm getting the following trace
>> (and WiFi device probes). Interestingly enough the chip_id differs
>> between these firmware versions.
>>
>> [ 4.352661] ath11k_pci 0000:01:00.0: Adding to iommu group 3
>> [ 4.359192] ath11k_pci 0000:01:00.0: BAR 0: assigned [mem
>> 0x60400000-0x605fffff 64bit]
>> [ 4.367466] ath11k_pci 0000:01:00.0: enabling device (0000 -> 0002)
>> [ 4.374916] ath11k_pci 0000:01:00.0: MSI vectors: 1
>> [ 4.379963] ath11k_pci 0000:01:00.0: wcn6855 hw2.0
>> [ 5.273930] ath11k_pci 0000:01:00.0: chip_id 0x0 chip_family 0xb
>> board_id 0x8c soc_id 0x400c0200
>> [ 5.286020] ath11k_pci 0000:01:00.0: fw_version 0x110406b8
>> fw_build_timestamp 2021-01-08 06:14 fw_build_id
>> QC_IMAGE_VERSION_STRING=WLAN.HSP.1.1-01720.1-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1
>> [ 5.312464] ath11k_pci 0000:01:00.0: failed to fetch board data for
>> bus=pci,vendor=17cb,device=1103,subsystem-vendor=17cb,subsystem-device=0108,qmi-chip-id=0,qmi-board-id=140
>> from ath11k/WCN6855/hw2.0/board-2.bin
>> [ 5.384315] ath11k_pci 0000:01:00.0: leaving PCI ASPM disabled to
>> avoid MHI M2 problems
>>
>>
>>
>> [1]
>> https://chromium.googlesource.com/chromiumos/third_party/linux-firmware/+/d233ddd89abe06448070471963a58c0a7da81d79/ath11k/WCN6855/hw2.0
>
> That looks like an unsupported firmware version. I recommend using
> _both_ firmwares and board files only from ath11k-firmware.git[1] or
> upstream linux-firmware[2].
>
> [1] https://github.com/kvalo/ath11k-firmware
>
> [2] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
As I wrote, linux-firmware version doesn't work. I will retry my tests
using other versions from ath11k-firmware.
--
With best wishes
Dmitry
More information about the ath11k
mailing list