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