[OpenWrt-Devel] [PATCH] mac80211: install old firmware for ath9k-htc on target as well

Alexey Brodkin Alexey.Brodkin at synopsys.com
Tue Mar 15 09:06:41 EDT 2016


In commit
http://git.openwrt.org/?p=openwrt.git;a=commit;h=3990e15258808b145226d7e95332c4708f9f9463
I got rid of older ath9k_htc firmware in favor of newer ones.

But that was not completely correct.
New v1.4 ath9k_htc firmwares are supported in Linux kernels >= 4.4.
And since not all boards were moved to 4.4 yet it makes perfect
sense to get back installation of older firmwares for compatibility
purposes.

Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
Cc: John Crispin <blogic at openwrt.org>
---
 package/firmware/linux-firmware/qca.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/firmware/linux-firmware/qca.mk b/package/firmware/linux-firmware/qca.mk
index 7ad27ef..e5faa8a 100644
--- a/package/firmware/linux-firmware/qca.mk
+++ b/package/firmware/linux-firmware/qca.mk
@@ -9,6 +9,11 @@ $(eval $(call BuildPackage,ar3k-firmware))
 
 Package/ath9k-htc-firmware = $(call Package/firmware-default,AR9271/AR7010 firmware)
 define Package/ath9k-htc-firmware/install
+	$(INSTALL_DIR) $(1)/lib/firmware
+	$(INSTALL_DATA) \
+		$(PKG_BUILD_DIR)/htc_9271.fw \
+		$(PKG_BUILD_DIR)/htc_7010.fw \
+		$(1)/lib/firmware
 	$(INSTALL_DIR) $(1)/lib/firmware/ath9k_htc
 	$(INSTALL_DATA) \
 		$(PKG_BUILD_DIR)/ath9k_htc/htc_9271-1.4.0.fw \
-- 
2.5.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list