linux-firmware: package ath11k consumer cards firmware
authorRobert Marko <robimarko@gmail.com>
Tue, 13 Dec 2022 22:01:20 +0000 (23:01 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 19 Dec 2022 00:01:57 +0000 (01:01 +0100)
Package firmware for ath11k supported QCA consumer cards from linux-firmware.

Signed-off-by: Robert Marko <robimarko@gmail.com>
package/firmware/linux-firmware/Makefile
package/firmware/linux-firmware/qca_ath11k.mk [new file with mode: 0644]

index 4a665ad7242dafb90a5125ca8de8fd001a6133fb..69e3a948ad5911d026153303458604b09df9472a 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=linux-firmware
 PKG_VERSION:=20221109
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE_URL:=@KERNEL/linux/kernel/firmware
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
diff --git a/package/firmware/linux-firmware/qca_ath11k.mk b/package/firmware/linux-firmware/qca_ath11k.mk
new file mode 100644 (file)
index 0000000..3e997bc
--- /dev/null
@@ -0,0 +1,23 @@
+Package/ath11k-firmware-qca6390 = $(call Package/firmware-default,QCA6390 ath11k firmware)
+define Package/ath11k-firmware-qca6390/install
+       $(INSTALL_DIR) $(1)/lib/firmware/ath11k/QCA6390/hw2.0
+       $(INSTALL_DATA) \
+               $(PKG_BUILD_DIR)/ath11k/QCA6390/hw2.0/* $(1)/lib/firmware/ath11k/QCA6390/hw2.0/
+endef
+$(eval $(call BuildPackage,ath11k-firmware-qca6390))
+
+Package/ath11k-firmware-wcn6750 = $(call Package/firmware-default,WCN6750 ath11k firmware)
+define Package/ath11k-firmware-wcn6750/install
+       $(INSTALL_DIR) $(1)/lib/firmware/ath11k/WCN6750/hw1.0
+       $(INSTALL_DATA) \
+               $(PKG_BUILD_DIR)/ath11k/WCN6750/hw1.0/* $(1)/lib/firmware/ath11k/WCN6750/hw1.0/
+endef
+$(eval $(call BuildPackage,ath11k-firmware-wcn6750))
+
+Package/ath11k-firmware-wcn6855 = $(call Package/firmware-default,WCN6855 ath11k firmware)
+define Package/ath11k-firmware-wcn6855/install
+       $(INSTALL_DIR) $(1)/lib/firmware/ath11k/WCN6855/hw2.0
+       $(INSTALL_DATA) \
+               $(PKG_BUILD_DIR)/ath11k/WCN6855/hw2.0/* $(1)/lib/firmware/ath11k/WCN6855/hw2.0/
+endef
+$(eval $(call BuildPackage,ath11k-firmware-wcn6855))