From e33ce36702a95148065c4276588893c84615ebce Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Thu, 2 Oct 2014 13:23:03 -0300 Subject: [PATCH] package/linux-firmware: add option for ath6k chips Add support for ath6k(l) driver firmware files (AR6002, AR6003 and AR6004). Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/linux-firmware/Config.in | 15 +++++++++++++++ package/linux-firmware/linux-firmware.mk | 18 ++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in index cd35dcccbf..8b71dd375d 100644 --- a/package/linux-firmware/Config.in +++ b/package/linux-firmware/Config.in @@ -19,6 +19,21 @@ endmenu # Audio menu "WiFi firmware" +config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6002 + bool "Atheros 6002" + help + Firmware files for the Atheros AR6002 chip + +config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6003 + bool "Atheros 6003" + help + Firmware files for the Atheros AR6003 chip + +config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6004 + bool "Atheros 6004" + help + Firmware files for the Atheros AR6004 chip + config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_7010 bool "Atheros 7010" help diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk index 43039851ef..b4351998cd 100644 --- a/package/linux-firmware/linux-firmware.mk +++ b/package/linux-firmware/linux-firmware.mk @@ -59,6 +59,24 @@ LINUX_FIRMWARE_FILES += rtlwifi/rtl8821aefw.bin \ LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt endif +# ar6002 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6002),y) +LINUX_FIRMWARE_FILES += ath6k/AR6002 +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware +endif + +# ar6003 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6003),y) +LINUX_FIRMWARE_FILES += ath6k/AR6003 +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware +endif + +# ar6004 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6004),y) +LINUX_FIRMWARE_FILES += ath6k/AR6004 +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware +endif + # ar7010 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_7010),y) LINUX_FIRMWARE_FILES += ar7010.fw ar7010_1_1.fw htc_7010.fw -- 2.30.2