WCN6855 issues with latest linux-firmware
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Thu May 12 14:08:12 PDT 2022
Hi,
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) And what
> board file are you using? md5sums of all firmware files is the best.
I gave a try to all wcn6855 firmware files present in the
ath11k-firmware repo. All of them provide the same behaviour.
However, for the reference, with the following firmware I was able to
get it to work:
[ 4.240309] ath11k_pci 0000:01:00.0: Adding to iommu group 3
[ 4.247454] ath11k_pci 0000:01:00.0: BAR 0: assigned [mem
0x60400000-0x605fffff 64bit]
[ 4.255706] ath11k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[ 4.263119] ath11k_pci 0000:01:00.0: MSI vectors: 1
[ 4.268164] ath11k_pci 0000:01:00.0: wcn6855 hw2.1
[ 5.249568] ath11k_pci 0000:01:00.0: chip_id 0x2 chip_family 0xb
board_id 0x8c soc_id 0x400c0210
[ 5.261639] ath11k_pci 0000:01:00.0: fw_version 0x200f0504
fw_build_timestamp 2021-11-30 18:48 fw_build_id
QC_IMAGE_VERSION_STRING=WLAN.HSP.2.0-01284-QCAHSPSWPL_V1_V2_SILICONZ-1
[ 5.333813] ath11k_pci 0000:01:00.0: leaving PCI ASPM disabled to
avoid MHI M2 problems
# md5sum /lib/firmware/ath11k/WCN6855/hw2.1/*
94a63f17bb674e005981b69354921705
/lib/firmware/ath11k/WCN6855/hw2.1/amss.bin
7fd1c2337b0b6502588d3141e205e735
/lib/firmware/ath11k/WCN6855/hw2.1/board.bin
62c2087843435b8fd5bafeba7d769a68 /lib/firmware/ath11k/WCN6855/hw2.1/m3.bin
3c61a448699d9e8614212c535c31c096
/lib/firmware/ath11k/WCN6855/hw2.1/regdb.bin
Any chance of getting WLAN.HSP.2.0 firmware into the ath11k-firmware?
>
>> 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/
>
--
With best wishes
Dmitry
More information about the ath11k
mailing list