aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2017-05-16 15:44:20 -0700
committerJohn Crispin <john@phrozen.org>2017-05-18 07:59:33 +0200
commite00cc98045ac204d127d98dc882232b6982df359 (patch)
treea432c80bf0200c319b64acf293dadc5eb8a51dac
parent7a343dafbbbe4bc1f6863d7fc0cf65bbe1fdc7e6 (diff)
downloadupstream-e00cc98045ac204d127d98dc882232b6982df359.tar.gz
upstream-e00cc98045ac204d127d98dc882232b6982df359.tar.bz2
upstream-e00cc98045ac204d127d98dc882232b6982df359.zip
ath10k-ct-firmware: Add support for QCA9886/QCA9888 firmware.
This firmware shoul have the same general feature set as the rest of the 10.4 CT firmware (9984, 9980, etc). Build-tested only in LEDE, but firmware has been tested with ath10k-ct driver on other OSs, so likely works just fine. Signed-off-by: Ben Greear <greearb@candelatech.com>
-rw-r--r--package/firmware/ath10k-firmware/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmware/ath10k-firmware/Makefile
index d2f2703a52..17ff2ca8e7 100644
--- a/package/firmware/ath10k-firmware/Makefile
+++ b/package/firmware/ath10k-firmware/Makefile
@@ -104,6 +104,13 @@ define Download/ath10k-firmware-qca9984-ct
endef
$(eval $(call Download,ath10k-firmware-qca9984-ct))
+QCA9888_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-9.bin-lede.002
+define Download/ath10k-firmware-qca9888-ct
+ $(call Download/ct-firmware,QCA9888,ath10k-9888-10-4)
+ HASH:=f92e7d7968698af7c6f2d76b31b3645589e03839e15838010ce457c635e5aae6
+endef
+$(eval $(call Download,ath10k-firmware-qca9888-ct))
+
define Package/ath10k-firmware-qca99x0
$(Package/ath10k-firmware-default)
TITLE:=ath10k firmware for QCA99x0 devices
@@ -158,6 +165,14 @@ This firmware conflicts with the standard 9984 firmware, so select only
one.
endef
+define Package/ath10k-firmware-qca9888-ct/description
+Alternative ath10k firmware for QCA9886 and QCA9888 from Candela Technologies.
+Enables IBSS and other features. See:
+http://www.candelatech.com/ath10k-10.4.php
+This firmware conflicts with the standard 9886 and 9888 firmware, so select only
+one.
+endef
+
define Package/ath10k-firmware-qca99x0/description
Standard ath10k firmware for QCA99x0 from QCA
This firmware conflicts with the CT 99x0 firmware, so select only
@@ -178,6 +193,13 @@ $(Package/ath10k-firmware-default)
CATEGORY:=Firmware
endef
+define Package/ath10k-firmware-qca9888-ct
+$(Package/ath10k-firmware-default)
+ TITLE:=ath10k CT 10.4.3 firmware for QCA9886 and QCA9888 devices
+ SECTION:=firmware
+ CATEGORY:=Firmware
+endef
+
define Package/ath10k-firmware-qca9984
$(Package/ath10k-firmware-default)
TITLE:=ath10k firmware for QCA9984 devices
@@ -321,6 +343,19 @@ define Package/ath10k-firmware-qca9984-ct/install
$(1)/lib/firmware/ath10k/QCA9984/hw1.0/firmware-5.bin
endef
+define Package/ath10k-firmware-qca9888-ct/install
+ $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9888/hw2.0
+ ln -s \
+ ../../cal-pci-0000:01:00.0.bin \
+ $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/QCA9888/hw2.0/board-2.bin \
+ $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board-2.bin
+ $(INSTALL_DATA) \
+ $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA9888) \
+ $(1)/lib/firmware/ath10k/QCA9888/hw2.0/firmware-5.bin
+endef
+
$(eval $(call BuildPackage,ath10k-firmware-qca9887))
$(eval $(call BuildPackage,ath10k-firmware-qca988x))
$(eval $(call BuildPackage,ath10k-firmware-qca99x0))
@@ -332,3 +367,4 @@ $(eval $(call BuildPackage,ath10k-firmware-qca9887-ct))
$(eval $(call BuildPackage,ath10k-firmware-qca988x-ct))
$(eval $(call BuildPackage,ath10k-firmware-qca99x0-ct))
$(eval $(call BuildPackage,ath10k-firmware-qca9984-ct))
+$(eval $(call BuildPackage,ath10k-firmware-qca9888-ct))