Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 2 | config MAC80211 |
| 3 | tristate "Generic IEEE 802.11 Networking Stack (mac80211)" |
Johannes Berg | 0aa8204 | 2009-06-03 18:30:31 +0200 | [diff] [blame] | 4 | depends on CFG80211 |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 5 | select CRYPTO |
Ard Biesheuvel | 5fdb373 | 2019-06-12 18:19:54 +0200 | [diff] [blame] | 6 | select CRYPTO_LIB_ARC4 |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 7 | select CRYPTO_AES |
Ard Biesheuvel | 7ec7c4a | 2013-10-10 09:55:20 +0200 | [diff] [blame] | 8 | select CRYPTO_CCM |
Jouni Malinen | 00b9cfa | 2015-01-24 19:52:06 +0200 | [diff] [blame] | 9 | select CRYPTO_GCM |
Ard Biesheuvel | fe8de3d | 2017-02-06 10:49:27 +0000 | [diff] [blame] | 10 | select CRYPTO_CMAC |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 11 | select CRC32 |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 12 | help |
John W. Linville | c40896d | 2007-12-21 00:44:59 -0500 | [diff] [blame] | 13 | This option enables the hardware independent IEEE 802.11 |
| 14 | networking stack. |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 15 | |
Johannes Berg | 0aa8204 | 2009-06-03 18:30:31 +0200 | [diff] [blame] | 16 | comment "CFG80211 needs to be enabled for MAC80211" |
| 17 | depends on CFG80211=n |
| 18 | |
Luis R. Rodriguez | abd8ea2 | 2009-09-01 08:22:46 -0700 | [diff] [blame] | 19 | if MAC80211 != n |
Johannes Berg | ac71c69 | 2007-10-28 14:17:44 +0100 | [diff] [blame] | 20 | |
Andres Salomon | c2ef355 | 2010-02-25 19:18:47 -0500 | [diff] [blame] | 21 | config MAC80211_HAS_RC |
Jan Beulich | 540005c | 2011-02-17 13:36:19 +0000 | [diff] [blame] | 22 | bool |
Andres Salomon | c2ef355 | 2010-02-25 19:18:47 -0500 | [diff] [blame] | 23 | |
Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 24 | config MAC80211_RC_MINSTREL |
David Rientjes | 6a108a1 | 2011-01-20 14:44:16 -0800 | [diff] [blame] | 25 | bool "Minstrel" if EXPERT |
Andres Salomon | c2ef355 | 2010-02-25 19:18:47 -0500 | [diff] [blame] | 26 | select MAC80211_HAS_RC |
Luis R. Rodriguez | 8eb41c9 | 2008-11-14 17:44:53 -0800 | [diff] [blame] | 27 | default y |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 28 | help |
Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 29 | This option enables the 'minstrel' TX rate control algorithm |
| 30 | |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 31 | choice |
| 32 | prompt "Default rate control algorithm" |
Andres Salomon | c2ef355 | 2010-02-25 19:18:47 -0500 | [diff] [blame] | 33 | depends on MAC80211_HAS_RC |
Luis R. Rodriguez | 8eb41c9 | 2008-11-14 17:44:53 -0800 | [diff] [blame] | 34 | default MAC80211_RC_DEFAULT_MINSTREL |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 35 | help |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 36 | This option selects the default rate control algorithm |
| 37 | mac80211 will use. Note that this default can still be |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 38 | overridden through the ieee80211_default_rc_algo module |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 39 | parameter if different algorithms are available. |
Johannes Berg | ac71c69 | 2007-10-28 14:17:44 +0100 | [diff] [blame] | 40 | |
Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 41 | config MAC80211_RC_DEFAULT_MINSTREL |
| 42 | bool "Minstrel" |
| 43 | depends on MAC80211_RC_MINSTREL |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 44 | help |
Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 45 | Select Minstrel as the default rate control algorithm. |
| 46 | |
| 47 | |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 48 | endchoice |
| 49 | |
| 50 | config MAC80211_RC_DEFAULT |
| 51 | string |
Felix Fietkau | b1c4f68 | 2018-10-06 19:35:01 +0200 | [diff] [blame] | 52 | default "minstrel_ht" if MAC80211_RC_DEFAULT_MINSTREL |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 53 | default "" |
| 54 | |
Luis R. Rodriguez | abd8ea2 | 2009-09-01 08:22:46 -0700 | [diff] [blame] | 55 | endif |
Mattias Nissler | ad01837 | 2007-12-19 01:25:57 +0100 | [diff] [blame] | 56 | |
Andres Salomon | c2ef355 | 2010-02-25 19:18:47 -0500 | [diff] [blame] | 57 | comment "Some wireless drivers require a rate control algorithm" |
Johannes Berg | e46395a | 2011-03-01 17:18:26 +0100 | [diff] [blame] | 58 | depends on MAC80211 && MAC80211_HAS_RC=n |
Andres Salomon | c2ef355 | 2010-02-25 19:18:47 -0500 | [diff] [blame] | 59 | |
Johannes Berg | 2f5ce79 | 2008-02-23 15:17:21 +0100 | [diff] [blame] | 60 | config MAC80211_MESH |
Bob Copeland | c8d10cb | 2018-12-04 10:22:00 -0500 | [diff] [blame] | 61 | bool "Enable mac80211 mesh networking support" |
Kees Cook | 48f6edc | 2012-10-02 11:19:53 -0700 | [diff] [blame] | 62 | depends on MAC80211 |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 63 | help |
Bob Copeland | c8d10cb | 2018-12-04 10:22:00 -0500 | [diff] [blame] | 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. |
Johannes Berg | 2f5ce79 | 2008-02-23 15:17:21 +0100 | [diff] [blame] | 68 | |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 69 | config MAC80211_LEDS |
| 70 | bool "Enable LED triggers" |
Luca Tettamanti | bd8fd21 | 2008-04-27 15:34:55 -0700 | [diff] [blame] | 71 | depends on MAC80211 |
Arnd Bergmann | b64acb2 | 2021-01-25 12:36:42 +0100 | [diff] [blame] | 72 | depends on LEDS_CLASS=y || LEDS_CLASS=MAC80211 |
Luca Tettamanti | bd8fd21 | 2008-04-27 15:34:55 -0700 | [diff] [blame] | 73 | select LEDS_TRIGGERS |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 74 | help |
John W. Linville | c40896d | 2007-12-21 00:44:59 -0500 | [diff] [blame] | 75 | This option enables a few LED triggers for different |
| 76 | packet receive/transmit events. |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 77 | |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 78 | config MAC80211_DEBUGFS |
| 79 | bool "Export mac80211 internals in DebugFS" |
| 80 | depends on MAC80211 && DEBUG_FS |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 81 | help |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 82 | Select this to see extensive information about |
| 83 | the internal state of mac80211 in debugfs. |
| 84 | |
| 85 | Say N unless you know you need this. |
| 86 | |
Johannes Berg | 3fae027 | 2012-06-22 13:36:25 +0200 | [diff] [blame] | 87 | config MAC80211_MESSAGE_TRACING |
| 88 | bool "Trace all mac80211 debug messages" |
| 89 | depends on MAC80211 |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 90 | help |
Johannes Berg | 3fae027 | 2012-06-22 13:36:25 +0200 | [diff] [blame] | 91 | Select this option to have mac80211 register the |
| 92 | mac80211_msg trace subsystem with tracepoints to |
| 93 | collect all debugging messages, independent of |
| 94 | printing them into the kernel log. |
| 95 | |
| 96 | The overhead in this option is that all the messages |
| 97 | need to be present in the binary and formatted at |
| 98 | runtime for tracing. |
| 99 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 100 | menuconfig MAC80211_DEBUG_MENU |
| 101 | bool "Select mac80211 debugging features" |
| 102 | depends on MAC80211 |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 103 | help |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 104 | This option collects various mac80211 debug settings. |
| 105 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 106 | config MAC80211_NOINLINE |
| 107 | bool "Do not inline TX/RX handlers" |
| 108 | depends on MAC80211_DEBUG_MENU |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 109 | help |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 110 | This option affects code generation in mac80211, when |
| 111 | selected some functions are marked "noinline" to allow |
| 112 | easier debugging of problems in the transmit and receive |
| 113 | paths. |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 114 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 115 | This option increases code size a bit and inserts a lot |
| 116 | of function calls in the code, but is otherwise safe to |
| 117 | enable. |
| 118 | |
| 119 | If unsure, say N unless you expect to be finding problems |
| 120 | in mac80211. |
| 121 | |
| 122 | config MAC80211_VERBOSE_DEBUG |
| 123 | bool "Verbose debugging output" |
| 124 | depends on MAC80211_DEBUG_MENU |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 125 | help |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 126 | Selecting this option causes mac80211 to print out |
| 127 | many debugging messages. It should not be selected |
| 128 | on production systems as some of the messages are |
| 129 | remotely triggerable. |
| 130 | |
| 131 | Do not select this option. |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 132 | |
Johannes Berg | bdcbd8e | 2012-06-22 11:29:50 +0200 | [diff] [blame] | 133 | config MAC80211_MLME_DEBUG |
| 134 | bool "Verbose managed MLME output" |
| 135 | depends on MAC80211_DEBUG_MENU |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 136 | help |
Johannes Berg | bdcbd8e | 2012-06-22 11:29:50 +0200 | [diff] [blame] | 137 | Selecting this option causes mac80211 to print out |
| 138 | debugging messages for the managed-mode MLME. It |
| 139 | should not be selected on production systems as some |
| 140 | of the messages are remotely triggerable. |
| 141 | |
| 142 | Do not select this option. |
| 143 | |
| 144 | config MAC80211_STA_DEBUG |
| 145 | bool "Verbose station debugging" |
| 146 | depends on MAC80211_DEBUG_MENU |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 147 | help |
Johannes Berg | bdcbd8e | 2012-06-22 11:29:50 +0200 | [diff] [blame] | 148 | Selecting this option causes mac80211 to print out |
| 149 | debugging messages for station addition/removal. |
| 150 | |
| 151 | Do not select this option. |
| 152 | |
Ron Rindjunsky | 82b3cad | 2007-12-16 16:09:26 -0800 | [diff] [blame] | 153 | config MAC80211_HT_DEBUG |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 154 | bool "Verbose HT debugging" |
| 155 | depends on MAC80211_DEBUG_MENU |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 156 | help |
John W. Linville | c40896d | 2007-12-21 00:44:59 -0500 | [diff] [blame] | 157 | This option enables 802.11n High Throughput features |
| 158 | debug tracing output. |
Ron Rindjunsky | 82b3cad | 2007-12-16 16:09:26 -0800 | [diff] [blame] | 159 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 160 | It should not be selected on production systems as some |
| 161 | of the messages are remotely triggerable. |
Ron Rindjunsky | 82b3cad | 2007-12-16 16:09:26 -0800 | [diff] [blame] | 162 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 163 | Do not select this option. |
| 164 | |
Rostislav Lisovy | 239281f | 2014-11-03 10:33:19 +0100 | [diff] [blame] | 165 | config MAC80211_OCB_DEBUG |
| 166 | bool "Verbose OCB debugging" |
| 167 | depends on MAC80211_DEBUG_MENU |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 168 | help |
Rostislav Lisovy | 239281f | 2014-11-03 10:33:19 +0100 | [diff] [blame] | 169 | Selecting this option causes mac80211 to print out |
| 170 | very verbose OCB debugging messages. It should not |
| 171 | be selected on production systems as those messages |
| 172 | are remotely triggerable. |
| 173 | |
| 174 | Do not select this option. |
| 175 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 176 | config MAC80211_IBSS_DEBUG |
| 177 | bool "Verbose IBSS debugging" |
| 178 | depends on MAC80211_DEBUG_MENU |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 179 | help |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 180 | Selecting this option causes mac80211 to print out |
| 181 | very verbose IBSS debugging messages. It should not |
| 182 | be selected on production systems as those messages |
| 183 | are remotely triggerable. |
| 184 | |
| 185 | Do not select this option. |
| 186 | |
Johannes Berg | bdcbd8e | 2012-06-22 11:29:50 +0200 | [diff] [blame] | 187 | config MAC80211_PS_DEBUG |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 188 | bool "Verbose powersave mode debugging" |
| 189 | depends on MAC80211_DEBUG_MENU |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 190 | help |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 191 | Selecting this option causes mac80211 to print out very |
| 192 | verbose power save mode debugging messages (when mac80211 |
| 193 | is an AP and has power saving stations.) |
| 194 | It should not be selected on production systems as those |
| 195 | messages are remotely triggerable. |
| 196 | |
| 197 | Do not select this option. |
| 198 | |
Johannes Berg | bdcbd8e | 2012-06-22 11:29:50 +0200 | [diff] [blame] | 199 | config MAC80211_MPL_DEBUG |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 200 | bool "Verbose mesh peer link debugging" |
| 201 | depends on MAC80211_DEBUG_MENU |
| 202 | depends on MAC80211_MESH |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 203 | help |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 204 | Selecting this option causes mac80211 to print out very |
| 205 | verbose mesh peer link debugging messages (when mac80211 |
| 206 | is taking part in a mesh network). |
| 207 | It should not be selected on production systems as those |
| 208 | messages are remotely triggerable. |
| 209 | |
| 210 | Do not select this option. |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 211 | |
Johannes Berg | bdcbd8e | 2012-06-22 11:29:50 +0200 | [diff] [blame] | 212 | config MAC80211_MPATH_DEBUG |
Javier Cardona | 7646887 | 2011-08-09 16:45:04 -0700 | [diff] [blame] | 213 | bool "Verbose mesh path debugging" |
| 214 | depends on MAC80211_DEBUG_MENU |
| 215 | depends on MAC80211_MESH |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 216 | help |
Javier Cardona | 7646887 | 2011-08-09 16:45:04 -0700 | [diff] [blame] | 217 | Selecting this option causes mac80211 to print out very |
| 218 | verbose mesh path selection debugging messages (when mac80211 |
| 219 | is taking part in a mesh network). |
| 220 | It should not be selected on production systems as those |
| 221 | messages are remotely triggerable. |
| 222 | |
| 223 | Do not select this option. |
| 224 | |
Johannes Berg | bdcbd8e | 2012-06-22 11:29:50 +0200 | [diff] [blame] | 225 | config MAC80211_MHWMP_DEBUG |
Rui Paulo | 27db2e4 | 2009-11-09 23:46:45 +0000 | [diff] [blame] | 226 | bool "Verbose mesh HWMP routing debugging" |
| 227 | depends on MAC80211_DEBUG_MENU |
| 228 | depends on MAC80211_MESH |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 229 | help |
Rui Paulo | 27db2e4 | 2009-11-09 23:46:45 +0000 | [diff] [blame] | 230 | Selecting this option causes mac80211 to print out very |
| 231 | verbose mesh routing (HWMP) debugging messages (when mac80211 |
| 232 | is taking part in a mesh network). |
| 233 | It should not be selected on production systems as those |
| 234 | messages are remotely triggerable. |
| 235 | |
| 236 | Do not select this option. |
| 237 | |
Johannes Berg | bdcbd8e | 2012-06-22 11:29:50 +0200 | [diff] [blame] | 238 | config MAC80211_MESH_SYNC_DEBUG |
Marco Porsch | f53c6a0 | 2012-10-17 20:21:30 -0700 | [diff] [blame] | 239 | bool "Verbose mesh synchronization debugging" |
Javier Cardona | dbf498f | 2012-03-31 11:31:32 -0700 | [diff] [blame] | 240 | depends on MAC80211_DEBUG_MENU |
| 241 | depends on MAC80211_MESH |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 242 | help |
Javier Cardona | dbf498f | 2012-03-31 11:31:32 -0700 | [diff] [blame] | 243 | Selecting this option causes mac80211 to print out very verbose mesh |
| 244 | synchronization debugging messages (when mac80211 is taking part in a |
| 245 | mesh network). |
| 246 | |
| 247 | Do not select this option. |
| 248 | |
Chun-Yeow Yeoh | 8f2535b | 2013-10-14 19:08:27 -0700 | [diff] [blame] | 249 | config MAC80211_MESH_CSA_DEBUG |
| 250 | bool "Verbose mesh channel switch debugging" |
| 251 | depends on MAC80211_DEBUG_MENU |
| 252 | depends on MAC80211_MESH |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 253 | help |
Chun-Yeow Yeoh | 8f2535b | 2013-10-14 19:08:27 -0700 | [diff] [blame] | 254 | Selecting this option causes mac80211 to print out very verbose mesh |
| 255 | channel switch debugging messages (when mac80211 is taking part in a |
| 256 | mesh network). |
| 257 | |
| 258 | Do not select this option. |
| 259 | |
Marco Porsch | 3f52b7e | 2013-01-30 18:14:08 +0100 | [diff] [blame] | 260 | config MAC80211_MESH_PS_DEBUG |
| 261 | bool "Verbose mesh powersave debugging" |
| 262 | depends on MAC80211_DEBUG_MENU |
| 263 | depends on MAC80211_MESH |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 264 | help |
Marco Porsch | 3f52b7e | 2013-01-30 18:14:08 +0100 | [diff] [blame] | 265 | Selecting this option causes mac80211 to print out very verbose mesh |
| 266 | powersave debugging messages (when mac80211 is taking part in a |
| 267 | mesh network). |
| 268 | |
| 269 | Do not select this option. |
| 270 | |
Johannes Berg | bdcbd8e | 2012-06-22 11:29:50 +0200 | [diff] [blame] | 271 | config MAC80211_TDLS_DEBUG |
Arik Nemtsov | dfe018b | 2011-09-28 14:12:52 +0300 | [diff] [blame] | 272 | bool "Verbose TDLS debugging" |
| 273 | depends on MAC80211_DEBUG_MENU |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 274 | help |
Arik Nemtsov | dfe018b | 2011-09-28 14:12:52 +0300 | [diff] [blame] | 275 | Selecting this option causes mac80211 to print out very |
| 276 | verbose TDLS selection debugging messages (when mac80211 |
| 277 | is a TDLS STA). |
| 278 | It should not be selected on production systems as those |
| 279 | messages are remotely triggerable. |
| 280 | |
| 281 | Do not select this option. |
| 282 | |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 283 | config MAC80211_DEBUG_COUNTERS |
| 284 | bool "Extra statistics for TX/RX debugging" |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 285 | depends on MAC80211_DEBUG_MENU |
| 286 | depends on MAC80211_DEBUGFS |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 287 | help |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 288 | Selecting this option causes mac80211 to keep additional |
| 289 | and very verbose statistics about TX and RX handler use |
Johannes Berg | c206ca6 | 2015-04-22 20:47:28 +0200 | [diff] [blame] | 290 | as well as a few selected dot11 counters. These will be |
| 291 | exposed in debugfs. |
| 292 | |
| 293 | Note that some of the counters are not concurrency safe |
| 294 | and may thus not always be accurate. |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 295 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 296 | If unsure, say N. |
Johannes Berg | ebd82b3 | 2015-04-23 17:26:06 +0200 | [diff] [blame] | 297 | |
| 298 | config MAC80211_STA_HASH_MAX_SIZE |
| 299 | int "Station hash table maximum size" if MAC80211_DEBUG_MENU |
| 300 | default 0 |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 301 | help |
Johannes Berg | ebd82b3 | 2015-04-23 17:26:06 +0200 | [diff] [blame] | 302 | Setting this option to a low value (e.g. 4) allows testing the |
| 303 | hash table with collisions relatively deterministically (just |
| 304 | connect more stations than the number selected here.) |
| 305 | |
| 306 | If unsure, leave the default of 0. |