1 # SPDX-License-Identifier: GPL-2.0-only << 2 config MAC80211 1 config MAC80211 3 tristate "Generic IEEE 802.11 Networki 2 tristate "Generic IEEE 802.11 Networking Stack (mac80211)" 4 depends on CFG80211 3 depends on CFG80211 5 select CRYPTO 4 select CRYPTO 6 select CRYPTO_LIB_ARC4 !! 5 select CRYPTO_ARC4 7 select CRYPTO_AES 6 select CRYPTO_AES 8 select CRYPTO_CCM 7 select CRYPTO_CCM 9 select CRYPTO_GCM 8 select CRYPTO_GCM 10 select CRYPTO_CMAC << 11 select CRC32 9 select CRC32 12 help !! 10 ---help--- 13 This option enables the hardware ind 11 This option enables the hardware independent IEEE 802.11 14 networking stack. 12 networking stack. 15 13 16 comment "CFG80211 needs to be enabled for MAC8 14 comment "CFG80211 needs to be enabled for MAC80211" 17 depends on CFG80211=n 15 depends on CFG80211=n 18 16 19 if MAC80211 != n 17 if MAC80211 != n 20 18 21 config MAC80211_HAS_RC 19 config MAC80211_HAS_RC 22 bool 20 bool 23 21 24 config MAC80211_RC_MINSTREL 22 config MAC80211_RC_MINSTREL 25 bool "Minstrel" if EXPERT 23 bool "Minstrel" if EXPERT 26 select MAC80211_HAS_RC 24 select MAC80211_HAS_RC 27 default y 25 default y 28 help !! 26 ---help--- 29 This option enables the 'minstrel' T 27 This option enables the 'minstrel' TX rate control algorithm 30 28 >> 29 config MAC80211_RC_MINSTREL_HT >> 30 bool "Minstrel 802.11n support" if EXPERT >> 31 depends on MAC80211_RC_MINSTREL >> 32 default y >> 33 ---help--- >> 34 This option enables the 'minstrel_ht' TX rate control algorithm >> 35 >> 36 config MAC80211_RC_MINSTREL_VHT >> 37 bool "Minstrel 802.11ac support" if EXPERT >> 38 depends on MAC80211_RC_MINSTREL_HT >> 39 default n >> 40 ---help--- >> 41 This option enables VHT in the 'minstrel_ht' TX rate control algorithm >> 42 31 choice 43 choice 32 prompt "Default rate control algorithm 44 prompt "Default rate control algorithm" 33 depends on MAC80211_HAS_RC 45 depends on MAC80211_HAS_RC 34 default MAC80211_RC_DEFAULT_MINSTREL 46 default MAC80211_RC_DEFAULT_MINSTREL 35 help !! 47 ---help--- 36 This option selects the default rate 48 This option selects the default rate control algorithm 37 mac80211 will use. Note that this de 49 mac80211 will use. Note that this default can still be 38 overridden through the ieee80211_def 50 overridden through the ieee80211_default_rc_algo module 39 parameter if different algorithms ar 51 parameter if different algorithms are available. 40 52 41 config MAC80211_RC_DEFAULT_MINSTREL 53 config MAC80211_RC_DEFAULT_MINSTREL 42 bool "Minstrel" 54 bool "Minstrel" 43 depends on MAC80211_RC_MINSTREL 55 depends on MAC80211_RC_MINSTREL 44 help !! 56 ---help--- 45 Select Minstrel as the default rate 57 Select Minstrel as the default rate control algorithm. 46 58 47 59 48 endchoice 60 endchoice 49 61 50 config MAC80211_RC_DEFAULT 62 config MAC80211_RC_DEFAULT 51 string 63 string 52 default "minstrel_ht" if MAC80211_RC_D !! 64 default "minstrel_ht" if MAC80211_RC_DEFAULT_MINSTREL && MAC80211_RC_MINSTREL_HT >> 65 default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL 53 default "" 66 default "" 54 67 55 endif 68 endif 56 69 57 comment "Some wireless drivers require a rate 70 comment "Some wireless drivers require a rate control algorithm" 58 depends on MAC80211 && MAC80211_HAS_RC 71 depends on MAC80211 && MAC80211_HAS_RC=n 59 72 60 config MAC80211_KUNIT_TEST << 61 tristate "KUnit tests for mac80211" if << 62 depends on KUNIT << 63 depends on MAC80211 << 64 default KUNIT_ALL_TESTS << 65 help << 66 Enable this option to test mac80211 << 67 << 68 If unsure, say N. << 69 << 70 config MAC80211_MESH 73 config MAC80211_MESH 71 bool "Enable mac80211 mesh networking !! 74 bool "Enable mac80211 mesh networking (pre-802.11s) support" 72 depends on MAC80211 75 depends on MAC80211 73 help !! 76 ---help--- 74 Select this option to enable 802.11 !! 77 This options enables support of Draft 802.11s mesh networking. 75 drivers that support it. 802.11 mes !! 78 The implementation is based on Draft 2.08 of the Mesh Networking 76 over (possibly multi-hop) wireless l !! 79 amendment. However, no compliance with that draft is claimed or even 77 LAN. !! 80 possible, as drafts leave a number of identifiers to be defined after >> 81 ratification. For more information visit http://o11s.org/. 78 82 79 config MAC80211_LEDS 83 config MAC80211_LEDS 80 bool "Enable LED triggers" 84 bool "Enable LED triggers" 81 depends on MAC80211 85 depends on MAC80211 82 depends on LEDS_CLASS=y || LEDS_CLASS= !! 86 depends on LEDS_CLASS 83 select LEDS_TRIGGERS 87 select LEDS_TRIGGERS 84 help !! 88 ---help--- 85 This option enables a few LED trigge 89 This option enables a few LED triggers for different 86 packet receive/transmit events. 90 packet receive/transmit events. 87 91 88 config MAC80211_DEBUGFS 92 config MAC80211_DEBUGFS 89 bool "Export mac80211 internals in Deb 93 bool "Export mac80211 internals in DebugFS" 90 depends on MAC80211 && CFG80211_DEBUGF !! 94 depends on MAC80211 && DEBUG_FS 91 help !! 95 ---help--- 92 Select this to see extensive informa 96 Select this to see extensive information about 93 the internal state of mac80211 in de 97 the internal state of mac80211 in debugfs. 94 98 95 Say N unless you know you need this. 99 Say N unless you know you need this. 96 100 97 config MAC80211_MESSAGE_TRACING 101 config MAC80211_MESSAGE_TRACING 98 bool "Trace all mac80211 debug message 102 bool "Trace all mac80211 debug messages" 99 depends on MAC80211 && TRACING !! 103 depends on MAC80211 100 help !! 104 ---help--- 101 Select this option to have mac80211 105 Select this option to have mac80211 register the 102 mac80211_msg trace subsystem with tr 106 mac80211_msg trace subsystem with tracepoints to 103 collect all debugging messages, inde 107 collect all debugging messages, independent of 104 printing them into the kernel log. 108 printing them into the kernel log. 105 109 106 The overhead in this option is that 110 The overhead in this option is that all the messages 107 need to be present in the binary and 111 need to be present in the binary and formatted at 108 runtime for tracing. 112 runtime for tracing. 109 113 110 menuconfig MAC80211_DEBUG_MENU 114 menuconfig MAC80211_DEBUG_MENU 111 bool "Select mac80211 debugging featur 115 bool "Select mac80211 debugging features" 112 depends on MAC80211 116 depends on MAC80211 113 help !! 117 ---help--- 114 This option collects various mac8021 118 This option collects various mac80211 debug settings. 115 119 116 config MAC80211_NOINLINE 120 config MAC80211_NOINLINE 117 bool "Do not inline TX/RX handlers" 121 bool "Do not inline TX/RX handlers" 118 depends on MAC80211_DEBUG_MENU 122 depends on MAC80211_DEBUG_MENU 119 help !! 123 ---help--- 120 This option affects code generation 124 This option affects code generation in mac80211, when 121 selected some functions are marked " 125 selected some functions are marked "noinline" to allow 122 easier debugging of problems in the 126 easier debugging of problems in the transmit and receive 123 paths. 127 paths. 124 128 125 This option increases code size a bi 129 This option increases code size a bit and inserts a lot 126 of function calls in the code, but i 130 of function calls in the code, but is otherwise safe to 127 enable. 131 enable. 128 132 129 If unsure, say N unless you expect t 133 If unsure, say N unless you expect to be finding problems 130 in mac80211. 134 in mac80211. 131 135 132 config MAC80211_VERBOSE_DEBUG 136 config MAC80211_VERBOSE_DEBUG 133 bool "Verbose debugging output" 137 bool "Verbose debugging output" 134 depends on MAC80211_DEBUG_MENU 138 depends on MAC80211_DEBUG_MENU 135 help !! 139 ---help--- 136 Selecting this option causes mac8021 140 Selecting this option causes mac80211 to print out 137 many debugging messages. It should n 141 many debugging messages. It should not be selected 138 on production systems as some of the 142 on production systems as some of the messages are 139 remotely triggerable. 143 remotely triggerable. 140 144 141 Do not select this option. 145 Do not select this option. 142 146 143 config MAC80211_MLME_DEBUG 147 config MAC80211_MLME_DEBUG 144 bool "Verbose managed MLME output" 148 bool "Verbose managed MLME output" 145 depends on MAC80211_DEBUG_MENU 149 depends on MAC80211_DEBUG_MENU 146 help !! 150 ---help--- 147 Selecting this option causes mac8021 151 Selecting this option causes mac80211 to print out 148 debugging messages for the managed-m 152 debugging messages for the managed-mode MLME. It 149 should not be selected on production 153 should not be selected on production systems as some 150 of the messages are remotely trigger 154 of the messages are remotely triggerable. 151 155 152 Do not select this option. 156 Do not select this option. 153 157 154 config MAC80211_STA_DEBUG 158 config MAC80211_STA_DEBUG 155 bool "Verbose station debugging" 159 bool "Verbose station debugging" 156 depends on MAC80211_DEBUG_MENU 160 depends on MAC80211_DEBUG_MENU 157 help !! 161 ---help--- 158 Selecting this option causes mac8021 162 Selecting this option causes mac80211 to print out 159 debugging messages for station addit 163 debugging messages for station addition/removal. 160 164 161 Do not select this option. 165 Do not select this option. 162 166 163 config MAC80211_HT_DEBUG 167 config MAC80211_HT_DEBUG 164 bool "Verbose HT debugging" 168 bool "Verbose HT debugging" 165 depends on MAC80211_DEBUG_MENU 169 depends on MAC80211_DEBUG_MENU 166 help !! 170 ---help--- 167 This option enables 802.11n High Thr 171 This option enables 802.11n High Throughput features 168 debug tracing output. 172 debug tracing output. 169 173 170 It should not be selected on product 174 It should not be selected on production systems as some 171 of the messages are remotely trigger 175 of the messages are remotely triggerable. 172 176 173 Do not select this option. 177 Do not select this option. 174 178 175 config MAC80211_OCB_DEBUG 179 config MAC80211_OCB_DEBUG 176 bool "Verbose OCB debugging" 180 bool "Verbose OCB debugging" 177 depends on MAC80211_DEBUG_MENU 181 depends on MAC80211_DEBUG_MENU 178 help !! 182 ---help--- 179 Selecting this option causes mac8021 183 Selecting this option causes mac80211 to print out 180 very verbose OCB debugging messages. 184 very verbose OCB debugging messages. It should not 181 be selected on production systems as 185 be selected on production systems as those messages 182 are remotely triggerable. 186 are remotely triggerable. 183 187 184 Do not select this option. 188 Do not select this option. 185 189 186 config MAC80211_IBSS_DEBUG 190 config MAC80211_IBSS_DEBUG 187 bool "Verbose IBSS debugging" 191 bool "Verbose IBSS debugging" 188 depends on MAC80211_DEBUG_MENU 192 depends on MAC80211_DEBUG_MENU 189 help !! 193 ---help--- 190 Selecting this option causes mac8021 194 Selecting this option causes mac80211 to print out 191 very verbose IBSS debugging messages 195 very verbose IBSS debugging messages. It should not 192 be selected on production systems as 196 be selected on production systems as those messages 193 are remotely triggerable. 197 are remotely triggerable. 194 198 195 Do not select this option. 199 Do not select this option. 196 200 197 config MAC80211_PS_DEBUG 201 config MAC80211_PS_DEBUG 198 bool "Verbose powersave mode debugging 202 bool "Verbose powersave mode debugging" 199 depends on MAC80211_DEBUG_MENU 203 depends on MAC80211_DEBUG_MENU 200 help !! 204 ---help--- 201 Selecting this option causes mac8021 205 Selecting this option causes mac80211 to print out very 202 verbose power save mode debugging me 206 verbose power save mode debugging messages (when mac80211 203 is an AP and has power saving statio 207 is an AP and has power saving stations.) 204 It should not be selected on product 208 It should not be selected on production systems as those 205 messages are remotely triggerable. 209 messages are remotely triggerable. 206 210 207 Do not select this option. 211 Do not select this option. 208 212 209 config MAC80211_MPL_DEBUG 213 config MAC80211_MPL_DEBUG 210 bool "Verbose mesh peer link debugging 214 bool "Verbose mesh peer link debugging" 211 depends on MAC80211_DEBUG_MENU 215 depends on MAC80211_DEBUG_MENU 212 depends on MAC80211_MESH 216 depends on MAC80211_MESH 213 help !! 217 ---help--- 214 Selecting this option causes mac8021 218 Selecting this option causes mac80211 to print out very 215 verbose mesh peer link debugging mes 219 verbose mesh peer link debugging messages (when mac80211 216 is taking part in a mesh network). 220 is taking part in a mesh network). 217 It should not be selected on product 221 It should not be selected on production systems as those 218 messages are remotely triggerable. 222 messages are remotely triggerable. 219 223 220 Do not select this option. 224 Do not select this option. 221 225 222 config MAC80211_MPATH_DEBUG 226 config MAC80211_MPATH_DEBUG 223 bool "Verbose mesh path debugging" 227 bool "Verbose mesh path debugging" 224 depends on MAC80211_DEBUG_MENU 228 depends on MAC80211_DEBUG_MENU 225 depends on MAC80211_MESH 229 depends on MAC80211_MESH 226 help !! 230 ---help--- 227 Selecting this option causes mac8021 231 Selecting this option causes mac80211 to print out very 228 verbose mesh path selection debuggin 232 verbose mesh path selection debugging messages (when mac80211 229 is taking part in a mesh network). 233 is taking part in a mesh network). 230 It should not be selected on product 234 It should not be selected on production systems as those 231 messages are remotely triggerable. 235 messages are remotely triggerable. 232 236 233 Do not select this option. 237 Do not select this option. 234 238 235 config MAC80211_MHWMP_DEBUG 239 config MAC80211_MHWMP_DEBUG 236 bool "Verbose mesh HWMP routing debugg 240 bool "Verbose mesh HWMP routing debugging" 237 depends on MAC80211_DEBUG_MENU 241 depends on MAC80211_DEBUG_MENU 238 depends on MAC80211_MESH 242 depends on MAC80211_MESH 239 help !! 243 ---help--- 240 Selecting this option causes mac8021 244 Selecting this option causes mac80211 to print out very 241 verbose mesh routing (HWMP) debuggin 245 verbose mesh routing (HWMP) debugging messages (when mac80211 242 is taking part in a mesh network). 246 is taking part in a mesh network). 243 It should not be selected on product 247 It should not be selected on production systems as those 244 messages are remotely triggerable. 248 messages are remotely triggerable. 245 249 246 Do not select this option. 250 Do not select this option. 247 251 248 config MAC80211_MESH_SYNC_DEBUG 252 config MAC80211_MESH_SYNC_DEBUG 249 bool "Verbose mesh synchronization deb 253 bool "Verbose mesh synchronization debugging" 250 depends on MAC80211_DEBUG_MENU 254 depends on MAC80211_DEBUG_MENU 251 depends on MAC80211_MESH 255 depends on MAC80211_MESH 252 help !! 256 ---help--- 253 Selecting this option causes mac8021 257 Selecting this option causes mac80211 to print out very verbose mesh 254 synchronization debugging messages ( 258 synchronization debugging messages (when mac80211 is taking part in a 255 mesh network). 259 mesh network). 256 260 257 Do not select this option. 261 Do not select this option. 258 262 259 config MAC80211_MESH_CSA_DEBUG 263 config MAC80211_MESH_CSA_DEBUG 260 bool "Verbose mesh channel switch debu 264 bool "Verbose mesh channel switch debugging" 261 depends on MAC80211_DEBUG_MENU 265 depends on MAC80211_DEBUG_MENU 262 depends on MAC80211_MESH 266 depends on MAC80211_MESH 263 help !! 267 ---help--- 264 Selecting this option causes mac8021 268 Selecting this option causes mac80211 to print out very verbose mesh 265 channel switch debugging messages (w 269 channel switch debugging messages (when mac80211 is taking part in a 266 mesh network). 270 mesh network). 267 271 268 Do not select this option. 272 Do not select this option. 269 273 270 config MAC80211_MESH_PS_DEBUG 274 config MAC80211_MESH_PS_DEBUG 271 bool "Verbose mesh powersave debugging 275 bool "Verbose mesh powersave debugging" 272 depends on MAC80211_DEBUG_MENU 276 depends on MAC80211_DEBUG_MENU 273 depends on MAC80211_MESH 277 depends on MAC80211_MESH 274 help !! 278 ---help--- 275 Selecting this option causes mac8021 279 Selecting this option causes mac80211 to print out very verbose mesh 276 powersave debugging messages (when m 280 powersave debugging messages (when mac80211 is taking part in a 277 mesh network). 281 mesh network). 278 282 279 Do not select this option. 283 Do not select this option. 280 284 281 config MAC80211_TDLS_DEBUG 285 config MAC80211_TDLS_DEBUG 282 bool "Verbose TDLS debugging" 286 bool "Verbose TDLS debugging" 283 depends on MAC80211_DEBUG_MENU 287 depends on MAC80211_DEBUG_MENU 284 help !! 288 ---help--- 285 Selecting this option causes mac8021 289 Selecting this option causes mac80211 to print out very 286 verbose TDLS selection debugging mes 290 verbose TDLS selection debugging messages (when mac80211 287 is a TDLS STA). 291 is a TDLS STA). 288 It should not be selected on product 292 It should not be selected on production systems as those 289 messages are remotely triggerable. 293 messages are remotely triggerable. 290 294 291 Do not select this option. 295 Do not select this option. 292 296 293 config MAC80211_DEBUG_COUNTERS 297 config MAC80211_DEBUG_COUNTERS 294 bool "Extra statistics for TX/RX debug 298 bool "Extra statistics for TX/RX debugging" 295 depends on MAC80211_DEBUG_MENU 299 depends on MAC80211_DEBUG_MENU 296 depends on MAC80211_DEBUGFS 300 depends on MAC80211_DEBUGFS 297 help !! 301 ---help--- 298 Selecting this option causes mac8021 302 Selecting this option causes mac80211 to keep additional 299 and very verbose statistics about TX 303 and very verbose statistics about TX and RX handler use 300 as well as a few selected dot11 coun 304 as well as a few selected dot11 counters. These will be 301 exposed in debugfs. 305 exposed in debugfs. 302 306 303 Note that some of the counters are n 307 Note that some of the counters are not concurrency safe 304 and may thus not always be accurate. 308 and may thus not always be accurate. 305 309 306 If unsure, say N. 310 If unsure, say N. 307 311 308 config MAC80211_STA_HASH_MAX_SIZE 312 config MAC80211_STA_HASH_MAX_SIZE 309 int "Station hash table maximum size" 313 int "Station hash table maximum size" if MAC80211_DEBUG_MENU 310 default 0 314 default 0 311 help !! 315 ---help--- 312 Setting this option to a low value ( 316 Setting this option to a low value (e.g. 4) allows testing the 313 hash table with collisions relativel 317 hash table with collisions relatively deterministically (just 314 connect more stations than the numbe 318 connect more stations than the number selected here.) 315 319 316 If unsure, leave the default of 0. 320 If unsure, leave the default of 0.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.