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