sync 8.09 with changes from trunk
[openwrt/svn-archive/archive.git] / package / madwifi / Config.in
index ab24a8e2f18d788b6a6bc8997b8ffac49d1012c3..fd4bd90c849643fb97ddce9a1f36cae24fa6ef67 100644 (file)
@@ -2,13 +2,29 @@
 
 config MADWIFI_DEBUG
        bool "Enable compilation of debugging features"
-       depends on EXPERIMENTAL
+       depends on EXPERIMENTAL && PACKAGE_kmod-madwifi
        default n
 
+choice
+       prompt "Madwifi version"
+       depends on PACKAGE_kmod-madwifi
+       default MADWIFI_STABLE
+       help
+         This option allows you to select the version of MadWifi to be built.
+
+config MADWIFI_STABLE
+       bool "Use the OpenWrt stable version of madwifi"
+
+config MADWIFI_UPSTREAM
+       depends !LINUX_2_6_26
+       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.