ath10k-firmware: WCN3990 hw1.0: Add board file for Lenovo S5 Pro
Andrey Derkach
gabin278 at gmail.com
Tue Oct 20 13:59:49 PDT 2026
Hi,
This is the board file for the Lenovo S5 Pro (L58041, "sprout"), a
smartphone with the Snapdragon 636 (SDM636) and a WCN3990 WiFi/BT chip.
It runs mainline Linux (sdm660-mainline tree, where this phone's device
tree lives); the WiFi node there will carry
qcom,calibration-variant = "Lenovo_S5_Pro".
* description for what hardware this is
- Lenovo S5 Pro smartphone, SDM636 SoC, WCN3990 hw1.0, firmware
WLAN.HL.1.0.1.c2-00455-QCAHLSWMTPLZ-1 from the phone's modem
partition:
ath10k_snoc 18800000.wifi: qmi chip_id 0x140 chip_family 0x4002 board_id 0xff soc_id 0x40050000
ath10k_snoc 18800000.wifi: qmi fw_version 0x101f01c7 fw_build_timestamp 2018-06-30 21:40 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.1.0.1.c2-00455-QCAHLSWMTPLZ-1
ath10k_snoc 18800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000
* origin of the board file
- /vendor/firmware/bdwlan_sprout.bin from the stock Android vendor
partition, unmodified. On stock Android, Lenovo's cnss-daemon
loads this file by name and sends it to the firmware; the
generic BDWLAN.BIN in the modem image is not used.
* ids to be used with the board file
- WCN3990 hw1.0
+ bus=snoc,qmi-board-id=ff,qmi-chip-id=140,variant=Lenovo_S5_Pro
md5sum 5a5d3b3635edb6dbd195202987d60a7f
sha256sum 40fc7198276b51c90e63c0698d2d9bacd08af68ae90100650695e6362a2273ec
* attach the actual board file
- attached, the file name is the id string above plus ".bin"
Why it is needed: the generic bus=snoc,qmi-board-id=ff entry in
board-2.bin never brings this firmware up (no FW_READY). With the
modem image's BDWLAN.BIN the link stays at VHT-MCS 2 (TCP 58 Mbit/s
down, 49 Mbit/s up). With this file it runs at VHT-MCS 9, 152-155
Mbit/s down and 107-142 Mbit/s up; stock Android gets 170/155 on the
same spot and access point.
Tested with the variant set in the device tree and this file in a
local board-2.bin:
ath10k_snoc 18800000.wifi: boot found board data for 'bus=snoc,qmi-board-id=ff,qmi-chip-id=140,variant=Lenovo_S5_Pro'
Thanks,
Andrey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bus=snoc,qmi-board-id=ff,qmi-chip-id=140,variant=Lenovo_S5_Pro.bin
Type: application/octet-stream
Size: 19152 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20261020/791910b0/attachment-0001.bin>
More information about the ath10k
mailing list