linux-firmware: ath10k: add support for Qualcomm Atheros QCA9377
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Sat, 10 Apr 2021 17:07:40 +0000 (19:07 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 17 Apr 2021 19:56:05 +0000 (21:56 +0200)
Add firmware and board file for Qualcomm Atheros QCA9377 802.11ac Wireless
Network Adapter (rev 31) recognized as [168c:0042].

This card supports standard 1x1 802.11ac Wave2, BT5, and MU-MIMO.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
package/firmware/linux-firmware/qca_ath10k.mk

index bd5d21916aef1e9baddc49609e407018ce14ba7b..3bc942b10835e5e4a2b9bf8269e3cef9a8601f29 100644 (file)
@@ -26,6 +26,23 @@ define Package/ath10k-firmware-qca4019/install
 endef
 $(eval $(call BuildPackage,ath10k-firmware-qca4019))
 
+Package/ath10k-board-qca9377 = $(call Package/firmware-default,ath10k qca9377 board firmware)
+define Package/ath10k-board-qca9377/install
+       $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9377/hw1.0
+       $(INSTALL_DATA) \
+               $(PKG_BUILD_DIR)/ath10k/QCA9377/hw1.0/board-2.bin \
+               $(1)/lib/firmware/ath10k/QCA9377/hw1.0/
+endef
+$(eval $(call BuildPackage,ath10k-board-qca9377))
+Package/ath10k-firmware-qca9377 = $(call Package/firmware-default,ath10k qca9377 firmware,+ath10k-board-qca9377)
+define Package/ath10k-firmware-qca9377/install
+       $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9377/hw1.0
+       $(INSTALL_DATA) \
+               $(PKG_BUILD_DIR)/ath10k/QCA9377/hw1.0/firmware-6.bin \
+               $(1)/lib/firmware/ath10k/QCA9377/hw1.0/firmware-6.bin
+endef
+$(eval $(call BuildPackage,ath10k-firmware-qca9377))
+
 Package/ath10k-board-qca9887 = $(call Package/firmware-default,ath10k qca9887 board firmware)
 define Package/ath10k-board-qca9887/install
        $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9887/hw1.0