aboutsummaryrefslogtreecommitdiffstats
path: root/package/firmware/linux-firmware
diff options
context:
space:
mode:
authorDamien Mascord <tusker@tusker.org>2021-07-13 11:07:36 +1000
committerHauke Mehrtens <hauke@hauke-m.de>2021-07-25 13:52:38 +0200
commitd996b47be02dd6e9cef9987c4b26e3fe907bd324 (patch)
tree632afee911549823400fe6ac337b3d9ea38730cc /package/firmware/linux-firmware
parent2434a57dd7a057e71272e259eb31967c9e08b2f7 (diff)
downloadupstream-d996b47be02dd6e9cef9987c4b26e3fe907bd324.tar.gz
upstream-d996b47be02dd6e9cef9987c4b26e3fe907bd324.tar.bz2
upstream-d996b47be02dd6e9cef9987c4b26e3fe907bd324.zip
linux-firmware: add 2G and 5G precal binaries for QCA99X0
Some devices (such as Extreme Networks WS-AP3959i-ROW) do not contain precal binaries in ART, and the precal in the cards eeprom causes firmware load errors. These firmware files were previously in linux-firmware, so these are adding them back and renaming to be cleaner. Signed-off-by: Damien Mascord <tusker@tusker.org>
Diffstat (limited to 'package/firmware/linux-firmware')
-rw-r--r--package/firmware/linux-firmware/qca_ath10k.mk35
1 files changed, 35 insertions, 0 deletions
diff --git a/package/firmware/linux-firmware/qca_ath10k.mk b/package/firmware/linux-firmware/qca_ath10k.mk
index 3bc942b108..d30487441e 100644
--- a/package/firmware/linux-firmware/qca_ath10k.mk
+++ b/package/firmware/linux-firmware/qca_ath10k.mk
@@ -9,6 +9,22 @@ define Download/qca99x0-board
endef
$(eval $(call Download,qca99x0-board))
+define Download/qca99x0-board-5g
+ URL:=https://github.com/kvalo/ath10k-firmware/raw/master/QCA99X0/hw2.0/
+ URL_FILE:=boardData_AR900B_CUS239_5G_v2_001.bin
+ FILE:=boardData_AR900B_CUS239_5G_v2_001.bin
+ HASH:=3bf7561ee373b369025dcd366d276d038a97d3397ccae41ce841d98a58b30aff
+endef
+$(eval $(call Download,qca99x0-board-5g))
+
+define Download/qca99x0-board-2g
+ URL:=https://github.com/kvalo/ath10k-firmware/raw/master/QCA99X0/hw2.0/
+ URL_FILE:=boardData_AR900B_CUS260_2G_v2_002.bin
+ FILE:=boardData_AR900B_CUS260_2G_v2_002.bin
+ HASH:=fd91ddf93a271633c28fb1831a1dc5e829c345fbf2aa8980e816585cf9b9e9ed
+endef
+$(eval $(call Download,qca99x0-board-2g))
+
Package/ath10k-board-qca4019 = $(call Package/firmware-default,ath10k qca4019 board firmware)
define Package/ath10k-board-qca4019/install
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA4019/hw1.0
@@ -124,6 +140,25 @@ define Package/ath10k-board-qca99x0/install
$(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board.bin
endef
$(eval $(call BuildPackage,ath10k-board-qca99x0))
+
+Package/ath10k-board-qca99x0-2g = $(call Package/firmware-default,ath10k qca99x0 board 2g precal firmware)
+define Package/ath10k-board-qca99x0-2g/install
+ $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
+ $(INSTALL_DATA) \
+ $(DL_DIR)/boardData_AR900B_CUS260_2G_v2_002.bin \
+ $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board-2g-precal.bin
+endef
+$(eval $(call BuildPackage,ath10k-board-qca99x0-2g))
+
+Package/ath10k-board-qca99x0-5g = $(call Package/firmware-default,ath10k qca99x0 board 5g precal firmware)
+define Package/ath10k-board-qca99x0-5g/install
+ $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
+ $(INSTALL_DATA) \
+ $(DL_DIR)/boardData_AR900B_CUS239_5G_v2_001.bin \
+ $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board-5g-precal.bin
+endef
+$(eval $(call BuildPackage,ath10k-board-qca99x0-5g))
+
Package/ath10k-firmware-qca99x0 = $(call Package/firmware-default,ath10k qca99x0 firmware,+ath10k-board-qca99x0)
define Package/ath10k-firmware-qca99x0/install
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0