Skip to contentSkip to conversation

ath10k-firmware: WCN3990 hw1.0: Add Xiaomi Redmi K20 Pro/ Xiaomi Mi 9T Pro specific BDFs

DISCUSSION Piyush Raj Chouhan 2 participants 2 messages Dec 3, 2025 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

Hi,

I would like to include the board files for Xiaomi Redmi K20 Pro/ Xiaomi Mi 9T Pro.
These are smartphone manufactured by Xiaomi and uses the sm8150 SoC.
They use WCN3998 Chip for WiFi and BT radio.
I am running mainline kernel on PostmarketOS on this phone so this board file from upstream would great addition. Here is a link to mainline device tree:
https://lore.kernel.org/all/[email protected]/T/#m3e211f141937bd6c8e1aacc0ef7f033ed3157c63

Below, the questions from wiki:

* description for what hardware this is:
    - Smartphone with a sm8150 soc and a WCN3998 Bluetooth/WiFi chip.
    - For reference:
[   11.173230] ath10k_snoc 18800000.wifi: qmi chip_id 0x30224 chip_family 0x4001 board_id 0xff soc_id 0x40060000
[   11.173266] ath10k_snoc 18800000.wifi: qmi fw_version 0x30098158 fw_build_timestamp 2021-05-19 02:47 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.3.0.c2-00344-QCAHLSWMTPLZ-1.395356.1 [   16.091446] ath10k_snoc 18800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000
[   16.091469] ath10k_snoc 18800000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 0 testmode 0
[   16.091476] ath10k_snoc 18800000.wifi: firmware ver  api 5 features wowlan,mgmt-tx-by-reference,non-bmi crc32 b3d4b790
[   16.123590] ath10k_snoc 18800000.wifi: htt-ver 3.70 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1

* origin of the board file:
    - Extracted from the stock firmware.

* ids to be used with the board files:
    - WCN3990 hw1.0
        + bus=snoc,qmi-board-id=ff,qmi-chip-id=30224,variant=Xiaomi_raphael

* md5sum:
    - e0b0689de053d99b56455de3b6b97794

* attach the actual board file (board.bin)
The name of files are equal to the id string in the board-2.bin (minus the ".bin")

#1 lore raw
Quoted 39 lines · Piyush Raj Chouhan

Hi,

I would like to include the board files for Xiaomi Redmi K20 Pro/ Xiaomi Mi 9T Pro.
These are smartphone manufactured by Xiaomi and uses the sm8150 SoC. They use WCN3998 Chip for WiFi and BT radio.
I am running mainline kernel on PostmarketOS on this phone so this board file from upstream would great addition.
Here is a link to mainline device tree:
https://lore.kernel.org/all/[email protected]/T/#m3e211f141937bd6c8e1aacc0ef7f033ed3157c63

Below, the questions from wiki:

* description for what hardware this is:
    - Smartphone with a sm8150 soc and a WCN3998 Bluetooth/WiFi chip.
    - For reference:
[   11.173230] ath10k_snoc 18800000.wifi: qmi chip_id 0x30224 chip_family 0x4001 board_id 0xff soc_id 0x40060000
[   11.173266] ath10k_snoc 18800000.wifi: qmi fw_version 0x30098158 fw_build_timestamp 2021-05-19 02:47 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.3.0.c2-00344-QCAHLSWMTPLZ-1.395356.1 [   16.091446] ath10k_snoc 18800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000
[   16.091469] ath10k_snoc 18800000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 0 testmode 0
[   16.091476] ath10k_snoc 18800000.wifi: firmware ver  api 5 features wowlan,mgmt-tx-by-reference,non-bmi crc32 b3d4b790
[   16.123590] ath10k_snoc 18800000.wifi: htt-ver 3.70 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1

* origin of the board file:
    - Extracted from the stock firmware.

* ids to be used with the board files:
    - WCN3990 hw1.0
        +
bus=snoc,qmi-board-id=ff,qmi-chip-id=30224,variant=Xiaomi_raphael

Quoted 6 lines

* md5sum:
    - e0b0689de053d99b56455de3b6b97794

* attach the actual board file (board.bin)
The name of files are equal to the id string in the board-2.bin (minus the ".bin")

Thanks, added to board-2.bin:
https://git.codelinaro.org/clo/ath-firmware/ath10k-firmware/-/commit/5005042e6418335955a928dd3b9ed5a548b4b059

I'm processing the ath10k backlog and will issue a pull request to linux-firmware when all the pending requests have been pushed to ath10k-firmware.

/jeff