summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanusz Dziedzic2024-02-24 10:25:15 +0000
committerHauke Mehrtens2024-09-22 22:34:08 +0000
commit9cdd5ec7fd4c14b6a2854d31311f3014a8ef7be3 (patch)
treee4c1ccaa50064c936cf0e7f48e16ed52ef81412f
parent2314d509e30db25655724afcc347bd9c798adc03 (diff)
downloadopenwrt-9cdd5ec7fd4c14b6a2854d31311f3014a8ef7be3.tar.gz
linux-firmware: qualcomm: add WCN7850 firmware
Add option to add WCN7850 ath12k firmware. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com> Link: https://github.com/openwrt/openwrt/pull/15945 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/firmware/linux-firmware/qca_ath12k.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/firmware/linux-firmware/qca_ath12k.mk b/package/firmware/linux-firmware/qca_ath12k.mk
new file mode 100644
index 0000000000..dc719c61af
--- /dev/null
+++ b/package/firmware/linux-firmware/qca_ath12k.mk
@@ -0,0 +1,7 @@
+Package/ath12k-firmware-wcn7850 = $(call Package/firmware-default,WCN7850 ath12k firmware)
+define Package/ath12k-firmware-wcn7850/install
+ $(INSTALL_DIR) $(1)/lib/firmware/ath12k/WCN7850/hw2.0
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/ath12k/WCN7850/hw2.0/* $(1)/lib/firmware/ath12k/WCN7850/hw2.0/
+endef
+$(eval $(call BuildPackage,ath12k-firmware-wcn7850))