aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2022-12-13 23:01:20 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2022-12-19 01:01:57 +0100
commitb4d3694f81f423089ac5cc8d8e7b6af62428da3a (patch)
treee08ff50294df050a342c258d11671e3de78cd548
parent5968290a21e0b5d191234e07928214b0f0872bbe (diff)
downloadupstream-b4d3694f81f423089ac5cc8d8e7b6af62428da3a.tar.gz
upstream-b4d3694f81f423089ac5cc8d8e7b6af62428da3a.tar.bz2
upstream-b4d3694f81f423089ac5cc8d8e7b6af62428da3a.zip
linux-firmware: package ath11k consumer cards firmware
Package firmware for ath11k supported QCA consumer cards from linux-firmware. Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--package/firmware/linux-firmware/Makefile2
-rw-r--r--package/firmware/linux-firmware/qca_ath11k.mk23
2 files changed, 24 insertions, 1 deletions
diff --git a/package/firmware/linux-firmware/Makefile b/package/firmware/linux-firmware/Makefile
index 4a665ad724..69e3a948ad 100644
--- a/package/firmware/linux-firmware/Makefile
+++ b/package/firmware/linux-firmware/Makefile
@@ -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
index 0000000000..3e997bc3f4
--- /dev/null
+++ b/package/firmware/linux-firmware/qca_ath11k.mk
@@ -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))