diff options
author | John Crispin <blogic@openwrt.org> | 2015-07-24 08:58:07 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-07-24 08:58:07 +0000 |
commit | c3e7cdbf4cf02359fba62a94f3f3687878ed5718 (patch) | |
tree | 3d088e1de1f7877f6e1d33e63ba04764a761452c /package/kernel | |
parent | 2acb18ca54103f31ed61f6310ff3ceadeee90eca (diff) | |
download | upstream-c3e7cdbf4cf02359fba62a94f3f3687878ed5718.tar.gz upstream-c3e7cdbf4cf02359fba62a94f3f3687878ed5718.tar.bz2 upstream-c3e7cdbf4cf02359fba62a94f3f3687878ed5718.zip |
mac80211: make ath10k firmware v2 selectable
Added option for old firmware version (10.1 API v2). It seems that recent
firmware versions are constantly crashing (at least on a QCA9880-BR4A-R) and
this provides the option to select an older version instead.
Backport of r46340
Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46443 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/mac80211/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 2af5d39f0a..1f15b40e87 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -631,6 +631,14 @@ define KernelPackage/ath10k/config Use the ath10k firmware optimized for wireless client instead of access point operation. + config ATH10K_API2_FW + bool "Firmware optimized for AP operation (v10.1 / API v2)" + default n + depends on !ATH10K_STA_FW + help + Use the ath10k firmware from the 10.1 SDK using API v2 optimized + for access point operation if the default firmware keeps crashing. + endif endef @@ -1862,6 +1870,10 @@ ifeq ($(CONFIG_ATH10K_STA_FW),y) $(INSTALL_DATA) \ $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/main/firmware-2.bin_999.999.0.636 \ $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin +else ifeq ($(CONFIG_ATH10K_API2_FW),y) + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/10.1/firmware-2.bin_10.1.467.2-1 \ + $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin else $(INSTALL_DATA) \ $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/10.2.4/firmware-4.bin_10.2.4.45 \ |