Blame view

net/mac80211/Kconfig 9.39 KB
f0706e828   Jiri Benc   [MAC80211]: Add m...
1
2
  config MAC80211
  	tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
0aa8204b4   Johannes Berg   cfg80211: fix Kco...
3
  	depends on CFG80211
f0706e828   Jiri Benc   [MAC80211]: Add m...
4
  	select CRYPTO
f0706e828   Jiri Benc   [MAC80211]: Add m...
5
6
  	select CRYPTO_ARC4
  	select CRYPTO_AES
7ec7c4a9a   Ard Biesheuvel   mac80211: port CC...
7
  	select CRYPTO_CCM
00b9cfa3f   Jouni Malinen   mac80111: Add GCM...
8
  	select CRYPTO_GCM
f0706e828   Jiri Benc   [MAC80211]: Add m...
9
  	select CRC32
f0706e828   Jiri Benc   [MAC80211]: Add m...
10
  	---help---
c40896de5   John W. Linville   net/mac80211/Kcon...
11
12
  	  This option enables the hardware independent IEEE 802.11
  	  networking stack.
f0706e828   Jiri Benc   [MAC80211]: Add m...
13

0aa8204b4   Johannes Berg   cfg80211: fix Kco...
14
15
  comment "CFG80211 needs to be enabled for MAC80211"
  	depends on CFG80211=n
abd8ea22c   Luis R. Rodriguez   wireless: remove ...
16
  if MAC80211 != n
c21b39aca   Stefano Brivio   mac80211: make PI...
17

c2ef355bf   Andres Salomon   mac80211: give wa...
18
  config MAC80211_HAS_RC
540005c7f   Jan Beulich   small adjustment ...
19
  	bool
c2ef355bf   Andres Salomon   mac80211: give wa...
20

cccf129f8   Felix Fietkau   mac80211: add the...
21
  config MAC80211_RC_MINSTREL
6a108a14f   David Rientjes   kconfig: rename C...
22
  	bool "Minstrel" if EXPERT
c2ef355bf   Andres Salomon   mac80211: give wa...
23
  	select MAC80211_HAS_RC
8eb41c936   Luis R. Rodriguez   mac80211: make Mi...
24
  	default y
cccf129f8   Felix Fietkau   mac80211: add the...
25
26
  	---help---
  	  This option enables the 'minstrel' TX rate control algorithm
ec8aa669b   Felix Fietkau   mac80211: add the...
27
  config MAC80211_RC_MINSTREL_HT
6a108a14f   David Rientjes   kconfig: rename C...
28
  	bool "Minstrel 802.11n support" if EXPERT
ec8aa669b   Felix Fietkau   mac80211: add the...
29
30
31
32
  	depends on MAC80211_RC_MINSTREL
  	default y
  	---help---
  	  This option enables the 'minstrel_ht' TX rate control algorithm
9208247d7   Karl Beldan   mac80211: minstre...
33
34
35
36
37
38
  config MAC80211_RC_MINSTREL_VHT
  	bool "Minstrel 802.11ac support" if EXPERT
  	depends on MAC80211_RC_MINSTREL_HT
  	default n
  	---help---
  	  This option enables VHT in the 'minstrel_ht' TX rate control algorithm
c21b39aca   Stefano Brivio   mac80211: make PI...
39
40
  choice
  	prompt "Default rate control algorithm"
c2ef355bf   Andres Salomon   mac80211: give wa...
41
  	depends on MAC80211_HAS_RC
8eb41c936   Luis R. Rodriguez   mac80211: make Mi...
42
  	default MAC80211_RC_DEFAULT_MINSTREL
c21b39aca   Stefano Brivio   mac80211: make PI...
43
44
45
  	---help---
  	  This option selects the default rate control algorithm
  	  mac80211 will use. Note that this default can still be
692105b8a   Matt LaPlante   trivial: fix typo...
46
  	  overridden through the ieee80211_default_rc_algo module
4b475898e   Johannes Berg   mac80211: better ...
47
  	  parameter if different algorithms are available.
c21b39aca   Stefano Brivio   mac80211: make PI...
48

cccf129f8   Felix Fietkau   mac80211: add the...
49
50
51
52
53
  config MAC80211_RC_DEFAULT_MINSTREL
  	bool "Minstrel"
  	depends on MAC80211_RC_MINSTREL
  	---help---
  	  Select Minstrel as the default rate control algorithm.
c21b39aca   Stefano Brivio   mac80211: make PI...
54
  endchoice
ac71c691e   Johannes Berg   mac80211: make si...
55

c21b39aca   Stefano Brivio   mac80211: make PI...
56
57
  config MAC80211_RC_DEFAULT
  	string
