All of lore.kernel.org
 help / color / mirror / Atom feed
* WCN6855 issues with latest linux-firmware
@ 2022-05-12 14:31 Dmitry Baryshkov
  2022-05-12 18:23 ` Kalle Valo
  2022-06-01 12:40 ` Dmitry Baryshkov
  0 siblings, 2 replies; 14+ messages in thread
From: Dmitry Baryshkov @ 2022-05-12 14:31 UTC (permalink / raw)
  To: ath11k

Hi,

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


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


-- 
With best wishes
Dmitry

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WCN6855 issues with latest linux-firmware
  2022-05-12 14:31 WCN6855 issues with latest linux-firmware Dmitry Baryshkov
@ 2022-05-12 18:23 ` Kalle Valo
  2022-05-12 19:48   ` Dmitry Baryshkov
                     ` (2 more replies)
  2022-06-01 12:40 ` Dmitry Baryshkov
  1 sibling, 3 replies; 14+ messages in thread
From: Kalle Valo @ 2022-05-12 18:23 UTC (permalink / raw)
  To: Dmitry Baryshkov; +Cc: ath11k

Dmitry Baryshkov <dmitry.baryshkov@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.

> 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/

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WCN6855 issues with latest linux-firmware
  2022-05-12 18:23 ` Kalle Valo
@ 2022-05-12 19:48   ` Dmitry Baryshkov
  2022-05-16 13:01     ` Kalle Valo
  2022-05-12 21:08   ` Dmitry Baryshkov
  2022-05-14 13:44   ` Dmitry Baryshkov
  2 siblings, 1 reply; 14+ messages in thread
From: Dmitry Baryshkov @ 2022-05-12 19:48 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath11k

On 12/05/2022 21:23, Kalle Valo wrote:
> Dmitry Baryshkov <dmitry.baryshkov@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

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WCN6855 issues with latest linux-firmware
  2022-05-12 18:23 ` Kalle Valo
  2022-05-12 19:48   ` Dmitry Baryshkov
@ 2022-05-12 21:08   ` Dmitry Baryshkov
  2022-05-14 13:44   ` Dmitry Baryshkov
  2 siblings, 0 replies; 14+ messages in thread
From: Dmitry Baryshkov @ 2022-05-12 21:08 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath11k

Hi,

On 12/05/2022 21:23, Kalle Valo wrote:
> Dmitry Baryshkov <dmitry.baryshkov@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

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WCN6855 issues with latest linux-firmware
  2022-05-12 18:23 ` Kalle Valo
  2022-05-12 19:48   ` Dmitry Baryshkov
  2022-05-12 21:08   ` Dmitry Baryshkov
@ 2022-05-14 13:44   ` Dmitry Baryshkov
  2 siblings, 0 replies; 14+ messages in thread
From: Dmitry Baryshkov @ 2022-05-14 13:44 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath11k

Hi,

On Thu, 12 May 2022 at 21:24, Kalle Valo <kvalo@kernel.org> wrote:
>
> Dmitry Baryshkov <dmitry.baryshkov@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)

Unfortunately I can provide only a few details here. All the issues
happen on the Qualcomm SM8450 devices.
One device (Lantronix HDK8450) just lists 'WCN6856' (WCN6856_80-WL542
in the schematics). Other devices that I have been using have the
third party WiFi modules onboard, but they are not public yet, so I
can not provide exact details either.

-- 
With best wishes
Dmitry

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WCN6855 issues with latest linux-firmware
  2022-05-12 19:48   ` Dmitry Baryshkov
@ 2022-05-16 13:01     ` Kalle Valo
  2022-05-16 16:05       ` Dmitry Baryshkov
  0 siblings, 1 reply; 14+ messages in thread
From: Kalle Valo @ 2022-05-16 13:01 UTC (permalink / raw)
  To: Dmitry Baryshkov; +Cc: ath11k

Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:

> On 12/05/2022 21:23, Kalle Valo wrote:
>> Dmitry Baryshkov <dmitry.baryshkov@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'.

So the chip was included within HDK8450? It was not installed to the
board separately or anything like that?

>> 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

So you are using a separate board.bin file, where did you get it? ath11k
board files are different so you cannot take the board file from
elsewhere.

Can you file this to bugzilla:

https://wireless.wiki.kernel.org/en/users/drivers/ath11k/bugreport

