diff options
Diffstat (limited to 'net/wireless/Kconfig')
-rw-r--r-- | net/wireless/Kconfig | 44 |
1 files changed, 29 insertions, 15 deletions
diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig index abf7ca3f9ff9..90e93a5701aa 100644 --- a/net/wireless/Kconfig +++ b/net/wireless/Kconfig | |||
@@ -1,3 +1,21 @@ | |||
1 | config WIRELESS_EXT | ||
2 | bool | ||
3 | |||
4 | config WEXT_CORE | ||
5 | def_bool y | ||
6 | depends on CFG80211_WEXT || WIRELESS_EXT | ||
7 | |||
8 | config WEXT_PROC | ||
9 | def_bool y | ||
10 | depends on PROC_FS | ||
11 | depends on WEXT_CORE | ||
12 | |||
13 | config WEXT_SPY | ||
14 | bool | ||
15 | |||
16 | config WEXT_PRIV | ||
17 | bool | ||
18 | |||
1 | config CFG80211 | 19 | config CFG80211 |
2 | tristate "cfg80211 - wireless configuration API" | 20 | tristate "cfg80211 - wireless configuration API" |
3 | depends on RFKILL || !RFKILL | 21 | depends on RFKILL || !RFKILL |
@@ -67,14 +85,10 @@ config CFG80211_DEFAULT_PS | |||
67 | applications instead -- they need to register their network | 85 | applications instead -- they need to register their network |
68 | latency requirement, see Documentation/power/pm_qos_interface.txt. | 86 | latency requirement, see Documentation/power/pm_qos_interface.txt. |
69 | 87 | ||
70 | config CFG80211_DEFAULT_PS_VALUE | ||
71 | int | ||
72 | default 1 if CFG80211_DEFAULT_PS | ||
73 | default 0 | ||
74 | |||
75 | config CFG80211_DEBUGFS | 88 | config CFG80211_DEBUGFS |
76 | bool "cfg80211 DebugFS entries" | 89 | bool "cfg80211 DebugFS entries" |
77 | depends on CFG80211 && DEBUG_FS | 90 | depends on CFG80211 |
91 | depends on DEBUG_FS | ||
78 | ---help--- | 92 | ---help--- |
79 | You can enable this if you want to debugfs entries for cfg80211. | 93 | You can enable this if you want to debugfs entries for cfg80211. |
80 | 94 | ||
@@ -83,6 +97,7 @@ config CFG80211_DEBUGFS | |||
83 | config WIRELESS_OLD_REGULATORY | 97 | config WIRELESS_OLD_REGULATORY |
84 | bool "Old wireless static regulatory definitions" | 98 | bool "Old wireless static regulatory definitions" |
85 | default n | 99 | default n |
100 | depends on CFG80211 | ||
86 | ---help--- | 101 | ---help--- |
87 | This option enables the old static regulatory information | 102 | This option enables the old static regulatory information |
88 | and uses it within the new framework. This option is available | 103 | and uses it within the new framework. This option is available |
@@ -94,20 +109,19 @@ config WIRELESS_OLD_REGULATORY | |||
94 | 109 | ||
95 | Say N and if you say Y, please tell us why. The default is N. | 110 | Say N and if you say Y, please tell us why. The default is N. |
96 | 111 | ||
97 | config WIRELESS_EXT | 112 | config CFG80211_WEXT |
98 | bool "Wireless extensions" | 113 | bool "cfg80211 wireless extensions compatibility" |
114 | depends on CFG80211 | ||
115 | select WEXT_CORE | ||
99 | default y | 116 | default y |
100 | ---help--- | 117 | help |
101 | This option enables the legacy wireless extensions | 118 | Enable this option if you need old userspace for wireless |
102 | (wireless network interface configuration via ioctls.) | 119 | extensions with cfg80211-based drivers. |
103 | |||
104 | Say Y unless you've upgraded all your userspace to use | ||
105 | nl80211 instead of wireless extensions. | ||
106 | 120 | ||
107 | config WIRELESS_EXT_SYSFS | 121 | config WIRELESS_EXT_SYSFS |
108 | bool "Wireless extensions sysfs files" | 122 | bool "Wireless extensions sysfs files" |
109 | default y | 123 | default y |
110 | depends on WIRELESS_EXT && SYSFS | 124 | depends on WEXT_CORE && SYSFS |
111 | help | 125 | help |
112 | This option enables the deprecated wireless statistics | 126 | This option enables the deprecated wireless statistics |
113 | files in /sys/class/net/*/wireless/. The same information | 127 | files in /sys/class/net/*/wireless/. The same information |