xref: /openbmc/linux/net/wireless/Kconfig (revision 63dc02bd)
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_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
88config CFG80211_DEBUGFS
89	bool "cfg80211 DebugFS entries"
90	depends on CFG80211
91	depends on DEBUG_FS
92	---help---
93	  You can enable this if you want to debugfs entries for cfg80211.
94
95	  If unsure, say N.
96
97config CFG80211_INTERNAL_REGDB
98	bool "use statically compiled regulatory rules database" if EXPERT
99	default n
100	depends on CFG80211
101	---help---
102	  This option generates an internal data structure representing
103	  the wireless regulatory rules described in net/wireless/db.txt
104	  and includes code to query that database.  This is an alternative
105	  to using CRDA for defining regulatory rules for the kernel.
106
107	  For details see:
108
109	  http://wireless.kernel.org/en/developers/Regulatory
110
111	  Most distributions have a CRDA package.  So if unsure, say N.
112
113config CFG80211_WEXT
114	bool "cfg80211 wireless extensions compatibility"
115	depends on CFG80211
116	select WEXT_CORE
117	default y
118	help
119	  Enable this option if you need old userspace for wireless
120	  extensions with cfg80211-based drivers.
121
122config WIRELESS_EXT_SYSFS
123	bool "Wireless extensions sysfs files"
124	depends on WEXT_CORE && SYSFS
125	help
126	  This option enables the deprecated wireless statistics
127	  files in /sys/class/net/*/wireless/. The same information
128	  is available via the ioctls as well.
129
130	  Say N. If you know you have ancient tools requiring it,
131	  like very old versions of hal (prior to 0.5.12 release),
132	  say Y and update the tools as soon as possible as this
133	  option will be removed soon.
134
135config LIB80211
136	tristate "Common routines for IEEE802.11 drivers"
137	default n
138	help
139	  This options enables a library of common routines used
140	  by IEEE802.11 wireless LAN drivers.
141
142	  Drivers should select this themselves if needed.  Say Y if
143	  you want this built into your kernel.
144
145config LIB80211_CRYPT_WEP
146	tristate
147
148config LIB80211_CRYPT_CCMP
149	tristate
150
151config LIB80211_CRYPT_TKIP
152	tristate
153
154config LIB80211_DEBUG
155	bool "lib80211 debugging messages"
156	depends on LIB80211
157	default n
158	---help---
159	  You can enable this if you want verbose debugging messages
160	  from lib80211.
161
162	  If unsure, say N.
163