Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 1 | config MAC80211 |
| 2 | tristate "Generic IEEE 802.11 Networking Stack (mac80211)" |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 3 | select CRYPTO |
| 4 | select CRYPTO_ECB |
| 5 | select CRYPTO_ARC4 |
| 6 | select CRYPTO_AES |
| 7 | select CRC32 |
| 8 | select WIRELESS_EXT |
| 9 | select CFG80211 |
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 | e253008 | 2008-05-17 00:57:14 +0200 | [diff] [blame] | 14 | config MAC80211_QOS |
| 15 | def_bool y |
| 16 | depends on MAC80211 |
| 17 | depends on NET_SCHED |
| 18 | depends on NETDEVICES_MULTIQUEUE |
| 19 | |
| 20 | comment "QoS/HT support disabled" |
| 21 | depends on MAC80211 && !MAC80211_QOS |
| 22 | comment "QoS/HT support needs CONFIG_NET_SCHED" |
| 23 | depends on MAC80211 && !NET_SCHED |
| 24 | comment "QoS/HT support needs CONFIG_NETDEVICES_MULTIQUEUE" |
| 25 | depends on MAC80211 && !NETDEVICES_MULTIQUEUE |
| 26 | |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 27 | menu "Rate control algorithm selection" |
| 28 | depends on MAC80211 != n |
Johannes Berg | ac71c69 | 2007-10-28 14:17:44 +0100 | [diff] [blame] | 29 | |
Adrian Bunk | e5f5e73 | 2008-06-26 13:38:13 +0300 | [diff] [blame] | 30 | config MAC80211_RC_PID |
| 31 | bool "PID controller based rate control algorithm" if EMBEDDED |
| 32 | default y |
| 33 | ---help--- |
| 34 | This option enables a TX rate control algorithm for |
| 35 | mac80211 that uses a PID controller to select the TX |
| 36 | rate. |
| 37 | |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 38 | choice |
| 39 | prompt "Default rate control algorithm" |
| 40 | default MAC80211_RC_DEFAULT_PID |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 41 | ---help--- |
| 42 | This option selects the default rate control algorithm |
| 43 | mac80211 will use. Note that this default can still be |
| 44 | overriden through the ieee80211_default_rc_algo module |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 45 | parameter if different algorithms are available. |
Johannes Berg | ac71c69 | 2007-10-28 14:17:44 +0100 | [diff] [blame] | 46 | |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 47 | config MAC80211_RC_DEFAULT_PID |
| 48 | bool "PID controller based rate control algorithm" |
Adrian Bunk | e5f5e73 | 2008-06-26 13:38:13 +0300 | [diff] [blame] | 49 | depends on MAC80211_RC_PID |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 50 | ---help--- |
| 51 | Select the PID controller based rate control as the |
| 52 | default rate control algorithm. You should choose |
| 53 | this unless you know what you are doing. |
| 54 | |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 55 | endchoice |
| 56 | |
| 57 | config MAC80211_RC_DEFAULT |
| 58 | string |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 59 | default "pid" if MAC80211_RC_DEFAULT_PID |
Stefano Brivio | c21b39a | 2007-12-19 01:26:16 +0100 | [diff] [blame] | 60 | default "" |
| 61 | |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 62 | endmenu |
Mattias Nissler | ad01837 | 2007-12-19 01:25:57 +0100 | [diff] [blame] | 63 | |
Johannes Berg | 2f5ce79 | 2008-02-23 15:17:21 +0100 | [diff] [blame] | 64 | config MAC80211_MESH |
| 65 | bool "Enable mac80211 mesh networking (pre-802.11s) support" |
Luis Carlos Cobo | 37659ff | 2008-02-29 12:13:38 -0800 | [diff] [blame] | 66 | depends on MAC80211 && EXPERIMENTAL |
Johannes Berg | 2f5ce79 | 2008-02-23 15:17:21 +0100 | [diff] [blame] | 67 | ---help--- |
Johannes Berg | 5c142e8 | 2008-02-25 10:13:31 +0100 | [diff] [blame] | 68 | This options enables support of Draft 802.11s mesh networking. |
| 69 | The implementation is based on Draft 1.08 of the Mesh Networking |
| 70 | amendment. For more information visit http://o11s.org/. |
Johannes Berg | 2f5ce79 | 2008-02-23 15:17:21 +0100 | [diff] [blame] | 71 | |
| 72 | |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 73 | config MAC80211_LEDS |
| 74 | bool "Enable LED triggers" |
Luca Tettamanti | bd8fd21 | 2008-04-27 15:34:55 -0700 | [diff] [blame] | 75 | depends on MAC80211 |
| 76 | select NEW_LEDS |
| 77 | select LEDS_TRIGGERS |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 78 | ---help--- |
John W. Linville | c40896d | 2007-12-21 00:44:59 -0500 | [diff] [blame] | 79 | This option enables a few LED triggers for different |
| 80 | packet receive/transmit events. |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 81 | |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 82 | config MAC80211_DEBUGFS |
| 83 | bool "Export mac80211 internals in DebugFS" |
| 84 | depends on MAC80211 && DEBUG_FS |
| 85 | ---help--- |
| 86 | Select this to see extensive information about |
| 87 | the internal state of mac80211 in debugfs. |
| 88 | |
| 89 | Say N unless you know you need this. |
| 90 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 91 | menuconfig MAC80211_DEBUG_MENU |
| 92 | bool "Select mac80211 debugging features" |
| 93 | depends on MAC80211 |
| 94 | ---help--- |
| 95 | This option collects various mac80211 debug settings. |
| 96 | |
Johannes Berg | 6feeb8a | 2008-01-29 16:57:51 +0100 | [diff] [blame] | 97 | config MAC80211_DEBUG_PACKET_ALIGNMENT |
| 98 | bool "Enable packet alignment debugging" |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 99 | depends on MAC80211_DEBUG_MENU |
| 100 | ---help--- |
Johannes Berg | 6feeb8a | 2008-01-29 16:57:51 +0100 | [diff] [blame] | 101 | This option is recommended for driver authors and strongly |
| 102 | discouraged for everybody else, it will trigger a warning |
| 103 | when a driver hands mac80211 a buffer that is aligned in |
| 104 | a way that will cause problems with the IP stack on some |
| 105 | architectures. |
| 106 | |
| 107 | Say N unless you're writing a mac80211 based driver. |
| 108 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 109 | config MAC80211_NOINLINE |
| 110 | bool "Do not inline TX/RX handlers" |
| 111 | depends on MAC80211_DEBUG_MENU |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 112 | ---help--- |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 113 | This option affects code generation in mac80211, when |
| 114 | selected some functions are marked "noinline" to allow |
| 115 | easier debugging of problems in the transmit and receive |
| 116 | paths. |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 117 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 118 | This option increases code size a bit and inserts a lot |
| 119 | of function calls in the code, but is otherwise safe to |
| 120 | enable. |
| 121 | |
| 122 | If unsure, say N unless you expect to be finding problems |
| 123 | in mac80211. |
| 124 | |
| 125 | config MAC80211_VERBOSE_DEBUG |
| 126 | bool "Verbose debugging output" |
| 127 | depends on MAC80211_DEBUG_MENU |
| 128 | ---help--- |
| 129 | Selecting this option causes mac80211 to print out |
| 130 | many debugging messages. It should not be selected |
| 131 | on production systems as some of the messages are |
| 132 | remotely triggerable. |
| 133 | |
| 134 | Do not select this option. |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 135 | |
Ron Rindjunsky | 82b3cad | 2007-12-16 16:09:26 -0800 | [diff] [blame] | 136 | config MAC80211_HT_DEBUG |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 137 | bool "Verbose HT debugging" |
| 138 | depends on MAC80211_DEBUG_MENU |
John W. Linville | c40896d | 2007-12-21 00:44:59 -0500 | [diff] [blame] | 139 | ---help--- |
| 140 | This option enables 802.11n High Throughput features |
| 141 | debug tracing output. |
Ron Rindjunsky | 82b3cad | 2007-12-16 16:09:26 -0800 | [diff] [blame] | 142 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 143 | It should not be selected on production systems as some |
| 144 | of the messages are remotely triggerable. |
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 | Do not select this option. |
| 147 | |
| 148 | config MAC80211_TKIP_DEBUG |
| 149 | bool "Verbose TKIP debugging" |
| 150 | depends on MAC80211_DEBUG_MENU |
| 151 | ---help--- |
| 152 | Selecting this option causes mac80211 to print out |
| 153 | very verbose TKIP debugging messages. It should not |
| 154 | be selected on production systems as those messages |
| 155 | are remotely triggerable. |
| 156 | |
| 157 | Do not select this option. |
| 158 | |
| 159 | config MAC80211_IBSS_DEBUG |
| 160 | bool "Verbose IBSS debugging" |
| 161 | depends on MAC80211_DEBUG_MENU |
| 162 | ---help--- |
| 163 | Selecting this option causes mac80211 to print out |
| 164 | very verbose IBSS debugging messages. It should not |
| 165 | be selected on production systems as those messages |
| 166 | are remotely triggerable. |
| 167 | |
| 168 | Do not select this option. |
| 169 | |
| 170 | config MAC80211_VERBOSE_PS_DEBUG |
| 171 | bool "Verbose powersave mode debugging" |
| 172 | depends on MAC80211_DEBUG_MENU |
| 173 | ---help--- |
| 174 | Selecting this option causes mac80211 to print out very |
| 175 | verbose power save mode debugging messages (when mac80211 |
| 176 | is an AP and has power saving stations.) |
| 177 | It should not be selected on production systems as those |
| 178 | messages are remotely triggerable. |
| 179 | |
| 180 | Do not select this option. |
| 181 | |
| 182 | config MAC80211_VERBOSE_MPL_DEBUG |
| 183 | bool "Verbose mesh peer link debugging" |
| 184 | depends on MAC80211_DEBUG_MENU |
| 185 | depends on MAC80211_MESH |
| 186 | ---help--- |
| 187 | Selecting this option causes mac80211 to print out very |
| 188 | verbose mesh peer link debugging messages (when mac80211 |
| 189 | is taking part in a mesh network). |
| 190 | It should not be selected on production systems as those |
| 191 | messages are remotely triggerable. |
| 192 | |
| 193 | Do not select this option. |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 194 | |
| 195 | config MAC80211_LOWTX_FRAME_DUMP |
| 196 | bool "Debug frame dumping" |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 197 | depends on MAC80211_DEBUG_MENU |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 198 | ---help--- |
| 199 | Selecting this option will cause the stack to |
| 200 | print a message for each frame that is handed |
| 201 | to the lowlevel driver for transmission. This |
| 202 | message includes all MAC addresses and the |
| 203 | frame control field. |
| 204 | |
| 205 | If unsure, say N and insert the debugging code |
| 206 | you require into the driver you are debugging. |
| 207 | |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 208 | config MAC80211_DEBUG_COUNTERS |
| 209 | bool "Extra statistics for TX/RX debugging" |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 210 | depends on MAC80211_DEBUG_MENU |
| 211 | depends on MAC80211_DEBUGFS |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 212 | ---help--- |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 213 | Selecting this option causes mac80211 to keep additional |
| 214 | and very verbose statistics about TX and RX handler use |
| 215 | and show them in debugfs. |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 216 | |
Johannes Berg | f4ea83d | 2008-06-30 15:10:46 +0200 | [diff] [blame] | 217 | If unsure, say N. |
Yi Zhu | 7b1e78d | 2008-06-18 17:53:43 +0300 | [diff] [blame] | 218 | |
| 219 | config MAC80211_VERBOSE_SPECT_MGMT_DEBUG |
| 220 | bool "Verbose Spectrum Management (IEEE 802.11h)debugging" |
Rami Rosen | 4e887d5 | 2008-07-02 10:53:57 +0300 | [diff] [blame^] | 221 | depends on MAC80211_DEBUG_MENU |
Yi Zhu | 7b1e78d | 2008-06-18 17:53:43 +0300 | [diff] [blame] | 222 | ---help--- |
| 223 | Say Y here to print out verbose Spectrum Management (IEEE 802.11h) |
| 224 | debug messages. |