Blame view

net/mac80211/Kconfig 8.68 KB
ec8f24b7f   Thomas Gleixner   treewide: Add SPD...
1
  # SPDX-License-Identifier: GPL-2.0-only
f0706e828   Jiri Benc   [MAC80211]: Add m...
2
3
  config MAC80211
  	tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
0aa8204b4   Johannes Berg   cfg80211: fix Kco...
4
  	depends on CFG80211
f0706e828   Jiri Benc   [MAC80211]: Add m...
5
  	select CRYPTO
5fdb37357   Ard Biesheuvel   net/mac80211: mov...
6
  	select CRYPTO_LIB_ARC4
f0706e828   Jiri Benc   [MAC80211]: Add m...
7
  	select CRYPTO_AES
7ec7c4a9a   Ard Biesheuvel   mac80211: port CC...
8
  	select CRYPTO_CCM
00b9cfa3f   Jouni Malinen   mac80111: Add GCM...
9
  	select CRYPTO_GCM
fe8de3da1   Ard Biesheuvel   mac80211: fils_ae...
10
  	select CRYPTO_CMAC
f0706e828   Jiri Benc   [MAC80211]: Add m...
11
  	select CRC32
a7f7f6248   Masahiro Yamada   treewide: replace...
12
  	help
c40896de5   John W. Linville   net/mac80211/Kcon...
13
14
  	  This option enables the hardware independent IEEE 802.11
  	  networking stack.
f0706e828   Jiri Benc   [MAC80211]: Add m...
15

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

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

cccf129f8   Felix Fietkau   mac80211: add the...
23
  config MAC80211_RC_MINSTREL
6a108a14f   David Rientjes   kconfig: rename C...
24
  	bool "Minstrel" if EXPERT
c2ef355bf   Andres Salomon   mac80211: give wa...
25
  	select MAC80211_HAS_RC
8eb41c936   Luis R. Rodriguez   mac80211: make Mi...
26
  	default y
a7f7f6248   Masahiro Yamada   treewide: replace...
27
  	help
cccf129f8   Felix Fietkau   mac80211: add the...
28
  	  This option enables the 'minstrel' TX rate control algorithm
c21b39aca   Stefano Brivio   mac80211: make PI...
29
30
  choice
  	prompt "Default rate control algorithm"
c2ef355bf   Andres Salomon   mac80211: give wa...
31
  	depends on MAC80211_HAS_RC
8eb41c936   Luis R. Rodriguez   mac80211: make Mi...
32
  	default MAC80211_RC_DEFAULT_MINSTREL
a7f7f6248   Masahiro Yamada   treewide: replace...
33
  	help
c21b39aca   Stefano Brivio   mac80211: make PI...
34
35
  	  This option selects the default rate control algorithm
  	  mac80211 will use. Note that this default can still be
692105b8a   Matt LaPlante   trivial: fix typo...
36
  	  overridden through the ieee80211_default_rc_algo module
4b475898e   Johannes Berg   mac80211: better ...
37
  	  parameter if different algorithms are available.
c21b39aca   Stefano Brivio   mac80211: make PI...
38

cccf129f8   Felix Fietkau   mac80211: add the...
39
40
41
  config MAC80211_RC_DEFAULT_MINSTREL
  	bool "Minstrel"
  	depends on MAC80211_RC_MINSTREL
a7f7f6248   Masahiro Yamada   treewide: replace...
42
  	help
cccf129f8   Felix Fietkau   mac80211: add the...
43
  	  Select Minstrel as the default rate control algorithm.
c21b39aca   Stefano Brivio   mac80211: make PI...
44
  endchoice
ac71c691e   Johannes Berg   mac80211: make si...
45

c21b39aca   Stefano Brivio   mac80211: make PI...
46
47
  config MAC80211_RC_DEFAULT
  	string
b1c4f6833   Felix Fietkau   mac80211: minstre...
48
  	default "minstrel_ht" if MAC80211_RC_DEFAULT_MINSTREL
c21b39aca   Stefano Brivio   mac80211: make PI...
49
  	default ""
abd8ea22c   Luis R. Rodriguez   wireless: remove ...
50
  endif
ad0183759   Mattias Nissler   mac80211: add PID...
51

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

2f5ce793c   Johannes Berg   mac80211: enable ...
55
  config MAC80211_MESH
c8d10cbda   Bob Copeland   mac80211: rewrite...
56
  	bool "Enable mac80211 mesh networking support"
48f6edceb   Kees Cook   net/mac80211: rem...
57
  	depends on MAC80211
a7f7f6248   Masahiro Yamada   treewide: replace...
58
  	help
c8d10cbda   Bob Copeland   mac80211: rewrite...
59
60
61
62
  	  Select this option to enable 802.11 mesh operation in mac80211
  	  drivers that support it.  802.11 mesh connects multiple stations
  	  over (possibly multi-hop) wireless links to form a single logical
  	  LAN.
2f5ce793c   Johannes Berg   mac80211: enable ...
63

