Verified Commit c6f79d08 authored by Josef Schlehofer's avatar Josef Schlehofer 💬
Browse files

patches/openwrt: linux-firmware: add QCA9377 board and firmware files

parent 17ff7d41
Pipeline #79359 passed with stages
in 11 minutes and 31 seconds
From f459f907c8480ccd287d10c6d6229612d42129a2 Mon Sep 17 00:00:00 2001
From: Josef Schlehofer <pepe.schlehofer@gmail.com>
Date: Tue, 2 Mar 2021 16:16:03 +0100
Subject: [PATCH] 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@gmail.com>
[this is backport for OpenWrt 19.07 and firmware and board files should
be splitted as newer versions of OpenWrt, but in 19.07 they are
together]
---
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 72735819fd..6e3e12ef76 100644
--- a/package/firmware/linux-firmware/qca_ath10k.mk
+++ b/package/firmware/linux-firmware/qca_ath10k.mk
@@ -21,6 +21,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-firmware-qca9887 = $(call Package/firmware-default,ath10k qca9887 firmware)
define Package/ath10k-firmware-qca9887/install
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9887/hw1.0
--
2.25.1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment