From 74d120c22d7724da7da8913032579eefa6716ca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Owoc?= Date: Thu, 22 Jan 2026 12:44:55 +0100 Subject: [PATCH] linux-firmware: ath11k: add IPQ5018, IPQ8074, QCN9074 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use linux-firmware repository for IPQ5018, IPQ8074 and QCN9074. All officially released firmware versions are available there. Signed-off-by: Paweł Owoc Link: https://github.com/openwrt/openwrt/pull/21833 Signed-off-by: Robert Marko --- package/firmware/ath11k-firmware/Makefile | 41 ------------------- package/firmware/linux-firmware/qca_ath11k.mk | 24 +++++++++++ 2 files changed, 24 insertions(+), 41 deletions(-) diff --git a/package/firmware/ath11k-firmware/Makefile b/package/firmware/ath11k-firmware/Makefile index 0ef80b3719..63562f7718 100644 --- a/package/firmware/ath11k-firmware/Makefile +++ b/package/firmware/ath11k-firmware/Makefile @@ -47,11 +47,6 @@ define Package/ath11k-firmware-default DEPENDS:= endef -define Package/ath11k-firmware-ipq5018 -$(Package/ath11k-firmware-default) - TITLE:=IPQ5018 ath11k firmware -endef - define Package/ath11k-firmware-ipq5018-qcn6122 $(Package/ath11k-firmware-default) TITLE:=IPQ5018/QCN6122 ath11k firmware @@ -62,16 +57,6 @@ $(Package/ath11k-firmware-default) TITLE:=IPQ6018 ath11k firmware endef -define Package/ath11k-firmware-ipq8074 -$(Package/ath11k-firmware-default) - TITLE:=IPQ8074 ath11k firmware -endef - -define Package/ath11k-firmware-qcn9074 -$(Package/ath11k-firmware-default) - TITLE:=QCN9074 ath11k firmware -endef - define Build/Clean $(call Build/Clean/Default,) @@ -91,13 +76,6 @@ define Build/Compile endef -define Package/ath11k-firmware-ipq5018/install - $(INSTALL_DIR) $(1)/lib/firmware/ath11k/IPQ5018/hw1.0 - $(INSTALL_DATA) \ - $(PKG_BUILD_DIR)/IPQ5018/hw1.0/2.6.0.1/WLAN.HK.2.6.0.1-01291-QCAHKSWPL_SILICONZ-1/* \ - $(1)/lib/firmware/ath11k/IPQ5018/hw1.0/ -endef - define Package/ath11k-firmware-ipq5018-qcn6122/install $(INSTALL_DIR) $(1)/lib/firmware/ath11k/IPQ5018/hw1.0 $(INSTALL_DATA) \ @@ -116,24 +94,5 @@ define Package/ath11k-firmware-ipq6018/install $(1)/lib/firmware/IPQ6018/ endef -define Package/ath11k-firmware-ipq8074/install - $(INSTALL_DIR) $(1)/lib/firmware/IPQ8074 - $(INSTALL_DATA) \ - $(PKG_BUILD_DIR)/IPQ8074/hw2.0/2.9.0.1/WLAN.HK.2.9.0.1-02146-QCAHKSWPL_SILICONZ-1/* \ - $(1)/lib/firmware/IPQ8074/ -endef - -define Package/ath11k-firmware-qcn9074/install - $(INSTALL_DIR) $(1)/lib/firmware/ath11k/QCN9074/hw1.0 - $(INSTALL_DATA) \ - $(PKG_BUILD_DIR)/QCN9074/hw1.0/2.9.0.1/WLAN.HK.2.9.0.1-02146-QCAHKSWPL_SILICONZ-1/* \ - $(1)/lib/firmware/ath11k/QCN9074/hw1.0/ - $(INSTALL_BIN) \ - $(PKG_BUILD_DIR)/QCN9074/hw1.0/board-2.bin $(1)/lib/firmware/ath11k/QCN9074/hw1.0/board-2.bin -endef - -$(eval $(call BuildPackage,ath11k-firmware-ipq5018)) $(eval $(call BuildPackage,ath11k-firmware-ipq5018-qcn6122)) $(eval $(call BuildPackage,ath11k-firmware-ipq6018)) -$(eval $(call BuildPackage,ath11k-firmware-ipq8074)) -$(eval $(call BuildPackage,ath11k-firmware-qcn9074)) diff --git a/package/firmware/linux-firmware/qca_ath11k.mk b/package/firmware/linux-firmware/qca_ath11k.mk index a700383610..a373cf5774 100644 --- a/package/firmware/linux-firmware/qca_ath11k.mk +++ b/package/firmware/linux-firmware/qca_ath11k.mk @@ -1,3 +1,19 @@ +Package/ath11k-firmware-ipq5018 = $(call Package/firmware-default,IPQ5018 ath11k firmware,,LICENCE.atheros_firmware) +define Package/ath11k-firmware-ipq5018/install + $(INSTALL_DIR) $(1)/lib/firmware/ath11k/IPQ5018/hw1.0 + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath11k/IPQ5018/hw1.0/* $(1)/lib/firmware/ath11k/IPQ5018/hw1.0/ +endef +$(eval $(call BuildPackage,ath11k-firmware-ipq5018)) + +Package/ath11k-firmware-ipq8074 = $(call Package/firmware-default,IPQ8074 ath11k firmware,,LICENCE.atheros_firmware) +define Package/ath11k-firmware-ipq8074/install + $(INSTALL_DIR) $(1)/lib/firmware/IPQ8074 + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath11k/IPQ8074/hw2.0/* $(1)/lib/firmware/IPQ8074/ +endef +$(eval $(call BuildPackage,ath11k-firmware-ipq8074)) + 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 @@ -14,6 +30,14 @@ define Package/ath11k-firmware-qca6390/install endef $(eval $(call BuildPackage,ath11k-firmware-qca6390)) +Package/ath11k-firmware-qcn9074 = $(call Package/firmware-default,QCN9074 ath11k firmware,,LICENCE.atheros_firmware) +define Package/ath11k-firmware-qcn9074/install + $(INSTALL_DIR) $(1)/lib/firmware/ath11k/QCN9074/hw1.0 + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath11k/QCN9074/hw1.0/* $(1)/lib/firmware/ath11k/QCN9074/hw1.0/ +endef +$(eval $(call BuildPackage,ath11k-firmware-qcn9074)) + Package/ath11k-firmware-wcn6750 = $(call Package/firmware-default,WCN6750 ath11k firmware,,LICENCE.atheros_firmware) define Package/ath11k-firmware-wcn6750/install $(INSTALL_DIR) $(1)/lib/firmware/ath11k/WCN6750/hw1.0