From: Matthias Schiffer Date: Tue, 10 Mar 2015 13:17:14 +0100 Subject: ath10k: add Candelatech community firmware as an additional choice diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 04dfd3b..5d77ebf 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -603,6 +603,14 @@ This module adds support for wireless adapters based on Atheros USB AR9271 and AR7010 family of chipsets. endef +ATH10K_CT_COMMUNITY_FW:=firmware-2-ct-full-community-14.bin +define Download/ath10k-firmware-ct-community + FILE:=$(ATH10K_CT_COMMUNITY_FW) + URL:=http://www.candelatech.com/downloads/ + MD5SUM:=800799459c20c1683138c74b3ba58f25 +endef +$(eval $(call Download,ath10k-firmware-ct-community)) + define KernelPackage/ath10k $(call KernelPackage/mac80211/Default) TITLE:=Atheros 802.11ac wireless cards support @@ -622,6 +630,17 @@ endef define KernelPackage/ath10k/config if PACKAGE_kmod-ath10k + choice + prompt "ath10k firmware flavour" + default ATH10K_AP_FW + help + This option allows you to choose between different ath10k firmwares. + + config ATH10K_AP_FW + bool "Firmware optimized for AP operation" + help + Use the ath10k firmware optimized for access point operation. + Supports only AP mode, will crash in IBSS (ad-hoc) mode. config ATH10K_API2_FW bool "Firmware optimized for AP operation (v10.1 / API v2)" @@ -630,6 +649,13 @@ define KernelPackage/ath10k/config Use the ath10k firmware from the 10.1 SDK using API v2 optimized for access point operation if the default firmware keeps crashing. + config ATH10K_CT_COMMUNITY_FW + bool "Firmware by Candela Technologies (community version)" + help + Supports both AP and IBSS (ad-hoc) mode. Doesn't support + encryption when using multiple VIFs. + + endchoice endif endef @@ -1885,11 +1911,17 @@ 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 +endif +ifeq ($(CONFIG_ATH10K_AP_FW),y) $(INSTALL_DATA) \ $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/10.2.4/untested/firmware-5.bin_10.2.4.70-2 \ $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.bin endif +ifeq ($(CONFIG_ATH10K_CT_COMMUNITY_FW),y) + $(INSTALL_DATA) \ + $(DL_DIR)/$(ATH10K_CT_COMMUNITY_FW) \ + $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin +endif endef define KernelPackage/mt7601u/install