madwifi: fix another instance of excessive stack usage in wlanconfig
[openwrt-10.03/.git] / package / madwifi / Config.in
index d2bc4e0bb2c274cfe9c5807aaa3d1229f721b9c9..23cc433f3d159c91faea8fd26dbba932610793f4 100644 (file)
@@ -2,94 +2,37 @@
 
 config MADWIFI_DEBUG
        bool "Enable compilation of debugging features"
-       depends on EXPERIMENTAL
+       depends on DEVEL && PACKAGE_kmod-madwifi
        default n
 
-choice
-       prompt "Bus selection"
-       default MADWIFI_BUS_DEFAULT
-       help
-         This option controls how MadWifi communicates with the hardware.
-
-config MADWIFI_BUS_DEFAULT
-       bool "Use default bus"
+config MADWIFI_COMPRESSION
+       bool "Enable Atheros Super A/G Compression"
+       depends on PACKAGE_kmod-madwifi
+       depends !TARGET_ar71xx
+       default n
        help
-         This makes MadWifi determine the needed bus based on the target
-         hardware. This will generally work most of the time, but there are some
-         cases where you need to override it.
-
-config MADWIFI_BUS_PCI
-       bool "Use PCI bus"
-       depends on PCI_SUPPORT
-
-config MADWIFI_BUS_AHB
-       bool "Use AHB bus"
-       depends on TARGET_atheros
-
-endchoice
+         Enables Atheros Super A/G Hardware Compression Engine.
 
 choice
-       prompt "HAL selection"
-       default MADWIFI_HAL_DEFAULT
-       help
-         This option controls how MadWifi communicates with the hardware.
-
-config MADWIFI_HAL_DEFAULT
-       bool "Use default HAL"
+       prompt "Madwifi version"
+       depends on PACKAGE_kmod-madwifi
+       default MADWIFI_STABLE
        help
-         This makes MadWifi determine the needed HAL based on the target
-         hardware. This will generally work most of the time, but there are some
-         cases where you need to override it.
-
-config MADWIFI_HAL_MIPS_BE_ELF
-       bool "Use MIPS big endian ELF HAL"
-       depends on mips
-       depends on BIG_ENDIAN
-
-config MADWIFI_HAL_MIPS_LE_ELF
-       bool "Use MIPS little endian ELF HAL"
-       depends on mips
-       depends on !BIG_ENDIAN
-
-config MADWIFI_HAL_I386_ELF
-       bool "Use i386 ELF HAL"
-       depends on TARGET_x86
-
-config MADWIFI_HAL_XSCALE_BE_ELF
-       bool "Use XScale big endian ELF HAL"
-       depends TARGET_ixp4xx
-       depends on BIG_ENDIAN
-
-config MADWIFI_HAL_XSCALE_LE_ELF
-       bool "Use XScale little endian ELF HAL"
-       depends TARGET_iop32x
-       depends on !BIG_ENDIAN
-
-config MADWIFI_HAL_ARMV4_LE_ELF
-       bool "Use ARMV4 little endian ELF HAL"
-       depends TARGET_storm
-       depends on !BIG_ENDIAN
-
-config MADWIFI_HAL_AP30
-       bool "Use AP30 HAL"
-       depends on TARGET_atheros
-
-config MADWIFI_HAL_AP43
-       bool "Use AP43 HAL"
-       depends on TARGET_atheros
+         This option allows you to select the version of MadWifi to be built.
 
-config MADWIFI_HAL_AP51
-       bool "Use AP51 HAL"
-       depends on TARGET_atheros
+config MADWIFI_STABLE
+       bool "Use the OpenWrt stable version of madwifi"
 
-config MADWIFI_HAL_AP61
-       bool "Use AP61 HAL"
-       depends on TARGET_atheros
+config MADWIFI_UPSTREAM
+       depends BROKEN
+       depends !TARGET_atheros
+       bool "Use the upstream release version 0.9.4"
 
 endchoice
 
 choice
        prompt "Rate control algorithm selection"
+       depends on PACKAGE_kmod-madwifi
        default MADWIFI_RCA_MINSTREL
        help
          This option controls how MadWifi chooses its bitrate.