That way it's easier to track and I can try to find the correct board
file.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WCN6855 issues with latest linux-firmware
  2022-05-16 13:01     ` Kalle Valo
@ 2022-05-16 16:05       ` Dmitry Baryshkov
  2022-05-16 16:15         ` Kalle Valo
  0 siblings, 1 reply; 14+ messages in thread
From: Dmitry Baryshkov @ 2022-05-16 16:05 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath11k

On Mon, 16 May 2022 at 16:01, Kalle Valo <kvalo@kernel.org> wrote:
>
> Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:
>
> > On 12/05/2022 21:23, Kalle Valo wrote:
> >> Dmitry Baryshkov <dmitry.baryshkov@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'.
>
> So the chip was included within HDK8450? It was not installed to the
> board separately or anything like that?

Yes, it's the included chip.

>
> >> 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
>
> So you are using a separate board.bin file, where did you get it? ath11k
> board files are different so you cannot take the board file from
> elsewhere.

The board file comes together with the board, as a bunch
bdwlan.e*/bdwlang.e* files on the modem partition.
I was using the one corresponding to the board id.

But note, that the driver reports that it did not get the 'failed to
wait board file download request'. So, it would be good to get the
board file into the board-2.bin, but for me it looks like a separate
story.

> Can you file this to bugzilla:
>
> https://wireless.wiki.kernel.org/en/users/drivers/ath11k/bugreport
>
> That way it's easier to track and I can try to find the correct board
> file.

Done: https://bugzilla.kernel.org/show_bug.cgi?id=215987

-- 
With best wishes
Dmitry

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WCN6855 issues with latest linux-firmware
  2022-05-16 16:05       ` Dmitry Baryshkov
@ 2022-05-16 16:15         ` Kalle Valo
  2022-05-16 16:28           ` Dmitry Baryshkov
  0 siblings, 1 reply; 14+ messages in thread
From: Kalle Valo @ 2022-05-16 16:15 UTC (permalink / raw)
  To: Dmitry Baryshkov; +Cc: ath11k

Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:

> On Mon, 16 May 2022 at 16:01, Kalle Valo <kvalo@kernel.org> wrote:
>>
>> Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:
>>
>> > On 12/05/2022 21:23, Kalle Valo wrote:
>> >> Dmitry Baryshkov <dmitry.baryshkov@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'.
>>
>> So the chip was included within HDK8450? It was not installed to the
>> board separately or anything like that?
>
> Yes, it's the included chip.

Ok, that should help to find it.

>> >> 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
>>
>> So you are using a separate board.bin file, where did you get it? ath11k
>> board files are different so you cannot take the board file from
>> elsewhere.
>
> The board file comes together with the board, as a bunch
> bdwlan.e*/bdwlang.e* files on the modem partition.
> I was using the one corresponding to the board id.
>
> But note, that the driver reports that it did not get the 'failed to
> wait board file download request'. So, it would be good to get the
> board file into the board-2.bin, but for me it looks like a separate
> story.

Yeah, we should try to get the correct board file to board-2.bin. I'll
ask around.

>> Can you file this to bugzilla:
>>
>> https://wireless.wiki.kernel.org/en/users/drivers/ath11k/bugreport
>>
>> That way it's easier to track and I can try to find the correct board
>> file.
>
> Done: https://bugzilla.kernel.org/show_bug.cgi?id=215987

Thanks!

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WCN6855 issues with latest linux-firmware
  2022-05-16 16:15         ` Kalle Valo
@ 2022-05-16 16:28           ` Dmitry Baryshkov
  0 siblings, 0 replies; 14+ messages in thread
From: Dmitry Baryshkov @ 2022-05-16 16:28 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath11k

On Mon, 16 May 2022 at 19:15, Kalle Valo <kvalo@kernel.org> wrote:
>
> Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:
>
> > On Mon, 16 May 2022 at 16:01, Kalle Valo <kvalo@kernel.org> wrote:
> >>
> >> Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:
> >>
> >> > On 12/05/2022 21:23, Kalle Valo wrote:
> >> >> Dmitry Baryshkov <dmitry.baryshkov@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'.
> >>
> >> So the chip was included within HDK8450? It was not installed to the
> >> board separately or anything like that?
> >
> > Yes, it's the included chip.
>
> Ok, that should help to find it.
>
> >> >> 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
> >>
> >> So you are using a separate board.bin file, where did you get it? ath11k
> >> board files are different so you cannot take the board file from
> >> elsewhere.
> >
> > The board file comes together with the board, as a bunch
> > bdwlan.e*/bdwlang.e* files on the modem partition.
> > I was using the one corresponding to the board id.
> >
> > But note, that the driver reports that it did not get the 'failed to
> > wait board file download request'. So, it would be good to get the
> > board file into the board-2.bin, but for me it looks like a separate
> > story.
>
> Yeah, we should try to get the correct board file to board-2.bin. I'll
> ask around.

Thanks!
The devices I have here use the following board IDs:

