blob: 83eec7a8bd1f5f97966cc85c937ad2005c5758eb [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
Andres Salomonc2ef3552010-02-25 19:18:47 -050018config MAC80211_HAS_RC
19 def_bool n
20
Adrian Bunke5f5e732008-06-26 13:38:13 +030021config MAC80211_RC_PID
22 bool "PID controller based rate control algorithm" if EMBEDDED
Andres Salomonc2ef3552010-02-25 19:18:47 -050023 select MAC80211_HAS_RC
Adrian Bunke5f5e732008-06-26 13:38:13 +030024 ---help---
25 This option enables a TX rate control algorithm for
26 mac80211 that uses a PID controller to select the TX
27 rate.
28
Felix Fietkaucccf1292008-10-05 18:07:45 +020029config MAC80211_RC_MINSTREL
Luis R. Rodriguez8eb41c92008-11-14 17:44:53 -080030 bool "Minstrel" if EMBEDDED
Andres Salomonc2ef3552010-02-25 19:18:47 -050031 select MAC80211_HAS_RC
Luis R. Rodriguez8eb41c92008-11-14 17:44:53 -080032 default y
Felix Fietkaucccf1292008-10-05 18:07:45 +020033 ---help---
34 This option enables the 'minstrel' TX rate control algorithm
35
Felix Fietkauec8aa662010-05-13 16:48:03 +020036config MAC80211_RC_MINSTREL_HT
37 bool "Minstrel 802.11n support" if EMBEDDED
38 depends on MAC80211_RC_MINSTREL
39 default y
40 ---help---
41 This option enables the 'minstrel_ht' TX rate control algorithm
42
Stefano Brivioc21b39a2007-12-19 01:26:16 +010043choice
44 prompt "Default rate control algorithm"
Andres Salomonc2ef3552010-02-25 19:18:47 -050045 depends on MAC80211_HAS_RC
Luis R. Rodriguez8eb41c92008-11-14 17:44:53 -080046 default MAC80211_RC_DEFAULT_MINSTREL
Stefano Brivioc21b39a2007-12-19 01:26:16 +010047 ---help---
48 This option selects the default rate control algorithm
49 mac80211 will use. Note that this default can still be
Matt LaPlante692105b2009-01-26 11:12:25 +010050 overridden through the ieee80211_default_rc_algo module
Johannes Berg4b475892008-01-02 15:17:03 +010051 parameter if different algorithms are available.
Johannes Bergac71c692007-10-28 14:17:44 +010052
Stefano Brivioc21b39a2007-12-19 01:26:16 +010053config MAC80211_RC_DEFAULT_PID
54 bool "PID controller based rate control algorithm"
Adrian Bunke5f5e732008-06-26 13:38:13 +030055 depends on MAC80211_RC_PID
Stefano Brivioc21b39a2007-12-19 01:26:16 +010056 ---help---
57 Select the PID controller based rate control as the
58 default rate control algorithm. You should choose
59 this unless you know what you are doing.
60
Felix Fietkaucccf1292008-10-05 18:07:45 +020061config MAC80211_RC_DEFAULT_MINSTREL
62 bool "Minstrel"
63 depends on MAC80211_RC_MINSTREL
64 ---help---
65 Select Minstrel as the default rate control algorithm.
66
67
Stefano Brivioc21b39a2007-12-19 01:26:16 +010068endchoice
69
70config MAC80211_RC_DEFAULT
71 string
Felix Fietkaucccf1292008-10-05 18:07:45 +020072 default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
Luis R. Rodriguez8eb41c92008-11-14 17:44:53 -080073 default "pid" if MAC80211_RC_DEFAULT_PID
Stefano Brivioc21b39a2007-12-19 01:26:16 +010074 default ""
75
Luis R. Rodriguezabd8ea22009-09-01 08:22:46 -070076endif
Mattias Nisslerad018372007-12-19 01:25:57 +010077
Andres Salomonc2ef3552010-02-25 19:18:47 -050078comment "Some wireless drivers require a rate control algorithm"
79 depends on MAC80211_HAS_RC=n
80
Johannes Berg2f5ce792008-02-23 15:17:21 +010081config MAC80211_MESH
82 bool "Enable mac80211 mesh networking (pre-802.11s) support"
Luis Carlos Cobo37659ff2008-02-29 12:13:38 -080083 depends on MAC80211 && EXPERIMENTAL
Johannes Berg2f5ce792008-02-23 15:17:21 +010084 ---help---
Johannes Berg5c142e82008-02-25 10:13:31 +010085 This options enables support of Draft 802.11s mesh networking.
Javier Cardona18889232009-08-10 12:15:52 -070086 The implementation is based on Draft 2.08 of the Mesh Networking
87 amendment. However, no compliance with that draft is claimed or even
88 possible, as drafts leave a number of identifiers to be defined after
89 ratification. For more information visit http://o11s.org/.
Johannes Berg2f5ce792008-02-23 15:17:21 +010090
Jiri Bencf0706e82007-05-05 11:45:53 -070091config MAC80211_LEDS
92 bool "Enable LED triggers"
Luca Tettamantibd8fd212008-04-27 15:34:55 -070093 depends on MAC80211
94 select NEW_LEDS
95 select LEDS_TRIGGERS
Jiri Bencf0706e82007-05-05 11:45:53 -070096 ---help---
John W. Linvillec40896d2007-12-21 00:44:59 -050097 This option enables a few LED triggers for different
98 packet receive/transmit events.
Jiri Bencf0706e82007-05-05 11:45:53 -070099
Jiri Bence9f207f2007-05-05 11:46:38 -0700100config MAC80211_DEBUGFS
101 bool "Export mac80211 internals in DebugFS"
102 depends on MAC80211 && DEBUG_FS
103 ---help---
104 Select this to see extensive information about
105 the internal state of mac80211 in debugfs.
106
107 Say N unless you know you need this.
108
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200109menuconfig MAC80211_DEBUG_MENU
110 bool "Select mac80211 debugging features"
111 depends on MAC80211
112 ---help---
113 This option collects various mac80211 debug settings.
114
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200115config MAC80211_NOINLINE
116 bool "Do not inline TX/RX handlers"
117 depends on MAC80211_DEBUG_MENU
Jiri Bencf0706e82007-05-05 11:45:53 -0700118 ---help---
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200119 This option affects code generation in mac80211, when
120 selected some functions are marked "noinline" to allow
121 easier debugging of problems in the transmit and receive
122 paths.
Jiri Bencf0706e82007-05-05 11:45:53 -0700123
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200124 This option increases code size a bit and inserts a lot
125 of function calls in the code, but is otherwise safe to
126 enable.
127
128 If unsure, say N unless you expect to be finding problems
129 in mac80211.
130
131config MAC80211_VERBOSE_DEBUG
132 bool "Verbose debugging output"
133 depends on MAC80211_DEBUG_MENU
134 ---help---
135 Selecting this option causes mac80211 to print out
136 many debugging messages. It should not be selected
137 on production systems as some of the messages are
138 remotely triggerable.
139
140 Do not select this option.
Jiri Bencf0706e82007-05-05 11:45:53 -0700141
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800142config MAC80211_HT_DEBUG
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200143 bool "Verbose HT debugging"
144 depends on MAC80211_DEBUG_MENU
John W. Linvillec40896d2007-12-21 00:44:59 -0500145 ---help---
146 This option enables 802.11n High Throughput features
147 debug tracing output.
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800148
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200149 It should not be selected on production systems as some
150 of the messages are remotely triggerable.
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800151
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200152 Do not select this option.
153
154config MAC80211_TKIP_DEBUG
155 bool "Verbose TKIP debugging"
156 depends on MAC80211_DEBUG_MENU
157 ---help---
158 Selecting this option causes mac80211 to print out
159 very verbose TKIP debugging messages. It should not
160 be selected on production systems as those messages
161 are remotely triggerable.
162
163 Do not select this option.
164
165config MAC80211_IBSS_DEBUG
166 bool "Verbose IBSS debugging"
167 depends on MAC80211_DEBUG_MENU
168 ---help---
169 Selecting this option causes mac80211 to print out
170 very verbose IBSS debugging messages. It should not
171 be selected on production systems as those messages
172 are remotely triggerable.
173
174 Do not select this option.
175
176config MAC80211_VERBOSE_PS_DEBUG
177 bool "Verbose powersave mode debugging"
178 depends on MAC80211_DEBUG_MENU
179 ---help---
180 Selecting this option causes mac80211 to print out very
181 verbose power save mode debugging messages (when mac80211
182 is an AP and has power saving stations.)
183 It should not be selected on production systems as those
184 messages are remotely triggerable.
185
186 Do not select this option.
187
188config MAC80211_VERBOSE_MPL_DEBUG
189 bool "Verbose mesh peer link debugging"
190 depends on MAC80211_DEBUG_MENU
191 depends on MAC80211_MESH
192 ---help---
193 Selecting this option causes mac80211 to print out very
194 verbose mesh peer link debugging messages (when mac80211
195 is taking part in a mesh network).
196 It should not be selected on production systems as those
197 messages are remotely triggerable.
198
199 Do not select this option.
Jiri Bencf0706e82007-05-05 11:45:53 -0700200
Rui Paulo27db2e42009-11-09 23:46:45 +0000201config MAC80211_VERBOSE_MHWMP_DEBUG
202 bool "Verbose mesh HWMP routing 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 routing (HWMP) 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.
213
Jiri Bencf0706e82007-05-05 11:45:53 -0700214config MAC80211_DEBUG_COUNTERS
215 bool "Extra statistics for TX/RX debugging"
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200216 depends on MAC80211_DEBUG_MENU
217 depends on MAC80211_DEBUGFS
Jiri Bencf0706e82007-05-05 11:45:53 -0700218 ---help---
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200219 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 Bencf0706e82007-05-05 11:45:53 -0700222
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200223 If unsure, say N.
Johannes Berg0a2b8bb2009-07-07 13:46:22 +0200224
225config MAC80211_DRIVER_API_TRACER
226 bool "Driver API tracer"
227 depends on MAC80211_DEBUG_MENU
228 depends on EVENT_TRACING
229 help
230 Say Y here to make mac80211 register with the ftrace
Johannes Bergb5878a22010-04-07 16:48:40 +0200231 framework for the driver API -- you can then see which
232 driver methods it is calling and which API functions
233 drivers are calling by looking at the trace.
Johannes Berg0a2b8bb2009-07-07 13:46:22 +0200234
Johannes Bergb5878a22010-04-07 16:48:40 +0200235 If unsure, say Y.