92b50c4b5   Helmut Schaa   mac82011: Allow s...
58
  	default "minstrel_ht" if MAC80211_RC_DEFAULT_MINSTREL && MAC80211_RC_MINSTREL_HT
cccf129f8   Felix Fietkau   mac80211: add the...
59
  	default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
c21b39aca   Stefano Brivio   mac80211: make PI...
60
  	default ""
abd8ea22c   Luis R. Rodriguez   wireless: remove ...
61
  endif
ad0183759   Mattias Nissler   mac80211: add PID...
62

c2ef355bf   Andres Salomon   mac80211: give wa...
63
  comment "Some wireless drivers require a rate control algorithm"
e46395a4b   Johannes Berg   mac80211: make ra...
64
  	depends on MAC80211 && MAC80211_HAS_RC=n
c2ef355bf   Andres Salomon   mac80211: give wa...
65

2f5ce793c   Johannes Berg   mac80211: enable ...
66
67
  config MAC80211_MESH
  	bool "Enable mac80211 mesh networking (pre-802.11s) support"
48f6edceb   Kees Cook   net/mac80211: rem...
68
  	depends on MAC80211
2f5ce793c   Johannes Berg   mac80211: enable ...
69
  	---help---
5c142e8db   Johannes Berg   mac80211: clarify...
70
  	 This options enables support of Draft 802.11s mesh networking.
18889231e   Javier Cardona   mac80211: Move mp...
71
72
73
74
  	 The implementation is based on Draft 2.08 of the Mesh Networking
  	 amendment.  However, no compliance with that draft is claimed or even
  	 possible, as drafts leave a number of identifiers to be defined after
  	 ratification.  For more information visit http://o11s.org/.
2f5ce793c   Johannes Berg   mac80211: enable ...
75

f0706e828   Jiri Benc   [MAC80211]: Add m...
76
77
  config MAC80211_LEDS
  	bool "Enable LED triggers"
bd8fd21df   Luca Tettamanti   wireless: Fix com...
78
  	depends on MAC80211
0bae35e14   Johannes Berg   leds: fix up depe...
79
  	depends on LEDS_CLASS
bd8fd21df   Luca Tettamanti   wireless: Fix com...
80
  	select LEDS_TRIGGERS
f0706e828   Jiri Benc   [MAC80211]: Add m...
81
  	---help---
c40896de5   John W. Linville   net/mac80211/Kcon...
82
83
  	  This option enables a few LED triggers for different
  	  packet receive/transmit events.
f0706e828   Jiri Benc   [MAC80211]: Add m...
84

e9f207f0f   Jiri Benc   [MAC80211]: Add d...
85
86
87
88
89
90
91
92
  config MAC80211_DEBUGFS
  	bool "Export mac80211 internals in DebugFS"
  	depends on MAC80211 && DEBUG_FS
  	---help---
  	  Select this to see extensive information about
  	  the internal state of mac80211 in debugfs.
  
  	  Say N unless you know you need this.
3fae02731   Johannes Berg   mac80211: trace d...
93
94
95
96
97
98
99
100
101
102
103
104
  config MAC80211_MESSAGE_TRACING
  	bool "Trace all mac80211 debug messages"
  	depends on MAC80211
  	---help---
  	  Select this option to have mac80211 register the
  	  mac80211_msg trace subsystem with tracepoints to
  	  collect all debugging messages, independent of
  	  printing them into the kernel log.
  
  	  The overhead in this option is that all the messages
  	  need to be present in the binary and formatted at
  	  runtime for tracing.
f4ea83dd7   Johannes Berg   mac80211: rework ...
105
106
107
108
109
  menuconfig MAC80211_DEBUG_MENU
  	bool "Select mac80211 debugging features"
  	depends on MAC80211
  	---help---
  	  This option collects various mac80211 debug settings.
f4ea83dd7   Johannes Berg   mac80211: rework ...
110
111
112
  config MAC80211_NOINLINE
  	bool "Do not inline TX/RX handlers"
  	depends on MAC80211_DEBUG_MENU
f0706e828   Jiri Benc   [MAC80211]: Add m...
113
  	---help---
f4ea83dd7   Johannes Berg   mac80211: rework ...
114
115
116
117
118
119
120
121
  	  This option affects code generation in mac80211, when
  	  selected some functions are marked "noinline" to allow
  	  easier debugging of problems in the transmit and receive
  	  paths.
  
  	  This option increases code size a bit and inserts a lot
  	  of function calls in the code, but is otherwise safe to
  	  enable.
f0706e828   Jiri Benc   [MAC80211]: Add m...
122

