* ath10k-firmware: QCA4019 hw1.0: Add ALFA Network AP120C-AC specific BDF
@ 2019-01-23 0:38 Piotr Dymacz
2019-06-28 13:42 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Piotr Dymacz @ 2019-01-23 0:38 UTC (permalink / raw
To: ath10k
[-- Attachment #1: Type: text/plain, Size: 2195 bytes --]
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
--
Best regards,
Piotr Dymacz
[-- Attachment #2: bus=ahb,bmi-chip-id=0,bmi-board-id=25,variant=ALFA-Network-AP120C-AC.bin --]
[-- Type: application/octet-stream, Size: 12064 bytes --]
[-- Attachment #3: Type: text/plain, Size: 146 bytes --]
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ath10k-firmware: QCA4019 hw1.0: Add ALFA Network AP120C-AC specific BDF
2019-01-23 0:38 ath10k-firmware: QCA4019 hw1.0: Add ALFA Network AP120C-AC specific BDF Piotr Dymacz
@ 2019-06-28 13:42 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2019-06-28 13:42 UTC (permalink / raw
To: Piotr Dymacz; +Cc: ath10k
Piotr Dymacz <pepe2k@gmail.com> writes:
> 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")
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
--
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-28 13:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-23 0:38 ath10k-firmware: QCA4019 hw1.0: Add ALFA Network AP120C-AC specific BDF Piotr Dymacz
2019-06-28 13:42 ` Kalle Valo
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.