hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/net/mac80211/Kconfig
....@@ -1,14 +1,15 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config MAC80211
23 tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
34 depends on CFG80211
45 select CRYPTO
5
- select CRYPTO_ARC4
6
+ select CRYPTO_LIB_ARC4
67 select CRYPTO_AES
78 select CRYPTO_CCM
89 select CRYPTO_GCM
910 select CRYPTO_CMAC
1011 select CRC32
11
- ---help---
12
+ help
1213 This option enables the hardware independent IEEE 802.11
1314 networking stack.
1415
....@@ -24,28 +25,14 @@
2425 bool "Minstrel" if EXPERT
2526 select MAC80211_HAS_RC
2627 default y
27
- ---help---
28
+ help
2829 This option enables the 'minstrel' TX rate control algorithm
29
-
30
-config MAC80211_RC_MINSTREL_HT
31
- bool "Minstrel 802.11n support" if EXPERT
32
- depends on MAC80211_RC_MINSTREL
33
- default y
34
- ---help---
35
- This option enables the 'minstrel_ht' TX rate control algorithm
36
-
37
-config MAC80211_RC_MINSTREL_VHT
38
- bool "Minstrel 802.11ac support" if EXPERT
39
- depends on MAC80211_RC_MINSTREL_HT
40
- default n
41
- ---help---
42
- This option enables VHT in the 'minstrel_ht' TX rate control algorithm
4330
4431 choice
4532 prompt "Default rate control algorithm"
4633 depends on MAC80211_HAS_RC
4734 default MAC80211_RC_DEFAULT_MINSTREL
48
- ---help---
35
+ help
4936 This option selects the default rate control algorithm
5037 mac80211 will use. Note that this default can still be
5138 overridden through the ieee80211_default_rc_algo module
....@@ -54,7 +41,7 @@
5441 config MAC80211_RC_DEFAULT_MINSTREL
5542 bool "Minstrel"
5643 depends on MAC80211_RC_MINSTREL
57
- ---help---
44
+ help
5845 Select Minstrel as the default rate control algorithm.
5946
6047
....@@ -62,8 +49,7 @@
6249
6350 config MAC80211_RC_DEFAULT
6451 string
65
- default "minstrel_ht" if MAC80211_RC_DEFAULT_MINSTREL && MAC80211_RC_MINSTREL_HT
66
- default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
52
+ default "minstrel_ht" if MAC80211_RC_DEFAULT_MINSTREL
6753 default ""
6854
6955 endif
....@@ -72,28 +58,27 @@
7258 depends on MAC80211 && MAC80211_HAS_RC=n
7359
7460 config MAC80211_MESH
75
- bool "Enable mac80211 mesh networking (pre-802.11s) support"
61
+ bool "Enable mac80211 mesh networking support"
7662 depends on MAC80211
77
- ---help---
78
- This options enables support of Draft 802.11s mesh networking.
79
- The implementation is based on Draft 2.08 of the Mesh Networking
80
- amendment. However, no compliance with that draft is claimed or even
81
- possible, as drafts leave a number of identifiers to be defined after
82
- ratification. For more information visit http://o11s.org/.
63
+ help
64
+ Select this option to enable 802.11 mesh operation in mac80211
65
+ drivers that support it. 802.11 mesh connects multiple stations
66
+ over (possibly multi-hop) wireless links to form a single logical
67
+ LAN.
8368
8469 config MAC80211_LEDS
8570 bool "Enable LED triggers"
8671 depends on MAC80211
87
- depends on LEDS_CLASS
72
+ depends on LEDS_CLASS=y || LEDS_CLASS=MAC80211
8873 select LEDS_TRIGGERS
89
- ---help---
74
+ help
9075 This option enables a few LED triggers for different
9176 packet receive/transmit events.
9277
9378 config MAC80211_DEBUGFS
9479 bool "Export mac80211 internals in DebugFS"
9580 depends on MAC80211 && DEBUG_FS
96
- ---help---
81
+ help
9782 Select this to see extensive information about
9883 the internal state of mac80211 in debugfs.
9984
....@@ -102,7 +87,7 @@
10287 config MAC80211_MESSAGE_TRACING
10388 bool "Trace all mac80211 debug messages"
10489 depends on MAC80211
105
- ---help---
90
+ help
10691 Select this option to have mac80211 register the
10792 mac80211_msg trace subsystem with tracepoints to
10893 collect all debugging messages, independent of
....@@ -115,13 +100,13 @@
115100 menuconfig MAC80211_DEBUG_MENU
116101 bool "Select mac80211 debugging features"
117102 depends on MAC80211
118
- ---help---
103
+ help
119104 This option collects various mac80211 debug settings.
120105
121106 config MAC80211_NOINLINE
122107 bool "Do not inline TX/RX handlers"
123108 depends on MAC80211_DEBUG_MENU
124
- ---help---
109
+ help
125110 This option affects code generation in mac80211, when
126111 selected some functions are marked "noinline" to allow
127112 easier debugging of problems in the transmit and receive
....@@ -137,7 +122,7 @@
137122 config MAC80211_VERBOSE_DEBUG
138123 bool "Verbose debugging output"
139124 depends on MAC80211_DEBUG_MENU
140
- ---help---
125
+ help
141126 Selecting this option causes mac80211 to print out
142127 many debugging messages. It should not be selected
143128 on production systems as some of the messages are
....@@ -148,7 +133,7 @@
148133 config MAC80211_MLME_DEBUG
149134 bool "Verbose managed MLME output"
150135 depends on MAC80211_DEBUG_MENU
151
- ---help---
136
+ help
152137 Selecting this option causes mac80211 to print out
153138 debugging messages for the managed-mode MLME. It
154139 should not be selected on production systems as some
....@@ -159,7 +144,7 @@
159144 config MAC80211_STA_DEBUG
160145 bool "Verbose station debugging"
161146 depends on MAC80211_DEBUG_MENU
162
- ---help---
147
+ help
163148 Selecting this option causes mac80211 to print out
164149 debugging messages for station addition/removal.
165150
....@@ -168,7 +153,7 @@
168153 config MAC80211_HT_DEBUG
169154 bool "Verbose HT debugging"
170155 depends on MAC80211_DEBUG_MENU
171
- ---help---
156
+ help
172157 This option enables 802.11n High Throughput features
173158 debug tracing output.
174159
....@@ -180,7 +165,7 @@
180165 config MAC80211_OCB_DEBUG
181166 bool "Verbose OCB debugging"
182167 depends on MAC80211_DEBUG_MENU
183
- ---help---
168
+ help
184169 Selecting this option causes mac80211 to print out
185170 very verbose OCB debugging messages. It should not
186171 be selected on production systems as those messages
....@@ -191,7 +176,7 @@
191176 config MAC80211_IBSS_DEBUG
192177 bool "Verbose IBSS debugging"
193178 depends on MAC80211_DEBUG_MENU
194
- ---help---
179
+ help
195180 Selecting this option causes mac80211 to print out
196181 very verbose IBSS debugging messages. It should not
197182 be selected on production systems as those messages
....@@ -202,7 +187,7 @@
202187 config MAC80211_PS_DEBUG
203188 bool "Verbose powersave mode debugging"
204189 depends on MAC80211_DEBUG_MENU
205
- ---help---
190
+ help
206191 Selecting this option causes mac80211 to print out very
207192 verbose power save mode debugging messages (when mac80211
208193 is an AP and has power saving stations.)
....@@ -215,7 +200,7 @@
215200 bool "Verbose mesh peer link debugging"
216201 depends on MAC80211_DEBUG_MENU
217202 depends on MAC80211_MESH
218
- ---help---
203
+ help
219204 Selecting this option causes mac80211 to print out very
220205 verbose mesh peer link debugging messages (when mac80211
221206 is taking part in a mesh network).
....@@ -228,7 +213,7 @@
228213 bool "Verbose mesh path debugging"
229214 depends on MAC80211_DEBUG_MENU
230215 depends on MAC80211_MESH
231
- ---help---
216
+ help
232217 Selecting this option causes mac80211 to print out very
233218 verbose mesh path selection debugging messages (when mac80211
234219 is taking part in a mesh network).
....@@ -241,7 +226,7 @@
241226 bool "Verbose mesh HWMP routing debugging"
242227 depends on MAC80211_DEBUG_MENU
243228 depends on MAC80211_MESH
244
- ---help---
229
+ help
245230 Selecting this option causes mac80211 to print out very
246231 verbose mesh routing (HWMP) debugging messages (when mac80211
247232 is taking part in a mesh network).
....@@ -254,7 +239,7 @@
254239 bool "Verbose mesh synchronization debugging"
255240 depends on MAC80211_DEBUG_MENU
256241 depends on MAC80211_MESH
257
- ---help---
242
+ help
258243 Selecting this option causes mac80211 to print out very verbose mesh
259244 synchronization debugging messages (when mac80211 is taking part in a
260245 mesh network).
....@@ -265,7 +250,7 @@
265250 bool "Verbose mesh channel switch debugging"
266251 depends on MAC80211_DEBUG_MENU
267252 depends on MAC80211_MESH
268
- ---help---
253
+ help
269254 Selecting this option causes mac80211 to print out very verbose mesh
270255 channel switch debugging messages (when mac80211 is taking part in a
271256 mesh network).
....@@ -276,7 +261,7 @@
276261 bool "Verbose mesh powersave debugging"
277262 depends on MAC80211_DEBUG_MENU
278263 depends on MAC80211_MESH
279
- ---help---
264
+ help
280265 Selecting this option causes mac80211 to print out very verbose mesh
281266 powersave debugging messages (when mac80211 is taking part in a
282267 mesh network).
....@@ -286,7 +271,7 @@
286271 config MAC80211_TDLS_DEBUG
287272 bool "Verbose TDLS debugging"
288273 depends on MAC80211_DEBUG_MENU
289
- ---help---
274
+ help
290275 Selecting this option causes mac80211 to print out very
291276 verbose TDLS selection debugging messages (when mac80211
292277 is a TDLS STA).
....@@ -299,7 +284,7 @@
299284 bool "Extra statistics for TX/RX debugging"
300285 depends on MAC80211_DEBUG_MENU
301286 depends on MAC80211_DEBUGFS
302
- ---help---
287
+ help
303288 Selecting this option causes mac80211 to keep additional
304289 and very verbose statistics about TX and RX handler use
305290 as well as a few selected dot11 counters. These will be
....@@ -313,7 +298,7 @@
313298 config MAC80211_STA_HASH_MAX_SIZE
314299 int "Station hash table maximum size" if MAC80211_DEBUG_MENU
315300 default 0
316
- ---help---
301
+ help
317302 Setting this option to a low value (e.g. 4) allows testing the
318303 hash table with collisions relatively deterministically (just
319304 connect more stations than the number selected here.)