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 |
| 9 | select WIRELESS_EXT |
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 | |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 17 | menu "Rate control algorithm selection" |
| 18 | depends on MAC80211 != n |
Johannes Berg | ac71c69 | 2007-10-28 14:17:44 +0100 | [diff] [blame] | 19 | |
Adrian Bunk | e5f5e73 | 2008-06-26 13:38:13 +0300 | [diff] [blame] | 20 | config MAC80211_RC_PID |
| 21 | bool "PID controller based rate control algorithm" if EMBEDDED |
Adrian Bunk | e5f5e73 | 2008-06-26 13:38:13 +0300 | [diff] [blame] | 22 | ---help--- |
| 23 | This option enables a TX rate control algorithm for |
| 24 | mac80211 that uses a PID controller to select the TX |
| 25 | rate. |
| 26 | |
Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 27 | config MAC80211_RC_MINSTREL |
Luis R. Rodriguez | 8eb41c9 | 2008-11-14 17:44:53 -0800 | [diff] [blame] | 28 | bool "Minstrel" if EMBEDDED |
| 29 | default y |
Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 30 | ---help--- |
| 31 | This option enables the 'minstrel' TX rate control algorithm |
| 32 | |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 33 | choice |
| 34 | prompt "Default rate control algorithm" |
Luis R. Rodriguez | 8eb41c9 | 2008-11-14 17:44:53 -0800 | [diff] [blame] | 35 | default MAC80211_RC_DEFAULT_MINSTREL |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 36 | ---help--- |
| 37 | This option selects the default rate control algorithm |
| 38 | mac80211 will use. Note that this default can still be |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 39 | overridden through the ieee80211_default_rc_algo module |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 40 | parameter if different algorithms are available. |
Johannes Berg | ac71c69 | 2007-10-28 14:17:44 +0100 | [diff] [blame] | 41 | |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 42 | config MAC80211_RC_DEFAULT_PID |
| 43 | bool "PID controller based rate control algorithm" |
Adrian Bunk | e5f5e73 | 2008-06-26 13:38:13 +0300 | [diff] [blame] | 44 | depends on MAC80211_RC_PID |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 45 | ---help--- |
| 46 | Select the PID controller based rate control as the |
| 47 | default rate control algorithm. You should choose |
| 48 | this unless you know what you are doing. |
| 49 | |
Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 50 | config MAC80211_RC_DEFAULT_MINSTREL |
| 51 | bool "Minstrel" |
| 52 | depends on MAC80211_RC_MINSTREL |
| 53 | ---help--- |
| 54 | Select Minstrel as the default rate control algorithm. |
| 55 | |
| 56 | |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 57 | endchoice |
| 58 | |
| 59 | config MAC80211_RC_DEFAULT |
| 60 | string |
Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 61 | default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL |
Luis R. Rodriguez | 8eb41c9 | 2008-11-14 17:44:53 -0800 | [diff] [blame] | 62 | default "pid" if MAC80211_RC_DEFAULT_PID |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 63 | default "" |
| 64 | |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 65 | endmenu |
Mattias Nissler | ad01837 | 2007-12-19 01:25:57 +0100 | [diff] [blame] | 66 | |
Johannes Berg | 2f5ce79 | 2008-02-23 15:17:21 +0100 | [diff] [blame] | 67 | config MAC80211_MESH |
| 68 | bool "Enable mac80211 mesh networking (pre-802.11s) support" |
Luis Carlos Cobo | 37659ff | 2008-02-29 12:13:38 -0800 | [diff] [blame] | 69 | depends on MAC80211 && EXPERIMENTAL |
Johannes Berg | e2e414d | 2009-07-10 11:38:14 +0200 | [diff] [blame] | 70 | depends on BROKEN |
Johannes Berg | 2f5ce79 | 2008-02-23 15:17:21 +0100 | [diff] [blame] | 71 | ---help--- |
Johannes Berg | 5c142e8 | 2008-02-25 10:13:31 +0100 | [diff] [blame] | 72 | This options enables support of Draft 802.11s mesh networking. |
| 73 | The implementation is based on Draft 1.08 of the Mesh Networking |
| 74 | amendment. For more information visit http://o11s.org/. |
Johannes Berg | 2f5ce79 | 2008-02-23 15:17:21 +0100 | [diff] [blame] | 75 | |
| 76 | |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 77 | config MAC80211_LEDS |
| 78 | bool "Enable LED triggers" |
Luca Tettamanti | bd8fd21 | 2008-04-27 15:34:55 -0700 | [diff] [blame] | 79 | depends on MAC80211 |
| 80 | select NEW_LEDS |
| 81 | select LEDS_TRIGGERS |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 82 | ---help--- |
John W. Linville | c40896d | 2007-12-21 00:44:59 -0500 | [diff] [blame] | 83 | This option enables a few LED triggers for different |
| 84 | packet receive/transmit events. |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 85 | |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 86 | config MAC80211_DEBUGFS |
| 87 | bool "Export mac80211 internals in DebugFS" |
| 88 | depends on MAC80211 && DEBUG_FS |
| 89 | ---help--- |
| 90 | Select this to see extensive information about |
| 91 | the internal state of mac80211 in debugfs. |
| 92 | |
| 93 | Say N unless you know you need this. |
| 94 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 95 | menuconfig MAC80211_DEBUG_MENU |
| 96 | bool "Select mac80211 debugging features" |
| 97 | depends on MAC80211 |
| 98 | ---help--- |
| 99 | This option collects various mac80211 debug settings. |
| 100 | |
Johannes Berg | 6feeb8a | 2008-01-29 16:57:51 +0100 | [diff] [blame] | 101 | config MAC80211_DEBUG_PACKET_ALIGNMENT |
| 102 | bool "Enable packet alignment debugging" |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 103 | depends on MAC80211_DEBUG_MENU |
| 104 | ---help--- |
Johannes Berg | 6feeb8a | 2008-01-29 16:57:51 +0100 | [diff] [blame] | 105 | This option is recommended for driver authors and strongly |
| 106 | discouraged for everybody else, it will trigger a warning |
| 107 | when a driver hands mac80211 a buffer that is aligned in |
| 108 | a way that will cause problems with the IP stack on some |
| 109 | architectures. |
| 110 | |
| 111 | Say N unless you're writing a mac80211 based driver. |
| 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 | |
Ron Rindjunsky | 82b3cad | 2007-12-16 16:09:26 -0800 | [diff] [blame] | 140 | config MAC80211_HT_DEBUG |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 141 | bool "Verbose HT debugging" |
| 142 | depends on MAC80211_DEBUG_MENU |
John W. Linville | c40896d | 2007-12-21 00:44:59 -0500 | [diff] [blame] | 143 | ---help--- |
| 144 | This option enables 802.11n High Throughput features |
| 145 | debug tracing output. |
Ron Rindjunsky | 82b3cad | 2007-12-16 16:09:26 -0800 | [diff] [blame] | 146 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 147 | It should not be selected on production systems as some |
| 148 | of the messages are remotely triggerable. |
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 | Do not select this option. |
| 151 | |
| 152 | config MAC80211_TKIP_DEBUG |
| 153 | bool "Verbose TKIP debugging" |
| 154 | depends on MAC80211_DEBUG_MENU |
| 155 | ---help--- |
| 156 | Selecting this option causes mac80211 to print out |
| 157 | very verbose TKIP debugging messages. It should not |
| 158 | be selected on production systems as those messages |
| 159 | are remotely triggerable. |
| 160 | |
| 161 | Do not select this option. |
| 162 | |
| 163 | config MAC80211_IBSS_DEBUG |
| 164 | bool "Verbose IBSS debugging" |
| 165 | depends on MAC80211_DEBUG_MENU |
| 166 | ---help--- |
| 167 | Selecting this option causes mac80211 to print out |
| 168 | very verbose IBSS debugging messages. It should not |
| 169 | be selected on production systems as those messages |
| 170 | are remotely triggerable. |
| 171 | |
| 172 | Do not select this option. |
| 173 | |
| 174 | config MAC80211_VERBOSE_PS_DEBUG |
| 175 | bool "Verbose powersave mode debugging" |
| 176 | depends on MAC80211_DEBUG_MENU |
| 177 | ---help--- |
| 178 | Selecting this option causes mac80211 to print out very |
| 179 | verbose power save mode debugging messages (when mac80211 |
| 180 | is an AP and has power saving stations.) |
| 181 | It should not be selected on production systems as those |
| 182 | messages are remotely triggerable. |
| 183 | |
| 184 | Do not select this option. |
| 185 | |
| 186 | config MAC80211_VERBOSE_MPL_DEBUG |
| 187 | bool "Verbose mesh peer link debugging" |
| 188 | depends on MAC80211_DEBUG_MENU |
| 189 | depends on MAC80211_MESH |
| 190 | ---help--- |
| 191 | Selecting this option causes mac80211 to print out very |
| 192 | verbose mesh peer link debugging messages (when mac80211 |
| 193 | is taking part in a mesh network). |
| 194 | It should not be selected on production systems as those |
| 195 | messages are remotely triggerable. |
| 196 | |
| 197 | Do not select this option. |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 198 | |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 199 | config MAC80211_DEBUG_COUNTERS |
| 200 | bool "Extra statistics for TX/RX debugging" |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 201 | depends on MAC80211_DEBUG_MENU |
| 202 | depends on MAC80211_DEBUGFS |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 203 | ---help--- |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 204 | Selecting this option causes mac80211 to keep additional |
| 205 | and very verbose statistics about TX and RX handler use |
| 206 | and show them in debugfs. |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 207 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 208 | If unsure, say N. |
Johannes Berg | 0a2b8bb | 2009-07-07 13:46:22 +0200 | [diff] [blame^] | 209 | |
| 210 | config MAC80211_DRIVER_API_TRACER |
| 211 | bool "Driver API tracer" |
| 212 | depends on MAC80211_DEBUG_MENU |
| 213 | depends on EVENT_TRACING |
| 214 | help |
| 215 | Say Y here to make mac80211 register with the ftrace |
| 216 | framework for the driver API -- you can see which |
| 217 | driver methods it is calling then by looking at the |
| 218 | trace. |
| 219 | |
| 220 | If unsure, say N. |