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