blob: 9cbf545e95a229755f1de7d0d17851f23ecab96c [file] [log] [blame]
Jiri Bencf0706e82007-05-05 11:45:53 -07001config MAC80211
2 tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
Jiri Bencf0706e82007-05-05 11:45:53 -07003 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 Bencf0706e82007-05-05 11:45:53 -070010 ---help---
John W. Linvillec40896d2007-12-21 00:44:59 -050011 This option enables the hardware independent IEEE 802.11
12 networking stack.
Jiri Bencf0706e82007-05-05 11:45:53 -070013
Johannes Bergbbbdff92009-04-16 13:27:42 +020014config MAC80211_DEFAULT_PS
15 bool "enable powersave by default"
16 depends on MAC80211
17 default y
18 help
19 This option enables powersave mode by default.
20
21 If this causes your applications to misbehave you should fix your
22 applications instead -- they need to register their network
23 latency requirement, see Documentation/power/pm_qos_interface.txt.
24
25config MAC80211_DEFAULT_PS_VALUE
26 int
27 default 1 if MAC80211_DEFAULT_PS
28 default 0
29
Johannes Berg4b475892008-01-02 15:17:03 +010030menu "Rate control algorithm selection"
31 depends on MAC80211 != n
Johannes Bergac71c692007-10-28 14:17:44 +010032
Adrian Bunke5f5e732008-06-26 13:38:13 +030033config MAC80211_RC_PID
34 bool "PID controller based rate control algorithm" if EMBEDDED
Adrian Bunke5f5e732008-06-26 13:38:13 +030035 ---help---
36 This option enables a TX rate control algorithm for
37 mac80211 that uses a PID controller to select the TX
38 rate.
39
Felix Fietkaucccf1292008-10-05 18:07:45 +020040config MAC80211_RC_MINSTREL
Luis R. Rodriguez8eb41c92008-11-14 17:44:53 -080041 bool "Minstrel" if EMBEDDED
42 default y
Felix Fietkaucccf1292008-10-05 18:07:45 +020043 ---help---
44 This option enables the 'minstrel' TX rate control algorithm
45
Stefano Brivioc21b39a2007-12-19 01:26:16 +010046choice
47 prompt "Default rate control algorithm"
Luis R. Rodriguez8eb41c92008-11-14 17:44:53 -080048 default MAC80211_RC_DEFAULT_MINSTREL
Stefano Brivioc21b39a2007-12-19 01:26:16 +010049 ---help---
50 This option selects the default rate control algorithm
51 mac80211 will use. Note that this default can still be
Matt LaPlante692105b2009-01-26 11:12:25 +010052 overridden through the ieee80211_default_rc_algo module
Johannes Berg4b475892008-01-02 15:17:03 +010053 parameter if different algorithms are available.
Johannes Bergac71c692007-10-28 14:17:44 +010054
Stefano Brivioc21b39a2007-12-19 01:26:16 +010055config MAC80211_RC_DEFAULT_PID
56 bool "PID controller based rate control algorithm"
Adrian Bunke5f5e732008-06-26 13:38:13 +030057 depends on MAC80211_RC_PID
Stefano Brivioc21b39a2007-12-19 01:26:16 +010058 ---help---
59 Select the PID controller based rate control as the
60 default rate control algorithm. You should choose
61 this unless you know what you are doing.
62
Felix Fietkaucccf1292008-10-05 18:07:45 +020063config MAC80211_RC_DEFAULT_MINSTREL
64 bool "Minstrel"
65 depends on MAC80211_RC_MINSTREL
66 ---help---
67 Select Minstrel as the default rate control algorithm.
68
69
Stefano Brivioc21b39a2007-12-19 01:26:16 +010070endchoice
71
72config MAC80211_RC_DEFAULT
73 string
Felix Fietkaucccf1292008-10-05 18:07:45 +020074 default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
Luis R. Rodriguez8eb41c92008-11-14 17:44:53 -080075 default "pid" if MAC80211_RC_DEFAULT_PID
Stefano Brivioc21b39a2007-12-19 01:26:16 +010076 default ""
77
Johannes Berg4b475892008-01-02 15:17:03 +010078endmenu
Mattias Nisslerad018372007-12-19 01:25:57 +010079
Johannes Berg2f5ce792008-02-23 15:17:21 +010080config MAC80211_MESH
81 bool "Enable mac80211 mesh networking (pre-802.11s) support"
Luis Carlos Cobo37659ff2008-02-29 12:13:38 -080082 depends on MAC80211 && EXPERIMENTAL
Johannes Berg2f5ce792008-02-23 15:17:21 +010083 ---help---
Johannes Berg5c142e82008-02-25 10:13:31 +010084 This options enables support of Draft 802.11s mesh networking.
85 The implementation is based on Draft 1.08 of the Mesh Networking
86 amendment. For more information visit http://o11s.org/.
Johannes Berg2f5ce792008-02-23 15:17:21 +010087
88
Jiri Bencf0706e82007-05-05 11:45:53 -070089config MAC80211_LEDS
90 bool "Enable LED triggers"
Luca Tettamantibd8fd212008-04-27 15:34:55 -070091 depends on MAC80211
92 select NEW_LEDS
93 select LEDS_TRIGGERS
Jiri Bencf0706e82007-05-05 11:45:53 -070094 ---help---
John W. Linvillec40896d2007-12-21 00:44:59 -050095 This option enables a few LED triggers for different
96 packet receive/transmit events.
Jiri Bencf0706e82007-05-05 11:45:53 -070097
Jiri Bence9f207f2007-05-05 11:46:38 -070098config MAC80211_DEBUGFS
99 bool "Export mac80211 internals in DebugFS"
100 depends on MAC80211 && DEBUG_FS
101 ---help---
102 Select this to see extensive information about
103 the internal state of mac80211 in debugfs.
104
105 Say N unless you know you need this.
106
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200107menuconfig MAC80211_DEBUG_MENU
108 bool "Select mac80211 debugging features"
109 depends on MAC80211
110 ---help---
111 This option collects various mac80211 debug settings.
112
Johannes Berg6feeb8a2008-01-29 16:57:51 +0100113config MAC80211_DEBUG_PACKET_ALIGNMENT
114 bool "Enable packet alignment debugging"
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200115 depends on MAC80211_DEBUG_MENU
116 ---help---
Johannes Berg6feeb8a2008-01-29 16:57:51 +0100117 This option is recommended for driver authors and strongly
118 discouraged for everybody else, it will trigger a warning
119 when a driver hands mac80211 a buffer that is aligned in
120 a way that will cause problems with the IP stack on some
121 architectures.
122
123 Say N unless you're writing a mac80211 based driver.
124
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200125config MAC80211_NOINLINE
126 bool "Do not inline TX/RX handlers"
127 depends on MAC80211_DEBUG_MENU
Jiri Bencf0706e82007-05-05 11:45:53 -0700128 ---help---
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200129 This option affects code generation in mac80211, when
130 selected some functions are marked "noinline" to allow
131 easier debugging of problems in the transmit and receive
132 paths.
Jiri Bencf0706e82007-05-05 11:45:53 -0700133
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200134 This option increases code size a bit and inserts a lot
135 of function calls in the code, but is otherwise safe to
136 enable.
137
138 If unsure, say N unless you expect to be finding problems
139 in mac80211.
140
141config MAC80211_VERBOSE_DEBUG
142 bool "Verbose debugging output"
143 depends on MAC80211_DEBUG_MENU
144 ---help---
145 Selecting this option causes mac80211 to print out
146 many debugging messages. It should not be selected
147 on production systems as some of the messages are
148 remotely triggerable.
149
150 Do not select this option.
Jiri Bencf0706e82007-05-05 11:45:53 -0700151
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800152config MAC80211_HT_DEBUG
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200153 bool "Verbose HT debugging"
154 depends on MAC80211_DEBUG_MENU
John W. Linvillec40896d2007-12-21 00:44:59 -0500155 ---help---
156 This option enables 802.11n High Throughput features
157 debug tracing output.
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800158
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200159 It should not be selected on production systems as some
160 of the messages are remotely triggerable.
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800161
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200162 Do not select this option.
163
164config MAC80211_TKIP_DEBUG
165 bool "Verbose TKIP debugging"
166 depends on MAC80211_DEBUG_MENU
167 ---help---
168 Selecting this option causes mac80211 to print out
169 very verbose TKIP debugging messages. It should not
170 be selected on production systems as those messages
171 are remotely triggerable.
172
173 Do not select this option.
174
175config MAC80211_IBSS_DEBUG
176 bool "Verbose IBSS debugging"
177 depends on MAC80211_DEBUG_MENU
178 ---help---
179 Selecting this option causes mac80211 to print out
180 very verbose IBSS debugging messages. It should not
181 be selected on production systems as those messages
182 are remotely triggerable.
183
184 Do not select this option.
185
186config MAC80211_VERBOSE_PS_DEBUG
187 bool "Verbose powersave mode debugging"
188 depends on MAC80211_DEBUG_MENU
189 ---help---
190 Selecting this option causes mac80211 to print out very
191 verbose power save mode debugging messages (when mac80211
192 is an AP and has power saving stations.)
193 It should not be selected on production systems as those
194 messages are remotely triggerable.
195
196 Do not select this option.
197
198config MAC80211_VERBOSE_MPL_DEBUG
199 bool "Verbose mesh peer link debugging"
200 depends on MAC80211_DEBUG_MENU
201 depends on MAC80211_MESH
202 ---help---
203 Selecting this option causes mac80211 to print out very
204 verbose mesh peer link debugging messages (when mac80211
205 is taking part in a mesh network).
206 It should not be selected on production systems as those
207 messages are remotely triggerable.
208
209 Do not select this option.
Jiri Bencf0706e82007-05-05 11:45:53 -0700210
Jiri Bencf0706e82007-05-05 11:45:53 -0700211config MAC80211_DEBUG_COUNTERS
212 bool "Extra statistics for TX/RX debugging"
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200213 depends on MAC80211_DEBUG_MENU
214 depends on MAC80211_DEBUGFS
Jiri Bencf0706e82007-05-05 11:45:53 -0700215 ---help---
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200216 Selecting this option causes mac80211 to keep additional
217 and very verbose statistics about TX and RX handler use
218 and show them in debugfs.
Jiri Bencf0706e82007-05-05 11:45:53 -0700219
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200220 If unsure, say N.