On 8/19/2025 2:20 PM, Balsam Chihi wrote:
Hello,
I Have a question on the same subject but not related to the bug.
I have many identical PCIe WiFi cards on the system and I need to load
a different board-2.bin on each one (1 adapter per frequency band).
So you are using multiple pcie devices at the same time in a system
with ath11k? Wondering if you are using any private patches to address
QRTR instance id clash issue [1][2].
Is there any kernel built-in solution for that?
I could not find any, so I had to create a patch that loads a
different board-2.bin for each card based on the pci device address.
Current board data selection for QCN from board-2.bin is based on pci+chip-id+board-id
combination, not based on pci device address. You can find the chip-id and board-id in the
debug during QMI boot stage. Then you can use ath11k-bdencoder [3] to encode those
board data binaries into board-2.bin. This way you can package all the needed board
specific binaries for a hardware into a single board-2.bin. Ath11k board data file
load logic uses chip-id and board-id to download the right board data for the given
hardware variant.
Vasanth
[1] https://patchwork.kernel.org/project/linux-wireless/list/?series=692423&state=*&order=date
[2] https://lore.kernel.org/all/20230111170033.32454-1-kvalo@xxxxxxxxxx/
[3]
https://github.com/qca/qca-swiss-army-knife/blob/master/tools/scripts/ath11k/ath11k-bdencoder