Jiri Benc | f0706e82 | 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 | f0706e82 | 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 | f0706e82 | 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 | f0706e82 | 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 | bbbdff9 | 2009-04-16 13:27:42 +0200 | [diff] [blame] | 17 | config MAC80211_DEFAULT_PS |
| 18 | bool "enable powersave by default" |
| 19 | depends on MAC80211 |
| 20 | default y |
| 21 | help |
| 22 | This option enables powersave mode by default. |
| 23 | |
| 24 | If this causes your applications to misbehave you should fix your |
| 25 | applications instead -- they need to register their network |
| 26 | latency requirement, see Documentation/power/pm_qos_interface.txt. |
| 27 | |
| 28 | config MAC80211_DEFAULT_PS_VALUE |
| 29 | int |
| 30 | default 1 if MAC80211_DEFAULT_PS |
| 31 | default 0 |
| 32 | |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 33 | menu "Rate control algorithm selection" |
| 34 | depends on MAC80211 != n |
Johannes Berg | ac71c69 | 2007-10-28 14:17:44 +0100 | [diff] [blame] | 35 | |
Adrian Bunk | e5f5e73 | 2008-06-26 13:38:13 +0300 | [diff] [blame] | 36 | config MAC80211_RC_PID |
| 37 | bool "PID controller based rate control algorithm" if EMBEDDED |
Adrian Bunk | e5f5e73 | 2008-06-26 13:38:13 +0300 | [diff] [blame] | 38 | ---help--- |
| 39 | This option enables a TX rate control algorithm for |
| 40 | mac80211 that uses a PID controller to select the TX |
| 41 | rate. |
| 42 | |
Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 43 | config MAC80211_RC_MINSTREL |
Luis R. Rodriguez | 8eb41c9 | 2008-11-14 17:44:53 -0800 | [diff] [blame] | 44 | bool "Minstrel" if EMBEDDED |
| 45 | default y |
Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 46 | ---help--- |
| 47 | This option enables the 'minstrel' TX rate control algorithm |
| 48 | |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 49 | choice |
| 50 | prompt "Default rate control algorithm" |
Luis R. Rodriguez | 8eb41c9 | 2008-11-14 17:44:53 -0800 | [diff] [blame] | 51 | default MAC80211_RC_DEFAULT_MINSTREL |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 52 | ---help--- |
| 53 | This option selects the default rate control algorithm |
| 54 | mac80211 will use. Note that this default can still be |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 55 | overridden through the ieee80211_default_rc_algo module |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 56 | parameter if different algorithms are available. |
Johannes Berg | ac71c69 | 2007-10-28 14:17:44 +0100 | [diff] [blame] | 57 | |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 58 | config MAC80211_RC_DEFAULT_PID |
| 59 | bool "PID controller based rate control algorithm" |
Adrian Bunk | e5f5e73 | 2008-06-26 13:38:13 +0300 | [diff] [blame] | 60 | depends on MAC80211_RC_PID |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 61 | ---help--- |
| 62 | Select the PID controller based rate control as the |
| 63 | default rate control algorithm. You should choose |
| 64 | this unless you know what you are doing. |
| 65 | |
Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 66 | config MAC80211_RC_DEFAULT_MINSTREL |
| 67 | bool "Minstrel" |
| 68 | depends on MAC80211_RC_MINSTREL |
| 69 | ---help--- |
| 70 | Select Minstrel as the default rate control algorithm. |
| 71 | |
| 72 | |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 73 | endchoice |
| 74 | |
| 75 | config MAC80211_RC_DEFAULT |
| 76 | string |
Felix Fietkau | cccf129 | 2008-10-05 18:07:45 +0200 | [diff] [blame] | 77 | default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL |
Luis R. Rodriguez | 8eb41c9 | 2008-11-14 17:44:53 -0800 | [diff] [blame] | 78 | default "pid" if MAC80211_RC_DEFAULT_PID |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 79 | default "" |
| 80 | |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 81 | endmenu |
Mattias Nissler | ad01837 | 2007-12-19 01:25:57 +0100 | [diff] [blame] | 82 | |
Johannes Berg | 2f5ce79 | 2008-02-23 15:17:21 +0100 | [diff] [blame] | 83 | config MAC80211_MESH |
| 84 | bool "Enable mac80211 mesh networking (pre-802.11s) support" |
Luis Carlos Cobo | 37659ff | 2008-02-29 12:13:38 -0800 | [diff] [blame] | 85 | depends on MAC80211 && EXPERIMENTAL |
Johannes Berg | 2f5ce79 | 2008-02-23 15:17:21 +0100 | [diff] [blame] | 86 | ---help--- |
Johannes Berg | 5c142e8 | 2008-02-25 10:13:31 +0100 | [diff] [blame] | 87 | This options enables support of Draft 802.11s mesh networking. |
| 88 | The implementation is based on Draft 1.08 of the Mesh Networking |
| 89 | amendment. For more information visit http://o11s.org/. |
Johannes Berg | 2f5ce79 | 2008-02-23 15:17:21 +0100 | [diff] [blame] | 90 | |
| 91 | |
Jiri Benc | f0706e82 | 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 |
| 95 | select NEW_LEDS |
| 96 | select LEDS_TRIGGERS |
Jiri Benc | f0706e82 | 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 | f0706e82 | 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 | 6feeb8a | 2008-01-29 16:57:51 +0100 | [diff] [blame] | 116 | config MAC80211_DEBUG_PACKET_ALIGNMENT |
| 117 | bool "Enable packet alignment debugging" |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 118 | depends on MAC80211_DEBUG_MENU |
| 119 | ---help--- |
Johannes Berg | 6feeb8a | 2008-01-29 16:57:51 +0100 | [diff] [blame] | 120 | This option is recommended for driver authors and strongly |
| 121 | discouraged for everybody else, it will trigger a warning |
| 122 | when a driver hands mac80211 a buffer that is aligned in |
| 123 | a way that will cause problems with the IP stack on some |
| 124 | architectures. |
| 125 | |
| 126 | Say N unless you're writing a mac80211 based driver. |
| 127 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 128 | config MAC80211_NOINLINE |
| 129 | bool "Do not inline TX/RX handlers" |
| 130 | depends on MAC80211_DEBUG_MENU |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 131 | ---help--- |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 132 | This option affects code generation in mac80211, when |
| 133 | selected some functions are marked "noinline" to allow |
| 134 | easier debugging of problems in the transmit and receive |
| 135 | paths. |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 136 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 137 | This option increases code size a bit and inserts a lot |
| 138 | of function calls in the code, but is otherwise safe to |
| 139 | enable. |
| 140 | |
| 141 | If unsure, say N unless you expect to be finding problems |
| 142 | in mac80211. |
| 143 | |
| 144 | config MAC80211_VERBOSE_DEBUG |
| 145 | bool "Verbose debugging output" |
| 146 | depends on MAC80211_DEBUG_MENU |
| 147 | ---help--- |
| 148 | Selecting this option causes mac80211 to print out |
| 149 | many debugging messages. It should not be selected |
| 150 | on production systems as some of the messages are |
| 151 | remotely triggerable. |
| 152 | |
| 153 | Do not select this option. |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 154 | |
Ron Rindjunsky | 82b3cad | 2007-12-16 16:09:26 -0800 | [diff] [blame] | 155 | config MAC80211_HT_DEBUG |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 156 | bool "Verbose HT debugging" |
| 157 | depends on MAC80211_DEBUG_MENU |
John W. Linville | c40896d | 2007-12-21 00:44:59 -0500 | [diff] [blame] | 158 | ---help--- |
| 159 | This option enables 802.11n High Throughput features |
| 160 | debug tracing output. |
Ron Rindjunsky | 82b3cad | 2007-12-16 16:09:26 -0800 | [diff] [blame] | 161 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 162 | It should not be selected on production systems as some |
| 163 | of the messages are remotely triggerable. |
Ron Rindjunsky | 82b3cad | 2007-12-16 16:09:26 -0800 | [diff] [blame] | 164 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 165 | Do not select this option. |
| 166 | |
| 167 | config MAC80211_TKIP_DEBUG |
| 168 | bool "Verbose TKIP debugging" |
| 169 | depends on MAC80211_DEBUG_MENU |
| 170 | ---help--- |
| 171 | Selecting this option causes mac80211 to print out |
| 172 | very verbose TKIP debugging messages. It should not |
| 173 | be selected on production systems as those messages |
| 174 | are remotely triggerable. |
| 175 | |
| 176 | Do not select this option. |
| 177 | |
| 178 | config MAC80211_IBSS_DEBUG |
| 179 | bool "Verbose IBSS debugging" |
| 180 | depends on MAC80211_DEBUG_MENU |
| 181 | ---help--- |
| 182 | Selecting this option causes mac80211 to print out |
| 183 | very verbose IBSS debugging messages. It should not |
| 184 | be selected on production systems as those messages |
| 185 | are remotely triggerable. |
| 186 | |
| 187 | Do not select this option. |
| 188 | |
| 189 | config MAC80211_VERBOSE_PS_DEBUG |
| 190 | bool "Verbose powersave mode debugging" |
| 191 | depends on MAC80211_DEBUG_MENU |
| 192 | ---help--- |
| 193 | Selecting this option causes mac80211 to print out very |
| 194 | verbose power save mode debugging messages (when mac80211 |
| 195 | is an AP and has power saving stations.) |
| 196 | It should not be selected on production systems as those |
| 197 | messages are remotely triggerable. |
| 198 | |
| 199 | Do not select this option. |
| 200 | |
| 201 | config MAC80211_VERBOSE_MPL_DEBUG |
| 202 | bool "Verbose mesh peer link debugging" |
| 203 | depends on MAC80211_DEBUG_MENU |
| 204 | depends on MAC80211_MESH |
| 205 | ---help--- |
| 206 | Selecting this option causes mac80211 to print out very |
| 207 | verbose mesh peer link debugging messages (when mac80211 |
| 208 | is taking part in a mesh network). |
| 209 | It should not be selected on production systems as those |
| 210 | messages are remotely triggerable. |
| 211 | |
| 212 | Do not select this option. |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 213 | |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 214 | config MAC80211_DEBUG_COUNTERS |
| 215 | bool "Extra statistics for TX/RX debugging" |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 216 | depends on MAC80211_DEBUG_MENU |
| 217 | depends on MAC80211_DEBUGFS |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 218 | ---help--- |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 219 | Selecting this option causes mac80211 to keep additional |
| 220 | and very verbose statistics about TX and RX handler use |
| 221 | and show them in debugfs. |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 222 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 223 | If unsure, say N. |