blob: 4d5543af3123e02201f872f7ac4f3d1cc45ea88d [file] [log] [blame]
Jiri Bencf0706e82007-05-05 11:45:53 -07001config MAC80211
2 tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
Johannes Berg0aa82042009-06-03 18:30:31 +02003 depends on CFG80211
Jiri Bencf0706e82007-05-05 11:45:53 -07004 select CRYPTO
5 select CRYPTO_ECB
6 select CRYPTO_ARC4
7 select CRYPTO_AES
8 select CRC32
Jiri Bencf0706e82007-05-05 11:45:53 -07009 ---help---
John W. Linvillec40896d2007-12-21 00:44:59 -050010 This option enables the hardware independent IEEE 802.11
11 networking stack.
Jiri Bencf0706e82007-05-05 11:45:53 -070012
Johannes Berg0aa82042009-06-03 18:30:31 +020013comment "CFG80211 needs to be enabled for MAC80211"
14 depends on CFG80211=n
15
Luis R. Rodriguezabd8ea22009-09-01 08:22:46 -070016if MAC80211 != n
Johannes Bergac71c692007-10-28 14:17:44 +010017
Adrian Bunke5f5e732008-06-26 13:38:13 +030018config MAC80211_RC_PID
19 bool "PID controller based rate control algorithm" if EMBEDDED
Adrian Bunke5f5e732008-06-26 13:38:13 +030020 ---help---
21 This option enables a TX rate control algorithm for
22 mac80211 that uses a PID controller to select the TX
23 rate.
24
Felix Fietkaucccf1292008-10-05 18:07:45 +020025config MAC80211_RC_MINSTREL
Luis R. Rodriguez8eb41c92008-11-14 17:44:53 -080026 bool "Minstrel" if EMBEDDED
27 default y
Felix Fietkaucccf1292008-10-05 18:07:45 +020028 ---help---
29 This option enables the 'minstrel' TX rate control algorithm
30
Stefano Brivioc21b39a2007-12-19 01:26:16 +010031choice
32 prompt "Default rate control algorithm"
Luis R. Rodriguez8eb41c92008-11-14 17:44:53 -080033 default MAC80211_RC_DEFAULT_MINSTREL
Stefano Brivioc21b39a2007-12-19 01:26:16 +010034 ---help---
35 This option selects the default rate control algorithm
36 mac80211 will use. Note that this default can still be
Matt LaPlante692105b2009-01-26 11:12:25 +010037 overridden through the ieee80211_default_rc_algo module
Johannes Berg4b475892008-01-02 15:17:03 +010038 parameter if different algorithms are available.
Johannes Bergac71c692007-10-28 14:17:44 +010039
Stefano Brivioc21b39a2007-12-19 01:26:16 +010040config MAC80211_RC_DEFAULT_PID
41 bool "PID controller based rate control algorithm"
Adrian Bunke5f5e732008-06-26 13:38:13 +030042 depends on MAC80211_RC_PID
Stefano Brivioc21b39a2007-12-19 01:26:16 +010043 ---help---
44 Select the PID controller based rate control as the
45 default rate control algorithm. You should choose
46 this unless you know what you are doing.
47
Felix Fietkaucccf1292008-10-05 18:07:45 +020048config MAC80211_RC_DEFAULT_MINSTREL
49 bool "Minstrel"
50 depends on MAC80211_RC_MINSTREL
51 ---help---
52 Select Minstrel as the default rate control algorithm.
53
54
Stefano Brivioc21b39a2007-12-19 01:26:16 +010055endchoice
56
57config MAC80211_RC_DEFAULT
58 string
Felix Fietkaucccf1292008-10-05 18:07:45 +020059 default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
Luis R. Rodriguez8eb41c92008-11-14 17:44:53 -080060 default "pid" if MAC80211_RC_DEFAULT_PID
Stefano Brivioc21b39a2007-12-19 01:26:16 +010061 default ""
62
Luis R. Rodriguezabd8ea22009-09-01 08:22:46 -070063endif
Mattias Nisslerad018372007-12-19 01:25:57 +010064
Johannes Berg2f5ce792008-02-23 15:17:21 +010065config MAC80211_MESH
66 bool "Enable mac80211 mesh networking (pre-802.11s) support"
Luis Carlos Cobo37659ff2008-02-29 12:13:38 -080067 depends on MAC80211 && EXPERIMENTAL
Johannes Berg2f5ce792008-02-23 15:17:21 +010068 ---help---
Johannes Berg5c142e82008-02-25 10:13:31 +010069 This options enables support of Draft 802.11s mesh networking.
Javier Cardona18889232009-08-10 12:15:52 -070070 The implementation is based on Draft 2.08 of the Mesh Networking
71 amendment. However, no compliance with that draft is claimed or even
72 possible, as drafts leave a number of identifiers to be defined after
73 ratification. For more information visit http://o11s.org/.
Johannes Berg2f5ce792008-02-23 15:17:21 +010074
Jiri Bencf0706e82007-05-05 11:45:53 -070075config MAC80211_LEDS
76 bool "Enable LED triggers"
Luca Tettamantibd8fd212008-04-27 15:34:55 -070077 depends on MAC80211
78 select NEW_LEDS
79 select LEDS_TRIGGERS
Jiri Bencf0706e82007-05-05 11:45:53 -070080 ---help---
John W. Linvillec40896d2007-12-21 00:44:59 -050081 This option enables a few LED triggers for different
82 packet receive/transmit events.
Jiri Bencf0706e82007-05-05 11:45:53 -070083
Jiri Bence9f207f2007-05-05 11:46:38 -070084config MAC80211_DEBUGFS
85 bool "Export mac80211 internals in DebugFS"
86 depends on MAC80211 && DEBUG_FS
87 ---help---
88 Select this to see extensive information about
89 the internal state of mac80211 in debugfs.
90
91 Say N unless you know you need this.
92
Johannes Bergf4ea83d2008-06-30 15:10:46 +020093menuconfig MAC80211_DEBUG_MENU
94 bool "Select mac80211 debugging features"
95 depends on MAC80211
96 ---help---
97 This option collects various mac80211 debug settings.
98
Johannes Berg6feeb8a2008-01-29 16:57:51 +010099config MAC80211_DEBUG_PACKET_ALIGNMENT
100 bool "Enable packet alignment debugging"
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200101 depends on MAC80211_DEBUG_MENU
102 ---help---
Johannes Berg6feeb8a2008-01-29 16:57:51 +0100103 This option is recommended for driver authors and strongly
104 discouraged for everybody else, it will trigger a warning
105 when a driver hands mac80211 a buffer that is aligned in
106 a way that will cause problems with the IP stack on some
107 architectures.
108
109 Say N unless you're writing a mac80211 based driver.
110
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200111config MAC80211_NOINLINE
112 bool "Do not inline TX/RX handlers"
113 depends on MAC80211_DEBUG_MENU
Jiri Bencf0706e82007-05-05 11:45:53 -0700114 ---help---
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200115 This option affects code generation in mac80211, when
116 selected some functions are marked "noinline" to allow
117 easier debugging of problems in the transmit and receive
118 paths.
Jiri Bencf0706e82007-05-05 11:45:53 -0700119
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200120 This option increases code size a bit and inserts a lot
121 of function calls in the code, but is otherwise safe to
122 enable.
123
124 If unsure, say N unless you expect to be finding problems
125 in mac80211.
126
127config MAC80211_VERBOSE_DEBUG
128 bool "Verbose debugging output"
129 depends on MAC80211_DEBUG_MENU
130 ---help---
131 Selecting this option causes mac80211 to print out
132 many debugging messages. It should not be selected
133 on production systems as some of the messages are
134 remotely triggerable.
135
136 Do not select this option.
Jiri Bencf0706e82007-05-05 11:45:53 -0700137
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800138config MAC80211_HT_DEBUG
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200139 bool "Verbose HT debugging"
140 depends on MAC80211_DEBUG_MENU
John W. Linvillec40896d2007-12-21 00:44:59 -0500141 ---help---
142 This option enables 802.11n High Throughput features
143 debug tracing output.
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800144
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200145 It should not be selected on production systems as some
146 of the messages are remotely triggerable.
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800147
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200148 Do not select this option.
149
150config MAC80211_TKIP_DEBUG
151 bool "Verbose TKIP debugging"
152 depends on MAC80211_DEBUG_MENU
153 ---help---
154 Selecting this option causes mac80211 to print out
155 very verbose TKIP debugging messages. It should not
156 be selected on production systems as those messages
157 are remotely triggerable.
158
159 Do not select this option.
160
161config MAC80211_IBSS_DEBUG
162 bool "Verbose IBSS debugging"
163 depends on MAC80211_DEBUG_MENU
164 ---help---
165 Selecting this option causes mac80211 to print out
166 very verbose IBSS debugging messages. It should not
167 be selected on production systems as those messages
168 are remotely triggerable.
169
170 Do not select this option.
171
172config MAC80211_VERBOSE_PS_DEBUG
173 bool "Verbose powersave mode debugging"
174 depends on MAC80211_DEBUG_MENU
175 ---help---
176 Selecting this option causes mac80211 to print out very
177 verbose power save mode debugging messages (when mac80211
178 is an AP and has power saving stations.)
179 It should not be selected on production systems as those
180 messages are remotely triggerable.
181
182 Do not select this option.
183
184config MAC80211_VERBOSE_MPL_DEBUG
185 bool "Verbose mesh peer link debugging"
186 depends on MAC80211_DEBUG_MENU
187 depends on MAC80211_MESH
188 ---help---
189 Selecting this option causes mac80211 to print out very
190 verbose mesh peer link debugging messages (when mac80211
191 is taking part in a mesh network).
192 It should not be selected on production systems as those
193 messages are remotely triggerable.
194
195 Do not select this option.
Jiri Bencf0706e82007-05-05 11:45:53 -0700196
Jiri Bencf0706e82007-05-05 11:45:53 -0700197config MAC80211_DEBUG_COUNTERS
198 bool "Extra statistics for TX/RX debugging"
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200199 depends on MAC80211_DEBUG_MENU
200 depends on MAC80211_DEBUGFS
Jiri Bencf0706e82007-05-05 11:45:53 -0700201 ---help---
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200202 Selecting this option causes mac80211 to keep additional
203 and very verbose statistics about TX and RX handler use
204 and show them in debugfs.
Jiri Bencf0706e82007-05-05 11:45:53 -0700205
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200206 If unsure, say N.
Johannes Berg0a2b8bb2009-07-07 13:46:22 +0200207
208config MAC80211_DRIVER_API_TRACER
209 bool "Driver API tracer"
210 depends on MAC80211_DEBUG_MENU
211 depends on EVENT_TRACING
212 help
213 Say Y here to make mac80211 register with the ftrace
214 framework for the driver API -- you can see which
215 driver methods it is calling then by looking at the
216 trace.
217
218 If unsure, say N.