xref: /openbmc/linux/net/mac80211/Kconfig (revision f15cbe6f)
1config MAC80211
2	tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
3	select CRYPTO
4	select CRYPTO_ECB
5	select CRYPTO_ARC4
6	select CRYPTO_AES
7	select CRC32
8	select WIRELESS_EXT
9	select CFG80211
10	---help---
11	  This option enables the hardware independent IEEE 802.11
12	  networking stack.
13
14menu "Rate control algorithm selection"
15	depends on MAC80211 != n
16
17config MAC80211_RC_PID
18	bool "PID controller based rate control algorithm" if EMBEDDED
19	default y
20	---help---
21	  This option enables a TX rate control algorithm for
22	  mac80211 that uses a PID controller to select the TX
23	  rate.
24
25choice
26	prompt "Default rate control algorithm"
27	default MAC80211_RC_DEFAULT_PID
28	---help---
29	  This option selects the default rate control algorithm
30	  mac80211 will use. Note that this default can still be
31	  overriden through the ieee80211_default_rc_algo module
32	  parameter if different algorithms are available.
33
34config MAC80211_RC_DEFAULT_PID
35	bool "PID controller based rate control algorithm"
36	depends on MAC80211_RC_PID
37	---help---
38	  Select the PID controller based rate control as the
39	  default rate control algorithm. You should choose
40	  this unless you know what you are doing.
41
42endchoice
43
44config MAC80211_RC_DEFAULT
45	string
46	default "pid" if MAC80211_RC_DEFAULT_PID
47	default ""
48
49endmenu
50
51config MAC80211_MESH
52	bool "Enable mac80211 mesh networking (pre-802.11s) support"
53	depends on MAC80211 && EXPERIMENTAL
54	---help---
55	 This options enables support of Draft 802.11s mesh networking.
56	 The implementation is based on Draft 1.08 of the Mesh Networking
57	 amendment. For more information visit http://o11s.org/.
58
59
60config MAC80211_LEDS
61	bool "Enable LED triggers"
62	depends on MAC80211
63	select NEW_LEDS
64	select LEDS_TRIGGERS
65	---help---
66	  This option enables a few LED triggers for different
67	  packet receive/transmit events.
68
69config MAC80211_DEBUGFS
70	bool "Export mac80211 internals in DebugFS"
71	depends on MAC80211 && DEBUG_FS
72	---help---
73	  Select this to see extensive information about
74	  the internal state of mac80211 in debugfs.
75
76	  Say N unless you know you need this.
77
78menuconfig MAC80211_DEBUG_MENU
79	bool "Select mac80211 debugging features"
80	depends on MAC80211
81	---help---
82	  This option collects various mac80211 debug settings.
83
84config MAC80211_DEBUG_PACKET_ALIGNMENT
85	bool "Enable packet alignment debugging"
86	depends on MAC80211_DEBUG_MENU
87	---help---
88	  This option is recommended for driver authors and strongly
89	  discouraged for everybody else, it will trigger a warning
90	  when a driver hands mac80211 a buffer that is aligned in
91	  a way that will cause problems with the IP stack on some
92	  architectures.
93
94	  Say N unless you're writing a mac80211 based driver.
95
96config MAC80211_NOINLINE
97	bool "Do not inline TX/RX handlers"
98	depends on MAC80211_DEBUG_MENU
99	---help---
100	  This option affects code generation in mac80211, when
101	  selected some functions are marked "noinline" to allow
102	  easier debugging of problems in the transmit and receive
103	  paths.
104
105	  This option increases code size a bit and inserts a lot
106	  of function calls in the code, but is otherwise safe to
107	  enable.
108
109	  If unsure, say N unless you expect to be finding problems
110	  in mac80211.
111
112config MAC80211_VERBOSE_DEBUG
113	bool "Verbose debugging output"
114	depends on MAC80211_DEBUG_MENU
115	---help---
116	  Selecting this option causes mac80211 to print out
117	  many debugging messages. It should not be selected
118	  on production systems as some of the messages are
119	  remotely triggerable.
120
121	  Do not select this option.
122
123config MAC80211_HT_DEBUG
124	bool "Verbose HT debugging"
125	depends on MAC80211_DEBUG_MENU
126	---help---
127	  This option enables 802.11n High Throughput features
128	  debug tracing output.
129
130	  It should not be selected on production systems as some
131	  of the messages are remotely triggerable.
132
133	  Do not select this option.
134
135config MAC80211_TKIP_DEBUG
136	bool "Verbose TKIP debugging"
137	depends on MAC80211_DEBUG_MENU
138	---help---
139	  Selecting this option causes mac80211 to print out
140	  very verbose TKIP debugging messages. It should not
141	  be selected on production systems as those messages
142	  are remotely triggerable.
143
144	  Do not select this option.
145
146config MAC80211_IBSS_DEBUG
147	bool "Verbose IBSS debugging"
148	depends on MAC80211_DEBUG_MENU
149	---help---
150	  Selecting this option causes mac80211 to print out
151	  very verbose IBSS debugging messages. It should not
152	  be selected on production systems as those messages
153	  are remotely triggerable.
154
155	  Do not select this option.
156
157config MAC80211_VERBOSE_PS_DEBUG
158	bool "Verbose powersave mode debugging"
159	depends on MAC80211_DEBUG_MENU
160	---help---
161	  Selecting this option causes mac80211 to print out very
162	  verbose power save mode debugging messages (when mac80211
163	  is an AP and has power saving stations.)
164	  It should not be selected on production systems as those
165	  messages are remotely triggerable.
166
167	  Do not select this option.
168
169config MAC80211_VERBOSE_MPL_DEBUG
170	bool "Verbose mesh peer link debugging"
171	depends on MAC80211_DEBUG_MENU
172	depends on MAC80211_MESH
173	---help---
174	  Selecting this option causes mac80211 to print out very
175	  verbose mesh peer link debugging messages (when mac80211
176	  is taking part in a mesh network).
177	  It should not be selected on production systems as those
178	  messages are remotely triggerable.
179
180	  Do not select this option.
181
182config MAC80211_LOWTX_FRAME_DUMP
183	bool "Debug frame dumping"
184	depends on MAC80211_DEBUG_MENU
185	---help---
186	  Selecting this option will cause the stack to
187	  print a message for each frame that is handed
188	  to the lowlevel driver for transmission. This
189	  message includes all MAC addresses and the
190	  frame control field.
191
192	  If unsure, say N and insert the debugging code
193	  you require into the driver you are debugging.
194
195config MAC80211_DEBUG_COUNTERS
196	bool "Extra statistics for TX/RX debugging"
197	depends on MAC80211_DEBUG_MENU
198	depends on MAC80211_DEBUGFS
199	---help---
200	  Selecting this option causes mac80211 to keep additional
201	  and very verbose statistics about TX and RX handler use
202	  and show them in debugfs.
203
204	  If unsure, say N.
205
206config MAC80211_VERBOSE_SPECT_MGMT_DEBUG
207	bool "Verbose Spectrum Management (IEEE 802.11h)debugging"
208	depends on MAC80211_DEBUG_MENU
209	---help---
210	  Say Y here to print out verbose Spectrum Management (IEEE 802.11h)
211	  debug messages.
212