xref: /openbmc/linux/net/wireless/Kconfig (revision 8851b9f1)
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	---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
32config 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
47config 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
64config 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
77config 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
98config CFG80211_DEFAULT_PS
99	bool "enable powersave by default"
100	depends on CFG80211
101	default y
102	help
103	  This option enables powersave mode by default.
104
105	  If this causes your applications to misbehave you should fix your
106	  applications instead -- they need to register their network
107	  latency requirement, see Documentation/power/pm_qos_interface.txt.
108
109config CFG80211_DEBUGFS
110	bool "cfg80211 DebugFS entries"
111	depends on CFG80211
112	depends on DEBUG_FS
113	---help---
114	  You can enable this if you want to debugfs entries for cfg80211.
115
116	  If unsure, say N.
117
118config CFG80211_INTERNAL_REGDB
119	bool "use statically compiled regulatory rules database" if EXPERT
120	default n
121	depends on CFG80211
122	---help---
123	  This option generates an internal data structure representing
124	  the wireless regulatory rules described in net/wireless/db.txt
125	  and includes code to query that database.  This is an alternative
126	  to using CRDA for defining regulatory rules for the kernel.
127
128	  For details see:
129
130	  http://wireless.kernel.org/en/developers/Regulatory
131
132	  Most distributions have a CRDA package.  So if unsure, say N.
133
134config CFG80211_WEXT
135	bool "cfg80211 wireless extensions compatibility"
136	depends on CFG80211
137	select WEXT_CORE
138	help
139	  Enable this option if you need old userspace for wireless
140	  extensions with cfg80211-based drivers.
141
142config LIB80211
143	tristate
144	default n
145	help
146	  This options enables a library of common routines used
147	  by IEEE802.11 wireless LAN drivers.
148
149	  Drivers should select this themselves if needed.
150
151config LIB80211_CRYPT_WEP
152	tristate
153
154config LIB80211_CRYPT_CCMP
155	tristate
156
157config LIB80211_CRYPT_TKIP
158	tristate
159
160config LIB80211_DEBUG
161	bool "lib80211 debugging messages"
162	depends on LIB80211
163	default n
164	---help---
165	  You can enable this if you want verbose debugging messages
166	  from lib80211.
167
168	  If unsure, say N.
169