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 | |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 16 | menu "Rate control algorithm selection" |
| 17 | depends on MAC80211 != n |
Johannes Berg | ac71c69 | 2007-10-28 14:17:44 +0100 | [diff] [blame] | 18 | |
Adrian Bunk | e5f5e73 | 2008-06-26 13:38:13 +0300 | [diff] [blame] | 19 | config MAC80211_RC_PID |
| 20 | bool "PID controller based rate control algorithm" if EMBEDDED |
Adrian Bunk | e5f5e73 | 2008-06-26 13:38:13 +0300 | [diff] [blame] | 21 | ---help--- |
| 22 | This option enables a TX rate control algorithm for |
| 23 | mac80211 that uses a PID controller to select the TX |
| 24 | rate. |
| 25 | |
Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 26 | config MAC80211_RC_MINSTREL |
Luis R. Rodriguez | 8eb41c9 | 2008-11-14 17:44:53 -0800 | [diff] [blame] | 27 | bool "Minstrel" if EMBEDDED |
| 28 | default y |
Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 29 | ---help--- |
| 30 | This option enables the 'minstrel' TX rate control algorithm |
| 31 | |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 32 | choice |
| 33 | prompt "Default rate control algorithm" |
Luis R. Rodriguez | 8eb41c9 | 2008-11-14 17:44:53 -0800 | [diff] [blame] | 34 | default MAC80211_RC_DEFAULT_MINSTREL |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 35 | ---help--- |
| 36 | This option selects the default rate control algorithm |
| 37 | mac80211 will use. Note that this default can still be |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 38 | overridden through the ieee80211_default_rc_algo module |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 39 | parameter if different algorithms are available. |
Johannes Berg | ac71c69 | 2007-10-28 14:17:44 +0100 | [diff] [blame] | 40 | |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 41 | config MAC80211_RC_DEFAULT_PID |
| 42 | bool "PID controller based rate control algorithm" |
Adrian Bunk | e5f5e73 | 2008-06-26 13:38:13 +0300 | [diff] [blame] | 43 | depends on MAC80211_RC_PID |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 44 | ---help--- |
| 45 | Select the PID controller based rate control as the |
| 46 | default rate control algorithm. You should choose |
| 47 | this unless you know what you are doing. |
| 48 | |
Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 49 | config MAC80211_RC_DEFAULT_MINSTREL |
| 50 | bool "Minstrel" |
| 51 | depends on MAC80211_RC_MINSTREL |
| 52 | ---help--- |
| 53 | Select Minstrel as the default rate control algorithm. |
| 54 | |
| 55 | |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 56 | endchoice |
| 57 | |
| 58 | config MAC80211_RC_DEFAULT |
| 59 | string |
Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 60 | default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL |
Luis R. Rodriguez | 8eb41c9 | 2008-11-14 17:44:53 -0800 | [diff] [blame] | 61 | default "pid" if MAC80211_RC_DEFAULT_PID |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 62 | default "" |
| 63 | |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 64 | endmenu |
Mattias Nissler | ad01837 | 2007-12-19 01:25:57 +0100 | [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" |
Luis Carlos Cobo | 37659ff | 2008-02-29 12:13:38 -0800 | [diff] [blame] | 68 | depends on MAC80211 && EXPERIMENTAL |
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 |
| 79 | select NEW_LEDS |
| 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 | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 94 | menuconfig MAC80211_DEBUG_MENU |
| 95 | bool "Select mac80211 debugging features" |
| 96 | depends on MAC80211 |
| 97 | ---help--- |
| 98 | This option collects various mac80211 debug settings. |
| 99 | |
Johannes Berg | 6feeb8a | 2008-01-29 16:57:51 +0100 | [diff] [blame] | 100 | config MAC80211_DEBUG_PACKET_ALIGNMENT |
| 101 | bool "Enable packet alignment debugging" |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 102 | depends on MAC80211_DEBUG_MENU |
| 103 | ---help--- |
Johannes Berg | 6feeb8a | 2008-01-29 16:57:51 +0100 | [diff] [blame] | 104 | This option is recommended for driver authors and strongly |
| 105 | discouraged for everybody else, it will trigger a warning |
| 106 | when a driver hands mac80211 a buffer that is aligned in |
| 107 | a way that will cause problems with the IP stack on some |
| 108 | architectures. |
| 109 | |
| 110 | Say N unless you're writing a mac80211 based driver. |
| 111 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 112 | config MAC80211_NOINLINE |
| 113 | bool "Do not inline TX/RX handlers" |
| 114 | depends on MAC80211_DEBUG_MENU |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 115 | ---help--- |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 116 | This option affects code generation in mac80211, when |
| 117 | selected some functions are marked "noinline" to allow |
| 118 | easier debugging of problems in the transmit and receive |
| 119 | paths. |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 120 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 121 | This option increases code size a bit and inserts a lot |
| 122 | of function calls in the code, but is otherwise safe to |
| 123 | enable. |
| 124 | |
| 125 | If unsure, say N unless you expect to be finding problems |
| 126 | in mac80211. |
| 127 | |
| 128 | config MAC80211_VERBOSE_DEBUG |
| 129 | bool "Verbose debugging output" |
| 130 | depends on MAC80211_DEBUG_MENU |
| 131 | ---help--- |
| 132 | Selecting this option causes mac80211 to print out |
| 133 | many debugging messages. It should not be selected |
| 134 | on production systems as some of the messages are |
| 135 | remotely triggerable. |
| 136 | |
| 137 | Do not select this option. |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 138 | |
Ron Rindjunsky | 82b3cad | 2007-12-16 16:09:26 -0800 | [diff] [blame] | 139 | config MAC80211_HT_DEBUG |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 140 | bool "Verbose HT debugging" |
| 141 | depends on MAC80211_DEBUG_MENU |
John W. Linville | c40896d | 2007-12-21 00:44:59 -0500 | [diff] [blame] | 142 | ---help--- |
| 143 | This option enables 802.11n High Throughput features |
| 144 | debug tracing output. |
Ron Rindjunsky | 82b3cad | 2007-12-16 16:09:26 -0800 | [diff] [blame] | 145 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 146 | It should not be selected on production systems as some |
| 147 | of the messages are remotely triggerable. |
Ron Rindjunsky | 82b3cad | 2007-12-16 16:09:26 -0800 | [diff] [blame] | 148 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 149 | Do not select this option. |
| 150 | |
| 151 | config MAC80211_TKIP_DEBUG |
| 152 | bool "Verbose TKIP debugging" |
| 153 | depends on MAC80211_DEBUG_MENU |
| 154 | ---help--- |
| 155 | Selecting this option causes mac80211 to print out |
| 156 | very verbose TKIP debugging messages. It should not |
| 157 | be selected on production systems as those messages |
| 158 | are remotely triggerable. |
| 159 | |
| 160 | Do not select this option. |
| 161 | |
| 162 | config MAC80211_IBSS_DEBUG |
| 163 | bool "Verbose IBSS debugging" |
| 164 | depends on MAC80211_DEBUG_MENU |
| 165 | ---help--- |
| 166 | Selecting this option causes mac80211 to print out |
| 167 | very verbose IBSS debugging messages. It should not |
| 168 | be selected on production systems as those messages |
| 169 | are remotely triggerable. |
| 170 | |
| 171 | Do not select this option. |
| 172 | |
| 173 | config MAC80211_VERBOSE_PS_DEBUG |
| 174 | bool "Verbose powersave mode debugging" |
| 175 | depends on MAC80211_DEBUG_MENU |
| 176 | ---help--- |
| 177 | Selecting this option causes mac80211 to print out very |
| 178 | verbose power save mode debugging messages (when mac80211 |
| 179 | is an AP and has power saving stations.) |
| 180 | It should not be selected on production systems as those |
| 181 | messages are remotely triggerable. |
| 182 | |
| 183 | Do not select this option. |
| 184 | |
| 185 | config MAC80211_VERBOSE_MPL_DEBUG |
| 186 | bool "Verbose mesh peer link debugging" |
| 187 | depends on MAC80211_DEBUG_MENU |
| 188 | depends on MAC80211_MESH |
| 189 | ---help--- |
| 190 | Selecting this option causes mac80211 to print out very |
| 191 | verbose mesh peer link debugging messages (when mac80211 |
| 192 | is taking part in a mesh network). |
| 193 | It should not be selected on production systems as those |
| 194 | messages are remotely triggerable. |
| 195 | |
| 196 | Do not select this option. |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 197 | |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 198 | config MAC80211_DEBUG_COUNTERS |
| 199 | bool "Extra statistics for TX/RX debugging" |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 200 | depends on MAC80211_DEBUG_MENU |
| 201 | depends on MAC80211_DEBUGFS |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 202 | ---help--- |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 203 | Selecting this option causes mac80211 to keep additional |
| 204 | and very verbose statistics about TX and RX handler use |
| 205 | and show them in debugfs. |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 206 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 207 | If unsure, say N. |
Johannes Berg | 0a2b8bb | 2009-07-07 13:46:22 +0200 | [diff] [blame] | 208 | |
| 209 | config MAC80211_DRIVER_API_TRACER |
| 210 | bool "Driver API tracer" |
| 211 | depends on MAC80211_DEBUG_MENU |
| 212 | depends on EVENT_TRACING |
| 213 | help |
| 214 | Say Y here to make mac80211 register with the ftrace |
| 215 | framework for the driver API -- you can see which |
| 216 | driver methods it is calling then by looking at the |
| 217 | trace. |
| 218 | |
| 219 | If unsure, say N. |