We are implementing board-specific fallbacks for the wlanmdsp firmware.
In order to do this in a clear way, move all wlanmdsp firmware back to
ath10k subdir and install symlinks to remain compatible with existing
kernels.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
The firmware file ath10k/WCN3990/hw1.0/wlanmdsp.mbn is platform-specific
(rather than being specific to the WiFi chip itself) and can be used
only on the Qualcomm SDM845 platform and close relatives. Other
platforms (e.g. Qualcomm QCM2290, QRB4210) are going to provie their own
copies of the wlanmdsp.mbn firmware.
As discussed with Kalle, move this file to the platform-specific folder,
providing the backwards-compatibility symlink.
Cc: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
board-2.bin replaces board.bin, so remove the latter. board-2.bin support was
added to ath10k back in 2015 so this won't break backwards compatiblity in
recent kernels.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Sync with the latest version from:
https://github.com/kvalo/ath10k-firmware/
And add 2 entries with the board-parameters for 2 Microsoft Surface devices:
Add eeprom_ar6320_3p0_TX8_clpc.bin used by the Windows drivers on the
Microsoft Surface Go to board-2.bin with BoardName:
"bus=pci,vendor=168c,device=003e,subsystem-vendor=168c,subsystem-device=3370"
Add eeprom_ar6320_3p0_Parsberg_clpc.bin used by the Windows drivers on the
Microsoft Surface Laptop 3 to board-2.bin with BoardName:
bus=pci,vendor=168c,device=003e,subsystem-vendor=045e,subsystem-device=0001
The additions of these 2 extra entries has also been submitted
to the ath10k-firmware git repo:
https://github.com/kvalo/ath10k-firmware/pull/11/
This fixes the wifi not working on the Microsoft Surface Go (version 1)
and the Microsoft Surface Laptop 3.
BugLink: https://github.com/linux-surface/linux-surface/issues/41
BugLink: https://github.com/linux-surface/linux-surface/issues/542
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: Jouni Malinen <j@w1.fi>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit adds the SDIO firmware for ath10k/QCA9377 cards. I obtained
the file from the Boundary Devices repo [1] before discovering that Kale
Valo's repo [2] is the original source location. It has the same license
as the existing firmware-5.bin file. Support for QCA9377 WiFi was merged
for Linux 5.7 [3].
The upstream folder is named 'untested' though this is explained in the
QCA9377 support RFT post [3] and comments. I also show dmesg output in
the same comments. Support for QCA9377 WiFi was merged in Linux 5.7 [4].
Kale did say he would submit this in his next batch of things [5] but
that was ~5 months ago and I'm on a mission to drop out-of-tree patches
from the distro I maintain.
[1] https://github.com/boundarydevices/qca-firmware/tree/bd-sdmac-ath10k
[2] https://github.com/kvalo/ath10k-firmware/tree/master/QCA9377/hw1.0/untested
[3] https://patchwork.kernel.org/patch/11162833/
[4] 6e51b0e491
[5] https://lore.kernel.org/linux-firmware/871rn89qop.fsf@codeaurora.org/
Changes since v1:
- Show Kale's repo as the original upstream source
- Show Gary's Signed-off-by
- Reference QCA9377 suppoort RFT and comments
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>