Browse Source

linux-firmware: qualcomm: add WCN7850 firmware

Add option to add WCN7850 ath12k firmware.

Signed-off-by: Janusz Dziedzic <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/15945
Signed-off-by: Hauke Mehrtens <[email protected]>
Janusz Dziedzic 1 year ago
parent
commit
9cdd5ec7fd
1 changed files with 7 additions and 0 deletions
  1. 7 0
      package/firmware/linux-firmware/qca_ath12k.mk

+ 7 - 0
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))