xref: /openbmc/linux/net/wireless/Kconfig (revision 680ef72a)
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
19config CFG80211
20	tristate "cfg80211 - wireless configuration API"
21	depends on RFKILL || !RFKILL
22	select FW_LOADER
23	---help---
24	  cfg80211 is the Linux wireless LAN (802.11) configuration API.
25	  Enable this if you have a wireless device.
26
27	  For more information refer to documentation on the wireless wiki:
28
29	  http://wireless.kernel.org/en/developers/Documentation/cfg80211
30
31	  When built as a module it will be called cfg80211.
32
33config NL80211_TESTMODE
34	bool "nl80211 testmode command"
35	depends on CFG80211
36	help
37	  The nl80211 testmode command helps implementing things like
38	  factory calibration or validation tools for wireless chips.
39
40	  Select this option ONLY for kernels that are specifically
41	  built for such purposes.
42
43	  Debugging tools that are supposed to end up in the hands of
44	  users should better be implemented with debugfs.
45
46	  Say N.
47
48config CFG80211_DEVELOPER_WARNINGS
49	bool "enable developer warnings"
50	depends on CFG80211
51	default n
52	help
53	  This option enables some additional warnings that help
54	  cfg80211 developers and driver developers, but beware that
55	  they can also trigger due to races with userspace.
56
57	  For example, when a driver reports that it was disconnected
58	  from the AP, but the user disconnects manually at the same
59	  time, the warning might trigger spuriously due to races.
60
61	  Say Y only if you are developing cfg80211 or a driver based
62	  on it (or mac80211).
63
64
65config CFG80211_CERTIFICATION_ONUS
66	bool "cfg80211 certification onus"
67	depends on CFG80211 && EXPERT
68	default n
69	---help---
70	  You should disable this option unless you are both capable
71	  and willing to ensure your system will remain regulatory
72	  compliant with the features available under this option.
73	  Some options may still be under heavy development and
74	  for whatever reason regulatory compliance has not or
75	  cannot yet be verified. Regulatory verification may at
76	  times only be possible until you have the final system
77	  in place.
78
79	  This option should only be enabled by system integrators
80	  or distributions that have done work necessary to ensure
81	  regulatory certification on the system with the enabled
82	  features. Alternatively you can enable this option if
83	  you are a wireless researcher and are working in a controlled
84	  and approved environment by your local regulatory agency.
85
86config CFG80211_REQUIRE_SIGNED_REGDB
87	bool "require regdb signature" if CFG80211_CERTIFICATION_ONUS
88	default y
89	select SYSTEM_DATA_VERIFICATION
90	help
91	  Require that in addition to the "regulatory.db" file a
92	  "regulatory.db.p7s" can be loaded with a valid PKCS#7
93	  signature for the regulatory.db file made by one of the
94	  keys in the certs/ directory.
95
96config CFG80211_USE_KERNEL_REGDB_KEYS
97	bool "allow regdb keys shipped with the kernel" if CFG80211_CERTIFICATION_ONUS
98	default y
99	depends on CFG80211_REQUIRE_SIGNED_REGDB
100	help
101	  Allow the regulatory database to be signed by one of the keys for
102	  which certificates are part of the kernel sources
103	  (in net/wireless/certs/).
104
105	  This is currently only Seth Forshee's key, who is the regulatory
106	  database maintainer.
107
108config CFG80211_EXTRA_REGDB_KEYDIR
109	string "additional regdb key directory" if CFG80211_CERTIFICATION_ONUS
110	depends on CFG80211_REQUIRE_SIGNED_REGDB
111	help
112	  If selected, point to a directory with DER-encoded X.509
113	  certificates like in the kernel sources (net/wireless/certs/)
114	  that shall be accepted for a signed regulatory database.
115
116config CFG80211_REG_CELLULAR_HINTS
117	bool "cfg80211 regulatory support for cellular base station hints"
118	depends on CFG80211_CERTIFICATION_ONUS
119	---help---
120	  This option enables support for parsing regulatory hints
121	  from cellular base stations. If enabled and at least one driver
122	  claims support for parsing cellular base station hints the
123	  regulatory core will allow and parse these regulatory hints.
124	  The regulatory core will only apply these regulatory hints on
125	  drivers that support this feature. You should only enable this
126	  feature if you have tested and validated this feature on your
127	  systems.
128
129config CFG80211_REG_RELAX_NO_IR
130	bool "cfg80211 support for NO_IR relaxation"
131	depends on CFG80211_CERTIFICATION_ONUS
132	---help---
133	 This option enables support for relaxation of the NO_IR flag for
134	 situations that certain regulatory bodies have provided clarifications
135	 on how relaxation can occur. This feature has an inherent dependency on
136	 userspace features which must have been properly tested and as such is
137	 not enabled by default.
138
139	 A relaxation feature example is allowing the operation of a P2P group
140	 owner (GO) on channels marked with NO_IR if there is an additional BSS
141	 interface which associated to an AP which userspace assumes or confirms
142	 to be an authorized master, i.e., with radar detection support and DFS
143	 capabilities. However, note that in order to not create daisy chain
144	 scenarios, this relaxation is not allowed in cases where the BSS client
145	 is associated to P2P GO and in addition the P2P GO instantiated on
146	 a channel due to this relaxation should not allow connection from
147	 non P2P clients.
148
149	 The regulatory core will apply these relaxations only for drivers that
150	 support this feature by declaring the appropriate channel flags and
151	 capabilities in their registration flow.
152
153config CFG80211_DEFAULT_PS
154	bool "enable powersave by default"
155	depends on CFG80211
156	default y
157	help
158	  This option enables powersave mode by default.
159
160	  If this causes your applications to misbehave you should fix your
161	  applications instead -- they need to register their network
162	  latency requirement, see Documentation/power/pm_qos_interface.txt.
163
164config CFG80211_DEBUGFS
165	bool "cfg80211 DebugFS entries"
166	depends on CFG80211
167	depends on DEBUG_FS
168	---help---
169	  You can enable this if you want debugfs entries for cfg80211.
170
171	  If unsure, say N.
172
173config CFG80211_CRDA_SUPPORT
174	bool "support CRDA" if EXPERT
175	default y
176	depends on CFG80211
177	help
178	  You should enable this option unless you know for sure you have no
179	  need for it, for example when using internal regdb (above) or the
180	  database loaded as a firmware file.
181
182	  If unsure, say Y.
183
184config CFG80211_WEXT
185	bool "cfg80211 wireless extensions compatibility" if !CFG80211_WEXT_EXPORT
186	depends on CFG80211
187	select WEXT_CORE
188	default y if CFG80211_WEXT_EXPORT
189	help
190	  Enable this option if you need old userspace for wireless
191	  extensions with cfg80211-based drivers.
192
193config CFG80211_WEXT_EXPORT
194	bool
195	depends on CFG80211
196	help
197	  Drivers should select this option if they require cfg80211's
198	  wext compatibility symbols to be exported.
199
200config LIB80211
201	tristate
202	default n
203	help
204	  This options enables a library of common routines used
205	  by IEEE802.11 wireless LAN drivers.
206
207	  Drivers should select this themselves if needed.
208
209config LIB80211_CRYPT_WEP
210	tristate
211
212config LIB80211_CRYPT_CCMP
213	tristate
214
215config LIB80211_CRYPT_TKIP
216	tristate
217
218config LIB80211_DEBUG
219	bool "lib80211 debugging messages"
220	depends on LIB80211
221	default n
222	---help---
223	  You can enable this if you want verbose debugging messages
224	  from lib80211.
225
226	  If unsure, say N.
227