bus=pci,vendor=17cb,device=1103,subsystem-vendor=17cb,subsystem-device=0108,qmi-chip-id=2,qmi-board-id=167
bus=pci,vendor=17cb,device=1103,subsystem-vendor=17cb,subsystem-device=0108,qmi-chip-id=2,qmi-board-id=140

>
> >> Can you file this to bugzilla:
> >>
> >> https://wireless.wiki.kernel.org/en/users/drivers/ath11k/bugreport
> >>
> >> That way it's easier to track and I can try to find the correct board
> >> file.
> >
> > Done: https://bugzilla.kernel.org/show_bug.cgi?id=215987
>
> Thanks!
>
> --
> https://patchwork.kernel.org/project/linux-wireless/list/
>
> https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



-- 
With best wishes
Dmitry

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WCN6855 issues with latest linux-firmware
  2022-05-12 14:31 WCN6855 issues with latest linux-firmware Dmitry Baryshkov
  2022-05-12 18:23 ` Kalle Valo
@ 2022-06-01 12:40 ` Dmitry Baryshkov
  2022-06-03  8:36   ` Kalle Valo
  1 sibling, 1 reply; 14+ messages in thread
From: Dmitry Baryshkov @ 2022-06-01 12:40 UTC (permalink / raw)
  To: ath11k

Hi,

On Thu, 12 May 2022 at 17:31, Dmitry Baryshkov
<dmitry.baryshkov@linaro.org> wrote:
>
> Hi,
>
> 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
>
>
> 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
>
>
> --
> With best wishes
> Dmitry

I have tested the latest firmware from linux-firmware and it still
fails to send the bdf file request:

[    3.740702] ath11k_pci 0000:01:00.0: chip_id 0x2 chip_family 0xb
board_id 0xa7 soc_id 0x400c0210
[    3.752952] ath11k_pci 0000:01: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
[    3.760674] 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=167
from ath11k/WCN6855/hw2.1/board-2.bin
[....]
[   13.843957] ath11k_pci 0000:01:00.0: failed to wait board file
download request: -110

^^^^^^^^^^^^^^^^^^^^^^

[   13.852094] ath11k_pci 0000:01:00.0: qmi failed to load bdf file
[   13.858322] ath11k_pci 0000:01:00.0: failed to load board data file: -110

-- 
With best wishes
Dmitry

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WCN6855 issues with latest linux-firmware
  2022-06-01 12:40 ` Dmitry Baryshkov
@ 2022-06-03  8:36   ` Kalle Valo
  2022-06-03  8:40     ` Dmitry Baryshkov
  0 siblings, 1 reply; 14+ messages in thread
From: Kalle Valo @ 2022-06-03  8:36 UTC (permalink / raw)
  To: Dmitry Baryshkov; +Cc: ath11k

Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:

> I have tested the latest firmware from linux-firmware and it still
> fails to send the bdf file request:
>
> [    3.740702] ath11k_pci 0000:01:00.0: chip_id 0x2 chip_family 0xb
> board_id 0xa7 soc_id 0x400c0210
> [    3.752952] ath11k_pci 0000:01: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
> [    3.760674] 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=167
> from ath11k/WCN6855/hw2.1/board-2.bin
> [....]
> [   13.843957] ath11k_pci 0000:01:00.0: failed to wait board file
> download request: -110

Yeah, I have a bunch of missing board files but I haven't been able to
start searching for them yet. This will take time, sorry.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WCN6855 issues with latest linux-firmware
  2022-06-03  8:36   ` Kalle Valo
@ 2022-06-03  8:40     ` Dmitry Baryshkov
  2022-06-03  9:06       ` Kalle Valo
  0 siblings, 1 reply; 14+ messages in thread
From: Dmitry Baryshkov @ 2022-06-03  8:40 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath11k

Hi Kalle,

On 03/06/2022 11:36, Kalle Valo wrote:
> Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:
> 
>> I have tested the latest firmware from linux-firmware and it still
>> fails to send the bdf file request:
>>
>> [    3.740702] ath11k_pci 0000:01:00.0: chip_id 0x2 chip_family 0xb
>> board_id 0xa7 soc_id 0x400c0210
>> [    3.752952] ath11k_pci 0000:01: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
>> [    3.760674] 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=167
>> from ath11k/WCN6855/hw2.1/board-2.bin
>> [....]
>> [   13.843957] ath11k_pci 0000:01:00.0: failed to wait board file
>> download request: -110
> 
> Yeah, I have a bunch of missing board files but I haven't been able to
> start searching for them yet. This will take time, sorry.

I might be mistaken, but for me it looks like the problem is not in the 
missing board file. I have added local board.bin.

The problem with the WLAN.HSP.1.1 firmware is that it does not request 
the board data file on these boards (as pointed by the last line in the 
log: 'failed to wait board file download request'). The WLAN.HSP.2.0 
firmware loads the board file correctly. The old, unsupported 
WLAN.HSP.1.1 firmware (from ChromeOS repo) also loads the bdf correctly.


-- 
With best wishes
Dmitry

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WCN6855 issues with latest linux-firmware
  2022-06-03  8:40     ` Dmitry Baryshkov
