Bug 217748

Summary: ath10k: issues with ath10k on Qualcomm qrb2210 / qcm2290 / qrb4210 /sm6115 platforms
Product: Drivers Reporter: Dmitry Baryshkov (dbaryshkov)
Component: network-wirelessAssignee: drivers_network-wireless (drivers_network-wireless)
Status: NEW ---    
Severity: normal    
Priority: P3    
Hardware: ARM   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:

Description Dmitry Baryshkov 2023-08-01 21:24:48 UTC
Several Qualcomm platforms incorporate a variant of ath10k / wcn3990 WiFi device.
In particular:
- sm6115 / qrb4210 (used in Qualcomm Robotics RB2 platform) 
- qcm2290 / qrb2210 (used in Qualcomm Robotics RB1 platform)

Unfortunately these devices reject the wlanmdsp.mbn from linux-firmware (because the platform / signature do not match).

Qualcomm / Thundercomm have provided the wlanmdsp.mbn (WLAN.HL.3.3.7.c2-00723-QCAHLSWMTPLZ-1) file for these platform under the redistributable licence (see LICENSE.qcom in linux-firmware).

With this firmware the device probes and seems to work, but regularly generates the following warning:

ath10k_snoc c800000.wifi: chan info: invalid frequency 0 (idx 41 out of bounds)
Comment 1 Dmitry Baryshkov 2023-08-01 21:31:33 UTC
For the reference, relevant dmesg parts.

RB1:

ath10k_snoc c800000.wifi: Adding to iommu group 1
ath10k_snoc c800000.wifi: supply vdd-3.3-ch1 not found, using dummy regulator
ath10k_snoc c800000.wifi: qmi chip_id 0x120 chip_family 0x4007 board_id 0xff soc_id 0x40670000
ath10k_snoc c800000.wifi: qmi fw_version 0x337302d3 fw_build_timestamp 2023-01-06 01:50 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.3.3.7.c2-00723-QCAHLSWMTPLZ-1
ath10k_snoc c800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000
ath10k_snoc c800000.wifi: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
ath10k_snoc c800000.wifi: firmware ver  api 5 features wowlan,mgmt-tx-by-reference,non-bmi crc32 b3d4b790
ath10k_snoc c800000.wifi: htt-ver 3.114 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1
ath10k_snoc c800000.wifi: invalid MAC address; choosing random
ath: EEPROM regdomain: 0x406c
ath: EEPROM indicates we should expect a direct regpair map
ath: Country alpha2 being used: 00
ath: Regpair used: 0x6c




RB2:

ath10k_snoc c800000.wifi: Adding to iommu group 2
ath10k_snoc c800000.wifi: supply vdd-3.3-ch1 not found, using dummy regulator
ath10k_snoc c800000.wifi: qmi chip_id 0x150 chip_family 0x4002 board_id 0xff soc_id 0x40670000
ath10k_snoc c800000.wifi: qmi fw_version 0x337302d3 fw_build_timestamp 2023-01-06 01:50 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.3.3.7.c2-00723-QCAHLSWMTPLZ-1
ath10k_snoc c800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000
ath10k_snoc c800000.wifi: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
ath10k_snoc c800000.wifi: firmware ver  api 5 features wowlan,mgmt-tx-by-reference,non-bmi crc32 b3d4b790
ath10k_snoc c800000.wifi: htt-ver 3.114 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1
ath10k_snoc c800000.wifi: invalid MAC address; choosing random
ath: EEPROM regdomain: 0x406c
ath: EEPROM indicates we should expect a direct regpair map
ath: Country alpha2 being used: 00
ath: Regpair used: 0x6c