madwifi: add sanity checks for monitor mode injection
[openwrt.git] / package / madwifi / Config.in
index ab24a8e..6191ce2 100644 (file)
@@ -2,13 +2,29 @@
 
 config MADWIFI_DEBUG
        bool "Enable compilation of debugging features"
-       depends on EXPERIMENTAL
+       depends on DEVEL && 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 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.