@ 2022-06-03  9:06       ` Kalle Valo
  2022-06-03  9:20         ` Dmitry Baryshkov
  0 siblings, 1 reply; 14+ messages in thread
From: Kalle Valo @ 2022-06-03  9:06 UTC (permalink / raw)
  To: Dmitry Baryshkov; +Cc: ath11k

Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:

> Hi Kalle,
>
> On 03/06/2022 11:36, Kalle Valo wrote:
>> Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:
>>
>>> I have tested the latest firmware from linux-firmware and it still
>>> fails to send the bdf file request:
>>>
>>> [    3.740702] ath11k_pci 0000:01:00.0: chip_id 0x2 chip_family 0xb
>>> board_id 0xa7 soc_id 0x400c0210
>>> [    3.752952] ath11k_pci 0000:01: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
>>> [    3.760674] 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=167
>>> from ath11k/WCN6855/hw2.1/board-2.bin
>>> [....]
>>> [   13.843957] ath11k_pci 0000:01:00.0: failed to wait board file
>>> download request: -110
>>
>> Yeah, I have a bunch of missing board files but I haven't been able to
>> start searching for them yet. This will take time, sorry.
>
> I might be mistaken, but for me it looks like the problem is not in
> the missing board file. I have added local board.bin.

That's expected, board files from other drivers are unsupported. You
need an ath11k specific board file.

If you use something outside of my repositories (ath.git &
ath11k-firmware) please mention that clearly as that's unsupported. I
try to make sure that everything in my repos is backwards compatible,
but I cannot guarantee that for out of tree releases.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: WCN6855 issues with latest linux-firmware
  2022-06-03  9:06       ` Kalle Valo
@ 2022-06-03  9:20         ` Dmitry Baryshkov
  0 siblings, 0 replies; 14+ messages in thread
From: Dmitry Baryshkov @ 2022-06-03  9:20 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath11k

On 03/06/2022 12:06, Kalle Valo wrote:
> Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:
> 
>> Hi Kalle,
>>
>> On 03/06/2022 11:36, Kalle Valo wrote:
>>> Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:
>>>
>>>> I have tested the latest firmware from linux-firmware and it still
>>>> fails to send the bdf file request:
>>>>
>>>> [    3.740702] ath11k_pci 0000:01:00.0: chip_id 0x2 chip_family 0xb
>>>> board_id 0xa7 soc_id 0x400c0210
>>>> [    3.752952] ath11k_pci 0000:01: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
>>>> [    3.760674] 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=167
>>>> from ath11k/WCN6855/hw2.1/board-2.bin
>>>> [....]
>>>> [   13.843957] ath11k_pci 0000:01:00.0: failed to wait board file
>>>> download request: -110
>>>
>>> Yeah, I have a bunch of missing board files but I haven't been able to
>>> start searching for them yet. This will take time, sorry.
>>
>> I might be mistaken, but for me it looks like the problem is not in
>> the missing board file. I have added local board.bin.
> 
> That's expected, board files from other drivers are unsupported. You
> need an ath11k specific board file.

I'm using the bdf (board.eNN) that came from Qualcomm with the board.

If you wish, I can try using any particular individual bdf from 
board-2.bin to check if the issue is in my bdf file format or on the 
firmware side.

> If you use something outside of my repositories (ath.git &
> ath11k-firmware) please mention that clearly as that's unsupported. I
> try to make sure that everything in my repos is backwards compatible,
> but I cannot guarantee that for out of tree releases.

Please excuse me if I was not correctly describing the origin.

-- 
With best wishes
Dmitry

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-06-03  9:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-12 14:31 WCN6855 issues with latest linux-firmware Dmitry Baryshkov
2022-05-12 18:23 ` Kalle Valo
2022-05-12 19:48   ` Dmitry Baryshkov
2022-05-16 13:01     ` Kalle Valo
2022-05-16 16:05       ` Dmitry Baryshkov
2022-05-16 16:15         ` Kalle Valo
2022-05-16 16:28           ` Dmitry Baryshkov
2022-05-12 21:08   ` Dmitry Baryshkov
2022-05-14 13:44   ` Dmitry Baryshkov
2022-06-01 12:40 ` Dmitry Baryshkov
2022-06-03  8:36   ` Kalle Valo
2022-06-03  8:40     ` Dmitry Baryshkov
2022-06-03  9:06       ` Kalle Valo
2022-06-03  9:20         ` Dmitry Baryshkov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.