blob: 8419971f07c529543ed348369b68b5e5e4d61293 [file] [log] [blame]
Johannes Berg3d23e342009-09-29 23:27:28 +02001config 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
Johannes Berg704232c2007-04-23 12:20:05 -070019config CFG80211
Luis R. Rodriguezb275f282009-09-01 08:53:49 -070020 tristate "cfg80211 - wireless configuration API"
Johannes Berg1f87f7d2009-06-02 13:01:41 +020021 depends on RFKILL || !RFKILL
Luis R. Rodriguezb275f282009-09-01 08:53:49 -070022 ---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.
Johannes Berg704232c2007-04-23 12:20:05 -070031
Johannes Bergaff89a92009-07-01 21:26:51 +020032config 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
Johannes Bergf7969962009-08-21 12:23:49 +020047config 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
Luis R. Rodriguez3f2355c2008-11-12 14:22:02 -080064config 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.
Luis R. Rodriguez253850c2009-09-01 08:22:43 -070070 For more information on cfg80211 regulatory refer to the wireless
71 wiki:
72
73 http://wireless.kernel.org/en/developers/Regulatory
Luis R. Rodriguez3f2355c2008-11-12 14:22:02 -080074
75 If unsure, say N.
76
Johannes Bergbc92afd2009-07-01 21:26:57 +020077config CFG80211_DEFAULT_PS
78 bool "enable powersave by default"
79 depends on CFG80211
80 default y
81 help
82 This option enables powersave mode by default.
83
84 If this causes your applications to misbehave you should fix your
85 applications instead -- they need to register their network
86 latency requirement, see Documentation/power/pm_qos_interface.txt.
87
Luis R. Rodriguez1ac61302009-05-02 00:37:21 -040088config CFG80211_DEBUGFS
89 bool "cfg80211 DebugFS entries"
Johannes Berg3d23e342009-09-29 23:27:28 +020090 depends on CFG80211
91 depends on DEBUG_FS
Luis R. Rodriguez1ac61302009-05-02 00:37:21 -040092 ---help---
93 You can enable this if you want to debugfs entries for cfg80211.
94
95 If unsure, say N.
96
Luis R. Rodriguezb2e1b302008-09-09 23:19:48 -070097config WIRELESS_OLD_REGULATORY
Davide Pesavento5d6ffc52008-09-30 19:56:34 +020098 bool "Old wireless static regulatory definitions"
Luis R. Rodriguez8a5117d2009-03-24 21:21:07 -040099 default n
Johannes Berg3d23e342009-09-29 23:27:28 +0200100 depends on CFG80211
Luis R. Rodriguezb2e1b302008-09-09 23:19:48 -0700101 ---help---
102 This option enables the old static regulatory information
Luis R. Rodriguez8a5117d2009-03-24 21:21:07 -0400103 and uses it within the new framework. This option is available
104 for historical reasons and it is advised to leave it off.
Luis R. Rodriguezb2e1b302008-09-09 23:19:48 -0700105
Luis R. Rodriguez8a5117d2009-03-24 21:21:07 -0400106 For details see:
Luis R. Rodriguezb2e1b302008-09-09 23:19:48 -0700107
Luis R. Rodriguez8a5117d2009-03-24 21:21:07 -0400108 http://wireless.kernel.org/en/developers/Regulatory
Luis R. Rodriguezb2e1b302008-09-09 23:19:48 -0700109
Luis R. Rodriguez8a5117d2009-03-24 21:21:07 -0400110 Say N and if you say Y, please tell us why. The default is N.
Luis R. Rodriguezb2e1b302008-09-09 23:19:48 -0700111
John W. Linville3b377ea2009-12-18 17:59:01 -0500112config CFG80211_INTERNAL_REGDB
113 bool "use statically compiled regulatory rules database" if EMBEDDED
114 default n
115 depends on CFG80211
116 ---help---
117 This option generates an internal data structure representing
118 the wireless regulatory rules described in net/wireless/db.txt
119 and includes code to query that database. This is an alternative
120 to using CRDA for defining regulatory rules for the kernel.
121
122 For details see:
123
124 http://wireless.kernel.org/en/developers/Regulatory
125
126 Most distributions have a CRDA package. So if unsure, say N.
127
Johannes Berg3d23e342009-09-29 23:27:28 +0200128config CFG80211_WEXT
129 bool "cfg80211 wireless extensions compatibility"
130 depends on CFG80211
131 select WEXT_CORE
Johannes Berg89832402009-07-01 21:26:44 +0200132 default y
Johannes Berg3d23e342009-09-29 23:27:28 +0200133 help
134 Enable this option if you need old userspace for wireless
135 extensions with cfg80211-based drivers.
Johannes Berg22bb1be2008-07-10 11:16:47 +0200136
137config WIRELESS_EXT_SYSFS
138 bool "Wireless extensions sysfs files"
139 default y
Johannes Berg3d23e342009-09-29 23:27:28 +0200140 depends on WEXT_CORE && SYSFS
Johannes Berg22bb1be2008-07-10 11:16:47 +0200141 help
142 This option enables the deprecated wireless statistics
143 files in /sys/class/net/*/wireless/. The same information
144 is available via the ioctls as well.
145
Florian Micklerd9664742008-09-02 15:26:34 +0200146 Say Y if you have programs using it, like old versions of
147 hal.
John W. Linville7e272fc2008-09-24 18:13:14 -0400148
149config LIB80211
150 tristate "Common routines for IEEE802.11 drivers"
151 default n
152 help
153 This options enables a library of common routines used
154 by IEEE802.11 wireless LAN drivers.
155
156 Drivers should select this themselves if needed. Say Y if
157 you want this built into your kernel.
John W. Linville274bfb82008-10-29 11:35:05 -0400158
159config LIB80211_CRYPT_WEP
160 tristate
161
162config LIB80211_CRYPT_CCMP
163 tristate
164
165config LIB80211_CRYPT_TKIP
166 tristate
John W. Linville6f16bf32009-03-11 11:05:25 -0400167
168config LIB80211_DEBUG
169 bool "lib80211 debugging messages"
170 depends on LIB80211
171 default n
172 ---help---
173 You can enable this if you want verbose debugging messages
174 from lib80211.
175
176 If unsure, say N.