diff options
author | Zhao Gang <gang.zhao.42@gmail.com> | 2016-08-22 10:03:36 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-09-02 14:43:52 +0200 |
commit | 28a2901cbace14541e1da47fdbaf1ccc7dc9c027 (patch) | |
tree | 2cc159a54aeaa97ffe375517b44d16d0a7bb76e9 /package/firmware | |
parent | 39d817cf38cac58d4383012adc13dc2e3606f4f7 (diff) | |
download | upstream-28a2901cbace14541e1da47fdbaf1ccc7dc9c027.tar.gz upstream-28a2901cbace14541e1da47fdbaf1ccc7dc9c027.tar.bz2 upstream-28a2901cbace14541e1da47fdbaf1ccc7dc9c027.zip |
ath10k-firmware: add QCA9887 firmware
QCA9887 is experimentally supported in compat-wireless-2016-06-20.
Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
Diffstat (limited to 'package/firmware')
-rw-r--r-- | package/firmware/ath10k-firmware/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmware/ath10k-firmware/Makefile index 02c1c4b2ec..624da6a1ed 100644 --- a/package/firmware/ath10k-firmware/Makefile +++ b/package/firmware/ath10k-firmware/Makefile @@ -31,6 +31,35 @@ define Package/ath10k-firmware-default DEPENDS:= endef +define Package/ath10k-firmware-qca9887 +$(Package/ath10k-firmware-default) + TITLE:=ath10k firmware for QCA9887 devices +endef + +QCA9887_REV:=3cce88e245f2d685e49411c4f80998f94baf67b8 +QCA9887_FIRMWARE_FILE:=firmware-5.bin_10.2.4-1.0-00013 +QCA9887_FIRMWARE_FILE_MD5:=bd9cdcbf49561c7176432a81c29e7e87 +QCA9887_FIRMWARE_FILE_DL:=$(QCA9887_FIRMWARE_FILE).$(QCA9887_FIRMWARE_FILE_MD5) +QCA9887_BOARD_FILE:=board.bin +QCA9887_BOARD_FILE_MD5:=ebf3af10160c45373f19e0b8226b02ae +QCA9887_BOARD_FILE_DL:=$(QCA9887_BOARD_FILE).$(QCA9887_BOARD_FILE_MD5) + +define Download/ath10k-qca9887-firmware + URL:=https://github.com/kvalo/ath10k-firmware/raw/$(QCA9887_REV)/QCA9887/hw1.0/ + URL_FILE:=$(QCA9887_FIRMWARE_FILE) + FILE:=$(QCA9887_FIRMWARE_FILE_DL) + MD5SUM:=$(QCA9887_FIRMWARE_FILE_MD5) +endef +$(eval $(call Download,ath10k-qca9887-firmware)) + +define Download/ath10k-qca9887-board + URL:=https://github.com/kvalo/ath10k-firmware/raw/$(QCA9887_REV)/QCA9887/hw1.0/ + URL_FILE:=$(QCA9887_BOARD_FILE) + FILE:=$(QCA9887_BOARD_FILE_DL) + MD5SUM:=$(QCA9887_BOARD_FILE_MD5) +endef +$(eval $(call Download,ath10k-qca9887-board)) + define Package/ath10k-firmware-qca988x $(Package/ath10k-firmware-default) DEFAULT:=PACKAGE_kmod-ath10k @@ -146,6 +175,16 @@ define Build/Compile endef +define Package/ath10k-firmware-qca9887/install + $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9887/hw1.0 + $(INSTALL_DATA) \ + $(DL_DIR)/$(QCA9887_FIRMWARE_FILE_DL) \ + $(1)/lib/firmware/ath10k/QCA9887/hw1.0/firmware-5.bin + $(INSTALL_DATA) \ + $(DL_DIR)/$(QCA9887_BOARD_FILE_DL) \ + $(1)/lib/firmware/ath10k/QCA9887/hw1.0/board.bin +endef + define Package/ath10k-firmware-qca988x/install $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0 $(INSTALL_DATA) \ @@ -223,6 +262,7 @@ define Package/ath10k-firmware-qca9984-ct/install $(1)/lib/firmware/ath10k/QCA9984/hw1.0/firmware-5.bin endef +$(eval $(call BuildPackage,ath10k-firmware-qca9887)) $(eval $(call BuildPackage,ath10k-firmware-qca988x)) $(eval $(call BuildPackage,ath10k-firmware-qca99x0)) $(eval $(call BuildPackage,ath10k-firmware-qca6174)) |