summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChukun Pan2024-12-10 15:02:09 +0000
committerRobert Marko2024-12-18 10:01:23 +0000
commit2417770b131ae77c56d888748cfe2a8503f2c9bf (patch)
tree7575b799dd762808911a47c2e0ae0ed533309ae4
parent03560d470c285e7b77a55e2bcf287b2298d1246e (diff)
downloadopenwrt-2417770b131ae77c56d888748cfe2a8503f2c9bf.tar.gz
linux-firmware: ath11k: add QCA2066 firmware
Add QCA2066 firmware package, ath11k is already supported. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Link: https://github.com/openwrt/openwrt/pull/17260 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--package/firmware/linux-firmware/qca_ath11k.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/package/firmware/linux-firmware/qca_ath11k.mk b/package/firmware/linux-firmware/qca_ath11k.mk
index 9fdd611948..a06bcda420 100644
--- a/package/firmware/linux-firmware/qca_ath11k.mk
+++ b/package/firmware/linux-firmware/qca_ath11k.mk
@@ -1,3 +1,11 @@
+Package/ath11k-firmware-qca2066 = $(call Package/firmware-default,QCA2066 ath11k firmware,,LICENCE.atheros_firmware)
+define Package/ath11k-firmware-qca2066/install
+ $(INSTALL_DIR) $(1)/lib/firmware/ath11k/QCA2066/hw2.1
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/ath11k/QCA2066/hw2.1/* $(1)/lib/firmware/ath11k/QCA2066/hw2.1/
+endef
+$(eval $(call BuildPackage,ath11k-firmware-qca2066))
+
Package/ath11k-firmware-qca6390 = $(call Package/firmware-default,QCA6390 ath11k firmware,,LICENCE.atheros_firmware)
define Package/ath11k-firmware-qca6390/install
$(INSTALL_DIR) $(1)/lib/firmware/ath11k/QCA6390/hw2.0
@@ -14,7 +22,7 @@ define Package/ath11k-firmware-wcn6750/install
$(INSTALL_DATA) \
$(PKG_BUILD_DIR)/ath11k/WCN6750/hw1.0/Notice.txt $(1)/lib/firmware/ath11k/WCN6750/hw1.0/
$(INSTALL_DATA) \
- $(PKG_BUILD_DIR)/ath11k/WCN6750/hw1.0/sc7280/wpss.mbn $(1)/lib/firmware/ath11k/WCN6750/hw1.0/
+ $(PKG_BUILD_DIR)/ath11k/WCN6750/hw1.0/sc7280/wpss.mbn $(1)/lib/firmware/ath11k/WCN6750/hw1.0/
endef
$(eval $(call BuildPackage,ath11k-firmware-wcn6750))