Re: [PATCH] ath11k: pci: avoid unsafe register access during shutdown

Balsam Chihi <[email protected]>
Newsgroups org.infradead.lists.ath11k,org.kernel.vger.linux-wireless
Message-ID <CAONkfw58jcGRxotm2zJasQd56oDR-h0b3Z0Yi+pE8hdrmN=Ucg@mail.gmail.com>
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).
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.
I patched ath11k's core.c file so that it reads a string from a text
file in the rootfs (board-2.bin path per wifi card).
If the text file is not found, the driver loads the default file
provided by linux-firmware for all cards, the original behaviour.
Please let me know if there is a better solution for that.
Best regards.
Balsam
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.