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