f0706e828   Jiri Benc   [MAC80211]: Add m...
64
65
  config MAC80211_LEDS
  	bool "Enable LED triggers"
bd8fd21df   Luca Tettamanti   wireless: Fix com...
66
  	depends on MAC80211
0bae35e14   Johannes Berg   leds: fix up depe...
67
  	depends on LEDS_CLASS
bd8fd21df   Luca Tettamanti   wireless: Fix com...
68
  	select LEDS_TRIGGERS
a7f7f6248   Masahiro Yamada   treewide: replace...
69
  	help
c40896de5   John W. Linville   net/mac80211/Kcon...
70
71
  	  This option enables a few LED triggers for different
  	  packet receive/transmit events.
f0706e828   Jiri Benc   [MAC80211]: Add m...
72

e9f207f0f   Jiri Benc   [MAC80211]: Add d...
73
74
75
  config MAC80211_DEBUGFS
  	bool "Export mac80211 internals in DebugFS"
  	depends on MAC80211 && DEBUG_FS
a7f7f6248   Masahiro Yamada   treewide: replace...
76
  	help
e9f207f0f   Jiri Benc   [MAC80211]: Add d...
77
78
79
80
  	  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...
81
82
83
  config MAC80211_MESSAGE_TRACING
  	bool "Trace all mac80211 debug messages"
  	depends on MAC80211
a7f7f6248   Masahiro Yamada   treewide: replace...
84
  	help
3fae02731   Johannes Berg   mac80211: trace d...
85
86
87
88
89
90
91
92
  	  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 ...
93
94
95
  menuconfig MAC80211_DEBUG_MENU
  	bool "Select mac80211 debugging features"
  	depends on MAC80211
a7f7f6248   Masahiro Yamada   treewide: replace...
96
  	help
f4ea83dd7   Johannes Berg   mac80211: rework ...
97
  	  This option collects various mac80211 debug settings.
f4ea83dd7   Johannes Berg   mac80211: rework ...
98
99
100
  config MAC80211_NOINLINE
  	bool "Do not inline TX/RX handlers"
  	depends on MAC80211_DEBUG_MENU
a7f7f6248   Masahiro Yamada   treewide: replace...
101
  	help
f4ea83dd7   Johannes Berg   mac80211: rework ...
102
103
104
105
106
107
108
109
  	  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...
110

f4ea83dd7   Johannes Berg   mac80211: rework ...
111
112
113
114
115
116
  	  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
a7f7f6248   Masahiro Yamada   treewide: replace...
117
  	help
f4ea83dd7   Johannes Berg   mac80211: rework ...
118
119
120
121
122
123
  	  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 ...
124

bdcbd8e0e   Johannes Berg   mac80211: clean u...
125
126
127
  config MAC80211_MLME_DEBUG
  	bool "Verbose managed MLME output"
  	depends on MAC80211_DEBUG_MENU
a7f7f6248   Masahiro Yamada   treewide: replace...
128
  	help
bdcbd8e0e   Johannes Berg   mac80211: clean u...
129
130
131
132
133
134
135
136
137
138
  	  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
a7f7f6248   Masahiro Yamada   treewide: replace...
139
  	help
bdcbd8e0e   Johannes Berg   mac80211: clean u...
140
141
142
143
  	  Selecting this option causes mac80211 to print out
  	  debugging messages for station addition/removal.
  
  	  Do not select this option.
82b3cad94   Ron Rindjunsky   mac80211: adding ...
144
  config MAC80211_HT_DEBUG
f4ea83dd7   Johannes Berg   mac80211: rework ...
145
146
  	bool "Verbose HT debugging"
  	depends on MAC80211_DEBUG_MENU
a7f7f6248   Masahiro Yamada   treewide: replace...
147
  	help
c40896de5   John W. Linville   net/mac80211/Kcon...
148
149
  	  This option enables 802.11n High Throughput features
  	  debug tracing output.
f4ea83dd7   Johannes Berg   mac80211: rework ...
150
151
  	  It should not be selected on production systems as some
  	  of the messages are remotely triggerable.
f0706e828   Jiri Benc   [MAC80211]: Add m...
152

f4ea83dd7   Johannes Berg   mac80211: rework ...
153
  	  Do not select this option.
239281f80   Rostislav Lisovy   mac80211: 802.11p...
154
155
156
  config MAC80211_OCB_DEBUG
  	bool "Verbose OCB debugging"
  	depends on MAC80211_DEBUG_MENU
a7f7f6248   Masahiro Yamada   treewide: replace...
157
  	help
239281f80   Rostislav Lisovy   mac80211: 802.11p...
158
159
160
161
162
163
  	  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 ...
164
165
166
  config MAC80211_IBSS_DEBUG
  	bool "Verbose IBSS debugging"
  	depends on MAC80211_DEBUG_MENU
a7f7f6248   Masahiro Yamada   treewide: replace...
167
  	help
f4ea83dd7   Johannes Berg   mac80211: rework ...
168
169
170
171
172
173
  	  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...
