package/linux-firmware: add option for ath6k chips
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 2 Oct 2014 16:23:03 +0000 (13:23 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 2 Oct 2014 18:15:34 +0000 (20:15 +0200)
Add support for ath6k(l) driver firmware files (AR6002, AR6003 and
AR6004).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/linux-firmware/Config.in
package/linux-firmware/linux-firmware.mk

index cd35dcccbf3c6e28b7ed9dcbe139e9d9b009121a..8b71dd375d1e7c233ec29cae962e729bcf092e0e 100644 (file)
@@ -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
index 43039851efb8d2040fa227ea463744f4aa76468e..b4351998cdeb7cd9a62baee24055ca5b3a3aa076 100644 (file)
@@ -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