wext: refactor
[safe/jmp/linux-2.6] / net / wireless / Kconfig
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
19 config CFG80211
20         tristate "cfg80211 - wireless configuration API"
21         depends on RFKILL || !RFKILL
22         ---help---
23           cfg80211 is the Linux wireless LAN (802.11) configuration API.
24           Enable this if you have a wireless device.
25
26           For more information refer to documentation on the wireless wiki:
27
28           http://wireless.kernel.org/en/developers/Documentation/cfg80211
29
30           When built as a module it will be called cfg80211.
31
32 config NL80211_TESTMODE
33         bool "nl80211 testmode command"
34         depends on CFG80211
35         help
36           The nl80211 testmode command helps implementing things like
37           factory calibration or validation tools for wireless chips.
38
39           Select this option ONLY for kernels that are specifically
40           built for such purposes.
41
42           Debugging tools that are supposed to end up in the hands of
43           users should better be implemented with debugfs.
44
45           Say N.
46
47 config CFG80211_DEVELOPER_WARNINGS
48         bool "enable developer warnings"
49         depends on CFG80211
50         default n
51         help
52           This option enables some additional warnings that help
53           cfg80211 developers and driver developers, but that can
54           trigger due to races with userspace.
55
56           For example, when a driver reports that it was disconnected
57           from the AP, but the user disconnects manually at the same
58           time, the warning might trigger spuriously due to races.
59
60           Say Y only if you are developing cfg80211 or a driver based
61           on it (or mac80211).
62
63
64 config CFG80211_REG_DEBUG
65         bool "cfg80211 regulatory debugging"
66         depends on CFG80211
67         default n
68         ---help---
69           You can enable this if you want to debug regulatory changes.
70           For more information on cfg80211 regulatory refer to the wireless
71           wiki:
72
73           http://wireless.kernel.org/en/developers/Regulatory
74
75           If unsure, say N.
76
77 config CFG80211_DEFAULT_PS_VALUE
78         int
79         default 1 if CFG80211_DEFAULT_PS
80         default 0
81         depends on CFG80211
82
83 config CFG80211_DEFAULT_PS
84         bool "enable powersave by default"
85         depends on CFG80211
86         default y
87         help
88           This option enables powersave mode by default.
89
90           If this causes your applications to misbehave you should fix your
91           applications instead -- they need to register their network
92           latency requirement, see Documentation/power/pm_qos_interface.txt.
93
94 config CFG80211_DEBUGFS
95         bool "cfg80211 DebugFS entries"
96         depends on CFG80211
97         depends on DEBUG_FS
98         ---help---
99           You can enable this if you want to debugfs entries for cfg80211.
100
101           If unsure, say N.
102
103 config WIRELESS_OLD_REGULATORY
104         bool "Old wireless static regulatory definitions"
105         default n
106         depends on CFG80211
107         ---help---
108           This option enables the old static regulatory information
109           and uses it within the new framework. This option is available
110           for historical reasons and it is advised to leave it off.
111
112           For details see:
113
114           http://wireless.kernel.org/en/developers/Regulatory
115
116           Say N and if you say Y, please tell us why. The default is N.
117
118 config CFG80211_WEXT
119         bool "cfg80211 wireless extensions compatibility"
120         depends on CFG80211
121         select WEXT_CORE
122         default y
123         help
124           Enable this option if you need old userspace for wireless
125           extensions with cfg80211-based drivers.
126
127 config WIRELESS_EXT_SYSFS
128         bool "Wireless extensions sysfs files"
129         default y
130         depends on WEXT_CORE && SYSFS
131         help
132           This option enables the deprecated wireless statistics
133           files in /sys/class/net/*/wireless/. The same information
134           is available via the ioctls as well.
135
136           Say Y if you have programs using it, like old versions of
137           hal.
138
139 config LIB80211
140         tristate "Common routines for IEEE802.11 drivers"
141         default n
142         help
143           This options enables a library of common routines used
144           by IEEE802.11 wireless LAN drivers.
145
146           Drivers should select this themselves if needed.  Say Y if
147           you want this built into your kernel.
148
149 config LIB80211_CRYPT_WEP
150         tristate
151
152 config LIB80211_CRYPT_CCMP
153         tristate
154
155 config LIB80211_CRYPT_TKIP
156         tristate
157
158 config LIB80211_DEBUG
159         bool "lib80211 debugging messages"
160         depends on LIB80211
161         default n
162         ---help---
163           You can enable this if you want verbose debugging messages
164           from lib80211.
165
166           If unsure, say N.