Blame view

net/mac80211/Kconfig 7.29 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
7
  	select CRYPTO_ARC4
  	select CRYPTO_AES
  	select CRC32
541a45a14   Bruno Randolf   nl80211/mac80211:...
8
  	select AVERAGE
f0706e828   Jiri Benc   [MAC80211]: Add m...
9
  	---help---
c40896de5   John W. Linville   net/mac80211/Kcon...
10
11
  	  This option enables the hardware independent IEEE 802.11
  	  networking stack.
f0706e828   Jiri Benc   [MAC80211]: Add m...
12

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

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

e5f5e7339   Adrian Bunk   build algorithms ...
20
  config MAC80211_RC_PID
6a108a14f   David Rientjes   kconfig: rename C...
21
  	bool "PID controller based rate control algorithm" if EXPERT
c2ef355bf   Andres Salomon   mac80211: give wa...
22
  	select MAC80211_HAS_RC
e5f5e7339   Adrian Bunk   build algorithms ...
23
24
25
26
  	---help---
  	  This option enables a TX rate control algorithm for
  	  mac80211 that uses a PID controller to select the TX
  	  rate.
cccf129f8   Felix Fietkau   mac80211: add the...
27
  config MAC80211_RC_MINSTREL
6a108a14f   David Rientjes   kconfig: rename C...
28
  	bool "Minstrel" if EXPERT
c2ef355bf   Andres Salomon   mac80211: give wa...
29
  	select MAC80211_HAS_RC
8eb41c936   Luis R. Rodriguez   mac80211: make Mi...
30
  	default y
cccf129f8   Felix Fietkau   mac80211: add the...
31
32
  	---help---
  	  This option enables the 'minstrel' TX rate control algorithm
ec8aa669b   Felix Fietkau   mac80211: add the...
33
  config MAC80211_RC_MINSTREL_HT
6a108a14f   David Rientjes   kconfig: rename C...
34
  	bool "Minstrel 802.11n support" if EXPERT
ec8aa669b   Felix Fietkau   mac80211: add the...
35
36
37
38
  	depends on MAC80211_RC_MINSTREL
  	default y
  	---help---
  	  This option enables 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
49
50
  
  config MAC80211_RC_DEFAULT_PID
  	bool "PID controller based rate control algorithm"
e5f5e7339   Adrian Bunk   build algorithms ...
51
  	depends on MAC80211_RC_PID
c21b39aca   Stefano Brivio   mac80211: make PI...
52
53
54
55
  	---help---
  	  Select the PID controller based rate control as the
  	  default rate control algorithm. You should choose
  	  this unless you know what you are doing.
cccf129f8   Felix Fietkau   mac80211: add the...
56
57
58
59
60
  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...
61
  endchoice
ac71c691e   Johannes Berg   mac80211: make si...
62

c21b39aca   Stefano Brivio   mac80211: make PI...
63
64
  config MAC80211_RC_DEFAULT
  	string
92b50c4b5   Helmut Schaa   mac82011: Allow s...
65
  	default "minstrel_ht" if MAC80211_RC_DEFAULT_MINSTREL && MAC80211_RC_MINSTREL_HT
cccf129f8   Felix Fietkau   mac80211: add the...
66
  	default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
8eb41c936   Luis R. Rodriguez   mac80211: make Mi...
67
  	default "pid" if MAC80211_RC_DEFAULT_PID
c21b39aca   Stefano Brivio   mac80211: make PI...
68
  	default ""
abd8ea22c   Luis R. Rodriguez   wireless: remove ...
69
  endif
ad0183759   Mattias Nissler   mac80211: add PID...
70

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

2f5ce793c   Johannes Berg   mac80211: enable ...
74
75
  config MAC80211_MESH
  	bool "Enable mac80211 mesh networking (pre-802.11s) support"
37659ff8e   Luis Carlos Cobo   mac80211: fix mes...
76
  	depends on MAC80211 && EXPERIMENTAL
2f5ce793c   Johannes Berg   mac80211: enable ...
77
  	---help---
5c142e8db   Johannes Berg   mac80211: clarify...
78
  	 This options enables support of Draft 802.11s mesh networking.
18889231e   Javier Cardona   mac80211: Move mp...
79
80
81
82
  	 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 ...
