+define KernelPackage/acx-mac80211/config
+ menu "Configuration"
+ depends on PACKAGE_kmod-acx-mac80211
+
+ choice
+ prompt "acx firmware version"
+ default ACX_DEFAULT if !TARGET_adm5120
+ default ACX_1_2_1_34 if TARGET_adm5120
+ help
+ This option allows you to select the version of the acx firmware.
+
+ config ACX_DEFAULT
+ bool "Default"
+ help
+ Default firmware for ACX devices.
+
+ If unsure, select this.
+
+ config ACX_1_2_1_34
+ bool "1.2.1_34"
+ help
+ 1.2.1_34 firmware for ACX devices. Works with Zyxel P-334WT.
+
+ If unsure, select the "default" firmware.
+
+ endchoice
+
+ endmenu
+endef
+
+define KernelPackage/acx-mac80211/description
+ Driver for acx111 cards (Mac80211 version)
+endef
+
+
+C16_FW:=tiacx111c16
+C19_FW:=tiacx111c19
+
+ifeq ($(CONFIG_ACX_DEFAULT),y)
+ define Download/tiacx111c16
+ FILE:=$(C16_FW)
+ URL:=http://teknoraver.net/software/acx-mac80211/
+ MD5SUM:=7026826460376f6b174f9225bd7781b9
+ endef
+ $(eval $(call Download,tiacx111c16))