blob: 405f3c4cf70ca3617a4101e1bad278b93d7ae1b7 [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
Luis R. Rodriguezb594bab2012-07-12 11:49:17 -070077config CFG80211_CERTIFICATION_ONUS
78 bool "cfg80211 certification onus"
79 depends on CFG80211 && EXPERT
80 default n
81 ---help---
82 You should disable this option unless you are both capable
83 and willing to ensure your system will remain regulatory
84 compliant with the features available under this option.
85 Some options may still be under heavy development and
86 for whatever reason regulatory compliance has not or
87 cannot yet be verified. Regulatory verification may at
88 times only be possible until you have the final system
89 in place.
90
91 This option should only be enabled by system integrators
92 or distributions that have done work necessary to ensure
93 regulatory certification on the system with the enabled
94 features. Alternatively you can enable this option if
95 you are a wireless researcher and are working in a controlled
96 and approved environment by your local regulatory agency.
97
Ilan Peer94fc6612014-02-23 09:13:00 +020098config CFG80211_REG_CELLULAR_HINTS
99 bool "cfg80211 regulatory support for cellular base station hints"
100 depends on CFG80211_CERTIFICATION_ONUS
101 ---help---
102 This option enables support for parsing regulatory hints
103 from cellular base stations. If enabled and at least one driver
104 claims support for parsing cellular base station hints the
105 regulatory core will allow and parse these regulatory hints.
106 The regulatory core will only apply these regulatory hints on
107 drivers that support this feature. You should only enable this
108 feature if you have tested and validated this feature on your
109 systems.
110
Ilan Peer174e0cd2014-02-23 09:13:01 +0200111config CFG80211_REG_RELAX_NO_IR
112 bool "cfg80211 support for NO_IR relaxation"
113 depends on CFG80211_CERTIFICATION_ONUS
114 ---help---
115 This option enables support for relaxation of the NO_IR flag for
116 situations that certain regulatory bodies have provided clarifications
117 on how relaxation can occur. This feature has an inherent dependency on
118 userspace features which must have been properly tested and as such is
119 not enabled by default.
120
121 A relaxation feature example is allowing the operation of a P2P group
122 owner (GO) on channels marked with NO_IR if there is an additional BSS
123 interface which associated to an AP which userspace assumes or confirms
124 to be an authorized master, i.e., with radar detection support and DFS
125 capabilities. However, note that in order to not create daisy chain
126 scenarios, this relaxation is not allowed in cases that the BSS client
127 is associated to P2P GO and in addition the P2P GO instantiated on
128 a channel due to this relaxation should not allow connection from
129 non P2P clients.
130
131 The regulatory core will apply these relaxations only for drivers that
132 support this feature by declaring the appropriate channel flags and
133 capabilities in their registration flow.
134
Johannes Bergbc92afd2009-07-01 21:26:57 +0200135config CFG80211_DEFAULT_PS
136 bool "enable powersave by default"
137 depends on CFG80211
138 default y
139 help
140 This option enables powersave mode by default.
141
142 If this causes your applications to misbehave you should fix your
143 applications instead -- they need to register their network
144 latency requirement, see Documentation/power/pm_qos_interface.txt.
145
Luis R. Rodriguez1ac61302009-05-02 00:37:21 -0400146config CFG80211_DEBUGFS
147 bool "cfg80211 DebugFS entries"
Johannes Berg3d23e342009-09-29 23:27:28 +0200148 depends on CFG80211
149 depends on DEBUG_FS
Luis R. Rodriguez1ac61302009-05-02 00:37:21 -0400150 ---help---
151 You can enable this if you want to debugfs entries for cfg80211.
152
153 If unsure, say N.
154
John W. Linville3b377ea2009-12-18 17:59:01 -0500155config CFG80211_INTERNAL_REGDB
David Rientjes6a108a12011-01-20 14:44:16 -0800156 bool "use statically compiled regulatory rules database" if EXPERT
John W. Linville3b377ea2009-12-18 17:59:01 -0500157 default n
158 depends on CFG80211
159 ---help---
160 This option generates an internal data structure representing
161 the wireless regulatory rules described in net/wireless/db.txt
162 and includes code to query that database. This is an alternative
163 to using CRDA for defining regulatory rules for the kernel.
164
165 For details see:
166
167 http://wireless.kernel.org/en/developers/Regulatory
168
169 Most distributions have a CRDA package. So if unsure, say N.
170
Johannes Berg3d23e342009-09-29 23:27:28 +0200171config CFG80211_WEXT
172 bool "cfg80211 wireless extensions compatibility"
173 depends on CFG80211
174 select WEXT_CORE
Johannes Berg3d23e342009-09-29 23:27:28 +0200175 help
176 Enable this option if you need old userspace for wireless
177 extensions with cfg80211-based drivers.
Johannes Berg22bb1be2008-07-10 11:16:47 +0200178
John W. Linville7e272fc2008-09-24 18:13:14 -0400179config LIB80211
Johannes Bergf3684342012-11-16 00:06:20 +0100180 tristate
John W. Linville7e272fc2008-09-24 18:13:14 -0400181 default n
182 help
183 This options enables a library of common routines used
184 by IEEE802.11 wireless LAN drivers.
185
Johannes Bergf3684342012-11-16 00:06:20 +0100186 Drivers should select this themselves if needed.
John W. Linville274bfb82008-10-29 11:35:05 -0400187
188config LIB80211_CRYPT_WEP
189 tristate
190
191config LIB80211_CRYPT_CCMP
192 tristate
193
194config LIB80211_CRYPT_TKIP
195 tristate
John W. Linville6f16bf32009-03-11 11:05:25 -0400196
197config LIB80211_DEBUG
198 bool "lib80211 debugging messages"
199 depends on LIB80211
200 default n
201 ---help---
202 You can enable this if you want verbose debugging messages
203 from lib80211.
204
205 If unsure, say N.