83

f0706e828   Jiri Benc   [MAC80211]: Add m...
84
85
  config MAC80211_LEDS
  	bool "Enable LED triggers"
bd8fd21df   Luca Tettamanti   wireless: Fix com...
86
  	depends on MAC80211
0bae35e14   Johannes Berg   leds: fix up depe...
87
  	depends on LEDS_CLASS
bd8fd21df   Luca Tettamanti   wireless: Fix com...
88
  	select LEDS_TRIGGERS
f0706e828   Jiri Benc   [MAC80211]: Add m...
89
  	---help---
c40896de5   John W. Linville   net/mac80211/Kcon...
90
91
  	  This option enables a few LED triggers for different
  	  packet receive/transmit events.
f0706e828   Jiri Benc   [MAC80211]: Add m...
92

e9f207f0f   Jiri Benc   [MAC80211]: Add d...
93
94
95
96
97
98
99
100
  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.
f4ea83dd7   Johannes Berg   mac80211: rework ...
101
102
103
104
105
  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 ...
106
107
108
  config MAC80211_NOINLINE
  	bool "Do not inline TX/RX handlers"
  	depends on MAC80211_DEBUG_MENU
f0706e828   Jiri Benc   [MAC80211]: Add m...
109
  	---help---
f4ea83dd7   Johannes Berg   mac80211: rework ...
110
111
112
113
114
115
116
117
  	  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...
118

f4ea83dd7   Johannes Berg   mac80211: rework ...
119
120
121
122
123
124
125
126
127
128
129
130
131
  	  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 ...
132
133
  
  config MAC80211_HT_DEBUG
f4ea83dd7   Johannes Berg   mac80211: rework ...
134
135
  	bool "Verbose HT debugging"
  	depends on MAC80211_DEBUG_MENU
c40896de5   John W. Linville   net/mac80211/Kcon...
136
137
138
  	---help---
  	  This option enables 802.11n High Throughput features
  	  debug tracing output.
f4ea83dd7   Johannes Berg   mac80211: rework ...
139
140
  	  It should not be selected on production systems as some
  	  of the messages are remotely triggerable.
f0706e828   Jiri Benc   [MAC80211]: Add m...
141

f4ea83dd7   Johannes Berg   mac80211: rework ...
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
  	  Do not select this option.
  
  config MAC80211_TKIP_DEBUG
  	bool "Verbose TKIP debugging"
  	depends on MAC80211_DEBUG_MENU
  	---help---
  	  Selecting this option causes mac80211 to print out
  	  very verbose TKIP debugging messages. It should not
  	  be selected on production systems as those messages
  	  are remotely triggerable.
  
  	  Do not select this option.
  
  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.
  
  config MAC80211_VERBOSE_PS_DEBUG
  	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.
  
  config MAC80211_VERBOSE_MPL_DEBUG
  	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...
190

7646887a5   Javier Cardona   mac80211: improve...
191
192
193
194
195
196
197
198
199
200
201
202
  config MAC80211_VERBOSE_MPATH_DEBUG
  	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.
27db2e423   Rui Paulo   mac80211: add MAC...
203
204
205
206
207
208
209
210
211
212
213
214
  config MAC80211_VERBOSE_MHWMP_DEBUG
  	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.
dfe018bf9   Arik Nemtsov   mac80211: handle ...
215
216
217
218
219
220
221
222
223
224
225
  config MAC80211_VERBOSE_TDLS_DEBUG
  	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...
226
227
  config MAC80211_DEBUG_COUNTERS
  	bool "Extra statistics for TX/RX debugging"
f4ea83dd7   Johannes Berg   mac80211: rework ...
228
229
  	depends on MAC80211_DEBUG_MENU
  	depends on MAC80211_DEBUGFS
f0706e828   Jiri Benc   [MAC80211]: Add m...
230
  	---help---
f4ea83dd7   Johannes Berg   mac80211: rework ...
231
232
233
  	  Selecting this option causes mac80211 to keep additional
  	  and very verbose statistics about TX and RX handler use
  	  and show them in debugfs.
2f5ce793c   Johannes Berg   mac80211: enable ...
234

f4ea83dd7   Johannes Berg   mac80211: rework ...
235
  	  If unsure, say N.