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