174
  config MAC80211_PS_DEBUG
f4ea83dd7   Johannes Berg   mac80211: rework ...
175
176
  	bool "Verbose powersave mode debugging"
  	depends on MAC80211_DEBUG_MENU
a7f7f6248   Masahiro Yamada   treewide: replace...
177
  	help
f4ea83dd7   Johannes Berg   mac80211: rework ...
178
179
180
181
182
183
184
  	  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...
185
  config MAC80211_MPL_DEBUG
f4ea83dd7   Johannes Berg   mac80211: rework ...
186
187
188
  	bool "Verbose mesh peer link debugging"
  	depends on MAC80211_DEBUG_MENU
  	depends on MAC80211_MESH
a7f7f6248   Masahiro Yamada   treewide: replace...
189
  	help
f4ea83dd7   Johannes Berg   mac80211: rework ...
190
191
192
193
194
195
196
  	  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...
197

bdcbd8e0e   Johannes Berg   mac80211: clean u...
198
  config MAC80211_MPATH_DEBUG
7646887a5   Javier Cardona   mac80211: improve...
199
200
201
  	bool "Verbose mesh path debugging"
  	depends on MAC80211_DEBUG_MENU
  	depends on MAC80211_MESH
a7f7f6248   Masahiro Yamada   treewide: replace...
202
  	help
7646887a5   Javier Cardona   mac80211: improve...
203
204
205
206
207
208
209
  	  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...
210
  config MAC80211_MHWMP_DEBUG
27db2e423   Rui Paulo   mac80211: add MAC...
211
212
213
  	bool "Verbose mesh HWMP routing debugging"
  	depends on MAC80211_DEBUG_MENU
  	depends on MAC80211_MESH
a7f7f6248   Masahiro Yamada   treewide: replace...
214
  	help
27db2e423   Rui Paulo   mac80211: add MAC...
215
216
217
218
219
220
221
  	  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...
222
  config MAC80211_MESH_SYNC_DEBUG
f53c6a0d7   Marco Porsch   mac80211: fix cop...
223
  	bool "Verbose mesh synchronization debugging"
dbf498fba   Javier Cardona   mac80211: Impleme...
224
225
  	depends on MAC80211_DEBUG_MENU
  	depends on MAC80211_MESH
a7f7f6248   Masahiro Yamada   treewide: replace...
226
  	help
dbf498fba   Javier Cardona   mac80211: Impleme...
227
228
229
230
231
  	  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...
232
233
234
235
236
  
  config MAC80211_MESH_CSA_DEBUG
  	bool "Verbose mesh channel switch debugging"
  	depends on MAC80211_DEBUG_MENU
  	depends on MAC80211_MESH
a7f7f6248   Masahiro Yamada   treewide: replace...
237
  	help
8f2535b92   Chun-Yeow Yeoh   mac80211: process...
238
239
240
241
242
  	  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...
243

3f52b7e32   Marco Porsch   mac80211: mesh po...
244
245
246
247
  config MAC80211_MESH_PS_DEBUG
  	bool "Verbose mesh powersave debugging"
  	depends on MAC80211_DEBUG_MENU
  	depends on MAC80211_MESH
a7f7f6248   Masahiro Yamada   treewide: replace...
248
  	help
3f52b7e32   Marco Porsch   mac80211: mesh po...
249
250
251
252
253
  	  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...
254
  config MAC80211_TDLS_DEBUG
dfe018bf9   Arik Nemtsov   mac80211: handle ...
255
256
  	bool "Verbose TDLS debugging"
  	depends on MAC80211_DEBUG_MENU
a7f7f6248   Masahiro Yamada   treewide: replace...
257
  	help
dfe018bf9   Arik Nemtsov   mac80211: handle ...
258
259
260
261
262
263
264
  	  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...
265
266
  config MAC80211_DEBUG_COUNTERS
  	bool "Extra statistics for TX/RX debugging"
f4ea83dd7   Johannes Berg   mac80211: rework ...
267
268
  	depends on MAC80211_DEBUG_MENU
  	depends on MAC80211_DEBUGFS
a7f7f6248   Masahiro Yamada   treewide: replace...
269
  	help
f4ea83dd7   Johannes Berg   mac80211: rework ...
270
271
  	  Selecting this option causes mac80211 to keep additional
  	  and very verbose statistics about TX and RX handler use
c206ca670   Johannes Berg   mac80211: move do...
272
273
274
275
276
  	  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 ...
277

f4ea83dd7   Johannes Berg   mac80211: rework ...
278
  	  If unsure, say N.
ebd82b39b   Johannes Berg   mac80211: make st...
279
280
281
282
  
  config MAC80211_STA_HASH_MAX_SIZE
  	int "Station hash table maximum size" if MAC80211_DEBUG_MENU
  	default 0
a7f7f6248   Masahiro Yamada   treewide: replace...
283
  	help
ebd82b39b   Johannes Berg   mac80211: make st...
284
285
286
287
288
  	  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.