f4ea83dd7   Johannes Berg   mac80211: rework ...
123
124
125
126
127
128
129
130
131
132
133
134
135
  	  If unsure, say N unless you expect to be finding problems
  	  in mac80211.
  
  config MAC80211_VERBOSE_DEBUG
  	bool "Verbose debugging output"
  	depends on MAC80211_DEBUG_MENU
  	---help---
  	  Selecting this option causes mac80211 to print out
  	  many debugging messages. It should not be selected
  	  on production systems as some of the messages are
  	  remotely triggerable.
  
  	  Do not select this option.
82b3cad94   Ron Rindjunsky   mac80211: adding ...
136

bdcbd8e0e   Johannes Berg   mac80211: clean u...
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
  config MAC80211_MLME_DEBUG
  	bool "Verbose managed MLME output"
  	depends on MAC80211_DEBUG_MENU
  	---help---
  	  Selecting this option causes mac80211 to print out
  	  debugging messages for the managed-mode MLME. It
  	  should not be selected on production systems as some
  	  of the messages are remotely triggerable.
  
  	  Do not select this option.
  
  config MAC80211_STA_DEBUG
  	bool "Verbose station debugging"
  	depends on MAC80211_DEBUG_MENU
  	---help---
  	  Selecting this option causes mac80211 to print out
  	  debugging messages for station addition/removal.
  
  	  Do not select this option.
82b3cad94   Ron Rindjunsky   mac80211: adding ...
156
  config MAC80211_HT_DEBUG
f4ea83dd7   Johannes Berg   mac80211: rework ...
157
158
  	bool "Verbose HT debugging"
  	depends on MAC80211_DEBUG_MENU
c40896de5   John W. Linville   net/mac80211/Kcon...
159
160
161
  	---help---
  	  This option enables 802.11n High Throughput features
  	  debug tracing output.
f4ea83dd7   Johannes Berg   mac80211: rework ...
162
163
  	  It should not be selected on production systems as some
  	  of the messages are remotely triggerable.
f0706e828   Jiri Benc   [MAC80211]: Add m...
164

f4ea83dd7   Johannes Berg   mac80211: rework ...
165
  	  Do not select this option.
239281f80   Rostislav Lisovy   mac80211: 802.11p...
166
167
168
169
170
171
172
173
174
175
  config MAC80211_OCB_DEBUG
  	bool "Verbose OCB debugging"
  	depends on MAC80211_DEBUG_MENU
  	---help---
  	  Selecting this option causes mac80211 to print out
  	  very verbose OCB debugging messages. It should not
  	  be selected on production systems as those messages
  	  are remotely triggerable.
  
  	  Do not select this option.
f4ea83dd7   Johannes Berg   mac80211: rework ...
176
177
178
179
180
181
182
183
184
185
  config MAC80211_IBSS_DEBUG
  	bool "Verbose IBSS debugging"
  	depends on MAC80211_DEBUG_MENU
  	---help---
  	  Selecting this option causes mac80211 to print out
  	  very verbose IBSS debugging messages. It should not
  	  be selected on production systems as those messages
  	  are remotely triggerable.
  
  	  Do not select this option.
bdcbd8e0e   Johannes Berg   mac80211: clean u...
186
  config MAC80211_PS_DEBUG
f4ea83dd7   Johannes Berg   mac80211: rework ...
187
188
189
190
191
192
193
194
195
196
  	bool "Verbose powersave mode debugging"
  	depends on MAC80211_DEBUG_MENU
  	---help---
  	  Selecting this option causes mac80211 to print out very
  	  verbose power save mode debugging messages (when mac80211
  	  is an AP and has power saving stations.)
  	  It should not be selected on production systems as those
  	  messages are remotely triggerable.
  
  	  Do not select this option.
bdcbd8e0e   Johannes Berg   mac80211: clean u...
197
  config MAC80211_MPL_DEBUG
f4ea83dd7   Johannes Berg   mac80211: rework ...
198
199
200
201
202
203
204
205
206
207
208
  	bool "Verbose mesh peer link debugging"
  	depends on MAC80211_DEBUG_MENU
  	depends on MAC80211_MESH
  	---help---
  	  Selecting this option causes mac80211 to print out very
  	  verbose mesh peer link debugging messages (when mac80211
  	  is taking part in a mesh network).
  	  It should not be selected on production systems as those
  	  messages are remotely triggerable.
  
  	  Do not select this option.
f0706e828   Jiri Benc   [MAC80211]: Add m...
209

bdcbd8e0e   Johannes Berg   mac80211: clean u...
210
  config MAC80211_MPATH_DEBUG
7646887a5   Javier Cardona   mac80211: improve...
211
212
213
214
215
216
217
218
219
220
221
  	bool "Verbose mesh path debugging"
  	depends on MAC80211_DEBUG_MENU
  	depends on MAC80211_MESH
  	---help---
  	  Selecting this option causes mac80211 to print out very
  	  verbose mesh path selection debugging messages (when mac80211
  	  is taking part in a mesh network).
  	  It should not be selected on production systems as those
  	  messages are remotely triggerable.
  
  	  Do not select this option.
