[openwrt/openwrt] linux-firmware: ath10k: add support for Qualcomm Atheros QCA9377

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 17 22:14:59 BST 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b2656490855f2a90f8895079a9a3853af6512d83

commit b2656490855f2a90f8895079a9a3853af6512d83
Author: Josef Schlehofer <pepe.schlehofer at gmail.com>
AuthorDate: Sat Apr 10 19:07:40 2021 +0200

    linux-firmware: ath10k: add support for Qualcomm Atheros QCA9377
    
    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 at gmail.com>
---
 package/firmware/linux-firmware/qca_ath10k.mk | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/package/firmware/linux-firmware/qca_ath10k.mk b/package/firmware/linux-firmware/qca_ath10k.mk
index bd5d21916a..3bc942b108 100644
--- a/package/firmware/linux-firmware/qca_ath10k.mk
+++ b/package/firmware/linux-firmware/qca_ath10k.mk
@@ -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



More information about the lede-commits mailing list