ath10k-firmware: QCA4019 hw1.0: Add ALFA Network AP120C-AC specific BDF
Hello,
This is a special BDF for 5 GHz radio inside ALFA Network AP120C-AC [0]. In case of 2.4 GHz radio, BDF used by the vendor firmware is the same as the one already embedded in the upstream board-2.bin file:
root@AP120C-AC:/# dmesg | grep -i board [ 32.198686] Board extended Data download address: 0x0 [ 32.223026] Board data initialized [ 32.337060] ol_ath_download_firmware:##Board Id 18 , CHIP Id 0 [ 32.343005] ol_ath_download_firmware: BOARDDATA DOWNLOAD TO address 0xc0000 [ 32.349831] wifi0: Selecting board data file name boardData_1_0_IPQ4019_DK03_wifi0.bin [ 32.359265] ol_transfer_bin_file: Board Data File download to address=0xc0000 file name=IPQ4019/hw.1/boardData_1_0_IPQ4019_DK03_wifi0.bin [...]
root@AP120C-AC:/# md5sum /lib/firmware/IPQ4019/hw.1/boardData_1_0_IPQ4019_DK03_w ifi0.bin 11c70b64c714c30d040fcd7b0ef3f53f /lib/firmware/IPQ4019/hw.1/boardData_1_0_IPQ4019_DK03_wifi0.bin
And the same (checksum and board/chip-id match) file inside upstream board-2.bin:
ath10k-bdencoder -i board-2.bin
[...]
BoardNames[2]: 'bus=ahb,bmi-chip-id=0,bmi-board-id=18' BoardLength[2]: 12064
BoardCRC32[2]: 628eba64
BoardMD5[2]: 11c70b64c714c30d040fcd7b0ef3f53f [...]
Thus, only one additional BDF has to be included in board-2.bin. As per the current "Submitting board files" guidelines [1]:
* description for what hardware this is:
- this is an IPQ4018 based indoor ceiling AP
- one QCA40xx radio is used as 2.4GHz radio
- one QCA40xx radio is used as 5GHz radio
* origin of the board file (did you create it yourself or where you downloaded)
- file was extracted from a running vendor firmware the device was delivered with
* ids to be used with the board file (ATH10K_BD_IE_BOARD_NAME in ath10k)
- QCA4019 hw1.0:
bus=ahb,bmi-chip-id=0,bmi-board-id=25,variant=ALFA-Network-AP120C-AC
md5sum: e676f159de8afd74df3fecc8ecf94389* attach the actual board file (board.bin)
- the name of the file is equal to the id string in the board-2.bin
(minus the ".bin")
[0] https://www.alfa.com.tw/AP120C-AC.html
[1] https://wireless.wiki.kernel.org/en/users/drivers/ath10k/boardfiles
Signature · 2 lines
Best regards, Piotr Dymacz
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 54 lines · Piotr Dymacz
This is a special BDF for 5 GHz radio inside ALFA Network AP120C-AC [0]. In case of 2.4 GHz radio, BDF used by the vendor firmware is the same as the one already embedded in the upstream board-2.bin file:
root@AP120C-AC:/# dmesg | grep -i board [ 32.198686] Board extended Data download address: 0x0 [ 32.223026] Board data initialized [ 32.337060] ol_ath_download_firmware:##Board Id 18 , CHIP Id 0 [ 32.343005] ol_ath_download_firmware: BOARDDATA DOWNLOAD TO address 0xc0000 [ 32.349831] wifi0: Selecting board data file name boardData_1_0_IPQ4019_DK03_wifi0.bin [ 32.359265] ol_transfer_bin_file: Board Data File download to address=0xc0000 file name=IPQ4019/hw.1/boardData_1_0_IPQ4019_DK03_wifi0.bin [...]root@AP120C-AC:/# md5sum /lib/firmware/IPQ4019/hw.1/boardData_1_0_IPQ4019_DK03_w ifi0.bin 11c70b64c714c30d040fcd7b0ef3f53f /lib/firmware/IPQ4019/hw.1/boardData_1_0_IPQ4019_DK03_wifi0.binAnd the same (checksum and board/chip-id match) file inside upstream board-2.bin:
ath10k-bdencoder -i board-2.bin
[...]
BoardNames[2]: 'bus=ahb,bmi-chip-id=0,bmi-board-id=18' BoardLength[2]: 12064
BoardCRC32[2]:628eba64
BoardMD5[2]:11c70b64c714c30d040fcd7b0ef3f53f[...]Thus, only one additional BDF has to be included in board-2.bin. As per the current "Submitting board files" guidelines [1]:
* description for what hardware this is:
- this is an IPQ4018 based indoor ceiling AP
- one QCA40xx radio is used as 2.4GHz radio
- one QCA40xx radio is used as 5GHz radio* origin of the board file (did you create it yourself or where you downloaded)
- file was extracted from a running vendor firmware the device was delivered with
* ids to be used with the board file (
ATH10K_BD_IE_BOARD_NAMEin ath10k)- QCA4019 hw1.0:
Quoted 8 lines
bus=ahb,bmi-chip-id=0,bmi-board-id=25,variant=ALFA-Network-AP120C-AC md5sum: e676f159de8afd74df3fecc8ecf94389* attach the actual board file (board.bin)
- the name of the file is equal to the id string in the board-2.bin
(minus the ".bin")
Thanks, added to QCA4019/hw1.0/board-2.bin:
New:
bus=ahb,bmi-chip-id=0,bmi-board-id=25,variant=ALFA-Network-AP120C-AC
Changed:
Deleted:
1 board image(s) added, 0 changed, 0 deleted, 42 in total
https://github.com/kvalo/ath10k-firmware/commit/36d375992210ffe5b6e44aab5910eeb83967072c
Signature · 6 lines
Kalle Valo _______________________________________________ ath10k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath10k