bdcbd8e0e   Johannes Berg   mac80211: clean u...
222
  config MAC80211_MHWMP_DEBUG
27db2e423   Rui Paulo   mac80211: add MAC...
223
224
225
226
227
228
229
230
231
232
233
  	bool "Verbose mesh HWMP routing debugging"
  	depends on MAC80211_DEBUG_MENU
  	depends on MAC80211_MESH
  	---help---
  	  Selecting this option causes mac80211 to print out very
  	  verbose mesh routing (HWMP) debugging messages (when mac80211
  	  is taking part in a mesh network).
  	  It should not be selected on production systems as those
  	  messages are remotely triggerable.
  
  	  Do not select this option.
bdcbd8e0e   Johannes Berg   mac80211: clean u...
234
  config MAC80211_MESH_SYNC_DEBUG
f53c6a0d7   Marco Porsch   mac80211: fix cop...
235
  	bool "Verbose mesh synchronization debugging"
dbf498fba   Javier Cardona   mac80211: Impleme...
236
237
238
239
240
241
242
243
  	depends on MAC80211_DEBUG_MENU
  	depends on MAC80211_MESH
  	---help---
  	  Selecting this option causes mac80211 to print out very verbose mesh
  	  synchronization debugging messages (when mac80211 is taking part in a
  	  mesh network).
  
  	  Do not select this option.
8f2535b92   Chun-Yeow Yeoh   mac80211: process...
244
245
246
247
248
249
250
251
252
253
254
  
  config MAC80211_MESH_CSA_DEBUG
  	bool "Verbose mesh channel switch debugging"
  	depends on MAC80211_DEBUG_MENU
  	depends on MAC80211_MESH
  	---help---
  	  Selecting this option causes mac80211 to print out very verbose mesh
  	  channel switch debugging messages (when mac80211 is taking part in a
  	  mesh network).
  
  	  Do not select this option.
dbf498fba   Javier Cardona   mac80211: Impleme...
255

3f52b7e32   Marco Porsch   mac80211: mesh po...
256
257
258
259
260
261
262
263
264
265
  config MAC80211_MESH_PS_DEBUG
  	bool "Verbose mesh powersave debugging"
  	depends on MAC80211_DEBUG_MENU
  	depends on MAC80211_MESH
  	---help---
  	  Selecting this option causes mac80211 to print out very verbose mesh
  	  powersave debugging messages (when mac80211 is taking part in a
  	  mesh network).
  
  	  Do not select this option.
bdcbd8e0e   Johannes Berg   mac80211: clean u...
266
  config MAC80211_TDLS_DEBUG
dfe018bf9   Arik Nemtsov   mac80211: handle ...
267
268
269
270
271
272
273
274
275
276
  	bool "Verbose TDLS debugging"
  	depends on MAC80211_DEBUG_MENU
  	---help---
  	  Selecting this option causes mac80211 to print out very
  	  verbose TDLS selection debugging messages (when mac80211
  	  is a TDLS STA).
  	  It should not be selected on production systems as those
  	  messages are remotely triggerable.
  
  	  Do not select this option.
f0706e828   Jiri Benc   [MAC80211]: Add m...
277
278
  config MAC80211_DEBUG_COUNTERS
  	bool "Extra statistics for TX/RX debugging"
f4ea83dd7   Johannes Berg   mac80211: rework ...
279
280
  	depends on MAC80211_DEBUG_MENU
  	depends on MAC80211_DEBUGFS
f0706e828   Jiri Benc   [MAC80211]: Add m...
281
  	---help---
f4ea83dd7   Johannes Berg   mac80211: rework ...
282
283
  	  Selecting this option causes mac80211 to keep additional
  	  and very verbose statistics about TX and RX handler use
c206ca670   Johannes Berg   mac80211: move do...
284
285
286
287
288
  	  as well as a few selected dot11 counters. These will be
  	  exposed in debugfs.
  
  	  Note that some of the counters are not concurrency safe
  	  and may thus not always be accurate.
2f5ce793c   Johannes Berg   mac80211: enable ...
289

f4ea83dd7   Johannes Berg   mac80211: rework ...
290
  	  If unsure, say N.
ebd82b39b   Johannes Berg   mac80211: make st...
291
292
293
294
295
296
297
298
299
300
  
  config MAC80211_STA_HASH_MAX_SIZE
  	int "Station hash table maximum size" if MAC80211_DEBUG_MENU
  	default 0
  	---help---
  	  Setting this option to a low value (e.g. 4) allows testing the
  	  hash table with collisions relatively deterministically (just
  	  connect more stations than the number selected here.)
  
  	  If unsure, leave the default of 0.