aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/Kconfig')
-rw-r--r--net/wireless/Kconfig57
1 files changed, 36 insertions, 21 deletions
diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig
index abf7ca3f9ff9..d0ee29063e5d 100644
--- a/net/wireless/Kconfig
+++ b/net/wireless/Kconfig
@@ -1,3 +1,21 @@
1config WIRELESS_EXT
2 bool
3
4config WEXT_CORE
5 def_bool y
6 depends on CFG80211_WEXT || WIRELESS_EXT
7
8config WEXT_PROC
9 def_bool y
10 depends on PROC_FS
11 depends on WEXT_CORE
12
13config WEXT_SPY
14 bool
15
16config WEXT_PRIV
17 bool
18
1config CFG80211 19config CFG80211
2 tristate "cfg80211 - wireless configuration API" 20 tristate "cfg80211 - wireless configuration API"
3 depends on RFKILL || !RFKILL 21 depends on RFKILL || !RFKILL
@@ -67,47 +85,44 @@ 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
70config CFG80211_DEFAULT_PS_VALUE
71 int
72 default 1 if CFG80211_DEFAULT_PS
73 default 0
74
75config CFG80211_DEBUGFS 88config 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
81 If unsure, say N. 95 If unsure, say N.
82 96
83config WIRELESS_OLD_REGULATORY 97config CFG80211_INTERNAL_REGDB
84 bool "Old wireless static regulatory definitions" 98 bool "use statically compiled regulatory rules database" if EMBEDDED
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 generates an internal data structure representing
88 and uses it within the new framework. This option is available 103 the wireless regulatory rules described in net/wireless/db.txt
89 for historical reasons and it is advised to leave it off. 104 and includes code to query that database. This is an alternative
105 to using CRDA for defining regulatory rules for the kernel.
90 106
91 For details see: 107 For details see:
92 108
93 http://wireless.kernel.org/en/developers/Regulatory 109 http://wireless.kernel.org/en/developers/Regulatory
94 110
95 Say N and if you say Y, please tell us why. The default is N. 111 Most distributions have a CRDA package. So if unsure, say N.
96 112
97config WIRELESS_EXT 113config CFG80211_WEXT
98 bool "Wireless extensions" 114 bool "cfg80211 wireless extensions compatibility"
115 depends on CFG80211
116 select WEXT_CORE
99 default y 117 default y
100 ---help--- 118 help
101 This option enables the legacy wireless extensions 119 Enable this option if you need old userspace for wireless
102 (wireless network interface configuration via ioctls.) 120 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 121
107config WIRELESS_EXT_SYSFS 122config WIRELESS_EXT_SYSFS
108 bool "Wireless extensions sysfs files" 123 bool "Wireless extensions sysfs files"
109 default y 124 default y
110 depends on WIRELESS_EXT && SYSFS 125 depends on WEXT_CORE && SYSFS
111 help 126 help
112 This option enables the deprecated wireless statistics 127 This option enables the deprecated wireless statistics
113 files in /sys/class/net/*/wireless/. The same information 128 files in /sys/class/net/*/wireless/. The same information