| 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 | 
|  | 7 | select CRC32 | 
| Bruno Randolf | 541a45a | 2010-12-02 19:12:43 +0900 | [diff] [blame] | 8 | select AVERAGE | 
| Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 9 | ---help--- | 
| John W. Linville | c40896d | 2007-12-21 00:44:59 -0500 | [diff] [blame] | 10 | This option enables the hardware independent IEEE 802.11 | 
|  | 11 | networking stack. | 
| Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 12 |  | 
| Johannes Berg | 0aa8204 | 2009-06-03 18:30:31 +0200 | [diff] [blame] | 13 | comment "CFG80211 needs to be enabled for MAC80211" | 
|  | 14 | depends on CFG80211=n | 
|  | 15 |  | 
| Luis R. Rodriguez | abd8ea2 | 2009-09-01 08:22:46 -0700 | [diff] [blame] | 16 | if MAC80211 != n | 
| Johannes Berg | ac71c69 | 2007-10-28 14:17:44 +0100 | [diff] [blame] | 17 |  | 
| Andres Salomon | c2ef355 | 2010-02-25 19:18:47 -0500 | [diff] [blame] | 18 | config MAC80211_HAS_RC | 
| Jan Beulich | 540005c | 2011-02-17 13:36:19 +0000 | [diff] [blame] | 19 | bool | 
| Andres Salomon | c2ef355 | 2010-02-25 19:18:47 -0500 | [diff] [blame] | 20 |  | 
| Adrian Bunk | e5f5e73 | 2008-06-26 13:38:13 +0300 | [diff] [blame] | 21 | config MAC80211_RC_PID | 
| David Rientjes | 6a108a1 | 2011-01-20 14:44:16 -0800 | [diff] [blame] | 22 | bool "PID controller based rate control algorithm" if EXPERT | 
| Andres Salomon | c2ef355 | 2010-02-25 19:18:47 -0500 | [diff] [blame] | 23 | select MAC80211_HAS_RC | 
| Adrian Bunk | e5f5e73 | 2008-06-26 13:38:13 +0300 | [diff] [blame] | 24 | ---help--- | 
|  | 25 | This option enables a TX rate control algorithm for | 
|  | 26 | mac80211 that uses a PID controller to select the TX | 
|  | 27 | rate. | 
|  | 28 |  | 
| Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 29 | config MAC80211_RC_MINSTREL | 
| David Rientjes | 6a108a1 | 2011-01-20 14:44:16 -0800 | [diff] [blame] | 30 | bool "Minstrel" if EXPERT | 
| Andres Salomon | c2ef355 | 2010-02-25 19:18:47 -0500 | [diff] [blame] | 31 | select MAC80211_HAS_RC | 
| Luis R. Rodriguez | 8eb41c9 | 2008-11-14 17:44:53 -0800 | [diff] [blame] | 32 | default y | 
| Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 33 | ---help--- | 
|  | 34 | This option enables the 'minstrel' TX rate control algorithm | 
|  | 35 |  | 
| Felix Fietkau | ec8aa66 | 2010-05-13 16:48:03 +0200 | [diff] [blame] | 36 | config MAC80211_RC_MINSTREL_HT | 
| David Rientjes | 6a108a1 | 2011-01-20 14:44:16 -0800 | [diff] [blame] | 37 | bool "Minstrel 802.11n support" if EXPERT | 
| Felix Fietkau | ec8aa66 | 2010-05-13 16:48:03 +0200 | [diff] [blame] | 38 | depends on MAC80211_RC_MINSTREL | 
|  | 39 | default y | 
|  | 40 | ---help--- | 
|  | 41 | This option enables 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 |  | 
| Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 53 | config MAC80211_RC_DEFAULT_PID | 
|  | 54 | bool "PID controller based rate control algorithm" | 
| Adrian Bunk | e5f5e73 | 2008-06-26 13:38:13 +0300 | [diff] [blame] | 55 | depends on MAC80211_RC_PID | 
| Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 56 | ---help--- | 
|  | 57 | Select the PID controller based rate control as the | 
|  | 58 | default rate control algorithm. You should choose | 
|  | 59 | this unless you know what you are doing. | 
|  | 60 |  | 
| Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 61 | config MAC80211_RC_DEFAULT_MINSTREL | 
|  | 62 | bool "Minstrel" | 
|  | 63 | depends on MAC80211_RC_MINSTREL | 
|  | 64 | ---help--- | 
|  | 65 | Select Minstrel as the default rate control algorithm. | 
|  | 66 |  | 
|  | 67 |  | 
| Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 68 | endchoice | 
|  | 69 |  | 
|  | 70 | config MAC80211_RC_DEFAULT | 
|  | 71 | string | 
| Helmut Schaa | 92b50c4 | 2010-06-30 08:48:42 +0200 | [diff] [blame] | 72 | default "minstrel_ht" if MAC80211_RC_DEFAULT_MINSTREL && MAC80211_RC_MINSTREL_HT | 
| Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 73 | default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL | 
| Luis R. Rodriguez | 8eb41c9 | 2008-11-14 17:44:53 -0800 | [diff] [blame] | 74 | default "pid" if MAC80211_RC_DEFAULT_PID | 
| Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 75 | default "" | 
|  | 76 |  | 
| Luis R. Rodriguez | abd8ea2 | 2009-09-01 08:22:46 -0700 | [diff] [blame] | 77 | endif | 
| Mattias Nissler | ad01837 | 2007-12-19 01:25:57 +0100 | [diff] [blame] | 78 |  | 
| Andres Salomon | c2ef355 | 2010-02-25 19:18:47 -0500 | [diff] [blame] | 79 | comment "Some wireless drivers require a rate control algorithm" | 
| Johannes Berg | e46395a | 2011-03-01 17:18:26 +0100 | [diff] [blame] | 80 | depends on MAC80211 && MAC80211_HAS_RC=n | 
| Andres Salomon | c2ef355 | 2010-02-25 19:18:47 -0500 | [diff] [blame] | 81 |  | 
| Johannes Berg | 2f5ce79 | 2008-02-23 15:17:21 +0100 | [diff] [blame] | 82 | config MAC80211_MESH | 
|  | 83 | bool "Enable mac80211 mesh networking (pre-802.11s) support" | 
| Luis Carlos Cobo | 37659ff | 2008-02-29 12:13:38 -0800 | [diff] [blame] | 84 | depends on MAC80211 && EXPERIMENTAL | 
| Johannes Berg | 2f5ce79 | 2008-02-23 15:17:21 +0100 | [diff] [blame] | 85 | ---help--- | 
| Johannes Berg | 5c142e8 | 2008-02-25 10:13:31 +0100 | [diff] [blame] | 86 | This options enables support of Draft 802.11s mesh networking. | 
| Javier Cardona | 1888923 | 2009-08-10 12:15:52 -0700 | [diff] [blame] | 87 | The implementation is based on Draft 2.08 of the Mesh Networking | 
|  | 88 | amendment.  However, no compliance with that draft is claimed or even | 
|  | 89 | possible, as drafts leave a number of identifiers to be defined after | 
|  | 90 | ratification.  For more information visit http://o11s.org/. | 
| Johannes Berg | 2f5ce79 | 2008-02-23 15:17:21 +0100 | [diff] [blame] | 91 |  | 
| Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 92 | config MAC80211_LEDS | 
|  | 93 | bool "Enable LED triggers" | 
| Luca Tettamanti | bd8fd21 | 2008-04-27 15:34:55 -0700 | [diff] [blame] | 94 | depends on MAC80211 | 
| Johannes Berg | 0bae35e | 2010-12-02 14:31:14 -0800 | [diff] [blame] | 95 | depends on LEDS_CLASS | 
| Luca Tettamanti | bd8fd21 | 2008-04-27 15:34:55 -0700 | [diff] [blame] | 96 | select LEDS_TRIGGERS | 
| Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 97 | ---help--- | 
| John W. Linville | c40896d | 2007-12-21 00:44:59 -0500 | [diff] [blame] | 98 | This option enables a few LED triggers for different | 
|  | 99 | packet receive/transmit events. | 
| Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 100 |  | 
| Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 101 | config MAC80211_DEBUGFS | 
|  | 102 | bool "Export mac80211 internals in DebugFS" | 
|  | 103 | depends on MAC80211 && DEBUG_FS | 
|  | 104 | ---help--- | 
|  | 105 | Select this to see extensive information about | 
|  | 106 | the internal state of mac80211 in debugfs. | 
|  | 107 |  | 
|  | 108 | Say N unless you know you need this. | 
|  | 109 |  | 
| Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 110 | menuconfig MAC80211_DEBUG_MENU | 
|  | 111 | bool "Select mac80211 debugging features" | 
|  | 112 | depends on MAC80211 | 
|  | 113 | ---help--- | 
|  | 114 | This option collects various mac80211 debug settings. | 
|  | 115 |  | 
| Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 116 | config MAC80211_NOINLINE | 
|  | 117 | bool "Do not inline TX/RX handlers" | 
|  | 118 | depends on MAC80211_DEBUG_MENU | 
| Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 119 | ---help--- | 
| Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 120 | This option affects code generation in mac80211, when | 
|  | 121 | selected some functions are marked "noinline" to allow | 
|  | 122 | easier debugging of problems in the transmit and receive | 
|  | 123 | paths. | 
| Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 124 |  | 
| Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 125 | This option increases code size a bit and inserts a lot | 
|  | 126 | of function calls in the code, but is otherwise safe to | 
|  | 127 | enable. | 
|  | 128 |  | 
|  | 129 | If unsure, say N unless you expect to be finding problems | 
|  | 130 | in mac80211. | 
|  | 131 |  | 
|  | 132 | config MAC80211_VERBOSE_DEBUG | 
|  | 133 | bool "Verbose debugging output" | 
|  | 134 | depends on MAC80211_DEBUG_MENU | 
|  | 135 | ---help--- | 
|  | 136 | Selecting this option causes mac80211 to print out | 
|  | 137 | many debugging messages. It should not be selected | 
|  | 138 | on production systems as some of the messages are | 
|  | 139 | remotely triggerable. | 
|  | 140 |  | 
|  | 141 | Do not select this option. | 
| Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 142 |  | 
| Ron Rindjunsky | 82b3cad | 2007-12-16 16:09:26 -0800 | [diff] [blame] | 143 | config MAC80211_HT_DEBUG | 
| Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 144 | bool "Verbose HT debugging" | 
|  | 145 | depends on MAC80211_DEBUG_MENU | 
| John W. Linville | c40896d | 2007-12-21 00:44:59 -0500 | [diff] [blame] | 146 | ---help--- | 
|  | 147 | This option enables 802.11n High Throughput features | 
|  | 148 | debug tracing output. | 
| Ron Rindjunsky | 82b3cad | 2007-12-16 16:09:26 -0800 | [diff] [blame] | 149 |  | 
| Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 150 | It should not be selected on production systems as some | 
|  | 151 | of the messages are remotely triggerable. | 
| Ron Rindjunsky | 82b3cad | 2007-12-16 16:09:26 -0800 | [diff] [blame] | 152 |  | 
| Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 153 | Do not select this option. | 
|  | 154 |  | 
|  | 155 | config MAC80211_TKIP_DEBUG | 
|  | 156 | bool "Verbose TKIP debugging" | 
|  | 157 | depends on MAC80211_DEBUG_MENU | 
|  | 158 | ---help--- | 
|  | 159 | Selecting this option causes mac80211 to print out | 
|  | 160 | very verbose TKIP debugging messages. It should not | 
|  | 161 | be selected on production systems as those messages | 
|  | 162 | are remotely triggerable. | 
|  | 163 |  | 
|  | 164 | Do not select this option. | 
|  | 165 |  | 
|  | 166 | config MAC80211_IBSS_DEBUG | 
|  | 167 | bool "Verbose IBSS debugging" | 
|  | 168 | depends on MAC80211_DEBUG_MENU | 
|  | 169 | ---help--- | 
|  | 170 | Selecting this option causes mac80211 to print out | 
|  | 171 | very verbose IBSS debugging messages. It should not | 
|  | 172 | be selected on production systems as those messages | 
|  | 173 | are remotely triggerable. | 
|  | 174 |  | 
|  | 175 | Do not select this option. | 
|  | 176 |  | 
|  | 177 | config MAC80211_VERBOSE_PS_DEBUG | 
|  | 178 | bool "Verbose powersave mode debugging" | 
|  | 179 | depends on MAC80211_DEBUG_MENU | 
|  | 180 | ---help--- | 
|  | 181 | Selecting this option causes mac80211 to print out very | 
|  | 182 | verbose power save mode debugging messages (when mac80211 | 
|  | 183 | is an AP and has power saving stations.) | 
|  | 184 | It should not be selected on production systems as those | 
|  | 185 | messages are remotely triggerable. | 
|  | 186 |  | 
|  | 187 | Do not select this option. | 
|  | 188 |  | 
|  | 189 | config MAC80211_VERBOSE_MPL_DEBUG | 
|  | 190 | bool "Verbose mesh peer link debugging" | 
|  | 191 | depends on MAC80211_DEBUG_MENU | 
|  | 192 | depends on MAC80211_MESH | 
|  | 193 | ---help--- | 
|  | 194 | Selecting this option causes mac80211 to print out very | 
|  | 195 | verbose mesh peer link debugging messages (when mac80211 | 
|  | 196 | is taking part in a mesh network). | 
|  | 197 | It should not be selected on production systems as those | 
|  | 198 | messages are remotely triggerable. | 
|  | 199 |  | 
|  | 200 | Do not select this option. | 
| Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 201 |  | 
| Javier Cardona | 7646887 | 2011-08-09 16:45:04 -0700 | [diff] [blame] | 202 | config MAC80211_VERBOSE_MPATH_DEBUG | 
|  | 203 | bool "Verbose mesh path debugging" | 
|  | 204 | depends on MAC80211_DEBUG_MENU | 
|  | 205 | depends on MAC80211_MESH | 
|  | 206 | ---help--- | 
|  | 207 | Selecting this option causes mac80211 to print out very | 
|  | 208 | verbose mesh path selection debugging messages (when mac80211 | 
|  | 209 | is taking part in a mesh network). | 
|  | 210 | It should not be selected on production systems as those | 
|  | 211 | messages are remotely triggerable. | 
|  | 212 |  | 
|  | 213 | Do not select this option. | 
|  | 214 |  | 
| Rui Paulo | 27db2e4 | 2009-11-09 23:46:45 +0000 | [diff] [blame] | 215 | config MAC80211_VERBOSE_MHWMP_DEBUG | 
|  | 216 | bool "Verbose mesh HWMP routing debugging" | 
|  | 217 | depends on MAC80211_DEBUG_MENU | 
|  | 218 | depends on MAC80211_MESH | 
|  | 219 | ---help--- | 
|  | 220 | Selecting this option causes mac80211 to print out very | 
|  | 221 | verbose mesh routing (HWMP) debugging messages (when mac80211 | 
|  | 222 | is taking part in a mesh network). | 
|  | 223 | It should not be selected on production systems as those | 
|  | 224 | messages are remotely triggerable. | 
|  | 225 |  | 
|  | 226 | Do not select this option. | 
|  | 227 |  | 
| Arik Nemtsov | dfe018b | 2011-09-28 14:12:52 +0300 | [diff] [blame] | 228 | config MAC80211_VERBOSE_TDLS_DEBUG | 
|  | 229 | bool "Verbose TDLS debugging" | 
|  | 230 | depends on MAC80211_DEBUG_MENU | 
|  | 231 | ---help--- | 
|  | 232 | Selecting this option causes mac80211 to print out very | 
|  | 233 | verbose TDLS selection debugging messages (when mac80211 | 
|  | 234 | is a TDLS STA). | 
|  | 235 | It should not be selected on production systems as those | 
|  | 236 | messages are remotely triggerable. | 
|  | 237 |  | 
|  | 238 | Do not select this option. | 
|  | 239 |  | 
| Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 240 | config MAC80211_DEBUG_COUNTERS | 
|  | 241 | bool "Extra statistics for TX/RX debugging" | 
| Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 242 | depends on MAC80211_DEBUG_MENU | 
|  | 243 | depends on MAC80211_DEBUGFS | 
| Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 244 | ---help--- | 
| Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 245 | Selecting this option causes mac80211 to keep additional | 
|  | 246 | and very verbose statistics about TX and RX handler use | 
|  | 247 | and show them in debugfs. | 
| Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 248 |  | 
| Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 249 | If unsure, say N. | 
| Johannes Berg | 0a2b8bb | 2009-07-07 13:46:22 +0200 | [diff] [blame] | 250 |  | 
|  | 251 | config MAC80211_DRIVER_API_TRACER | 
|  | 252 | bool "Driver API tracer" | 
|  | 253 | depends on MAC80211_DEBUG_MENU | 
|  | 254 | depends on EVENT_TRACING | 
|  | 255 | help | 
|  | 256 | Say Y here to make mac80211 register with the ftrace | 
| Johannes Berg | b5878a2 | 2010-04-07 16:48:40 +0200 | [diff] [blame] | 257 | framework for the driver API -- you can then see which | 
|  | 258 | driver methods it is calling and which API functions | 
|  | 259 | drivers are calling by looking at the trace. | 
| Johannes Berg | 0a2b8bb | 2009-07-07 13:46:22 +0200 | [diff] [blame] | 260 |  | 
| Johannes Berg | b5878a2 | 2010-04-07 16:48:40 +0200 | [diff] [blame] | 261 | If unsure, say Y. |