blob: ba2643a43c73c662236ad8f79144dba39d5dcfad [file] [log] [blame]
Jiri Bencf0706e822007-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 Bencf0706e822007-05-05 11:45:53 -07004 select CRYPTO
5 select CRYPTO_ECB
6 select CRYPTO_ARC4
7 select CRYPTO_AES
8 select CRC32
9 select WIRELESS_EXT
Jiri Bencf0706e822007-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 Bencf0706e822007-05-05 11:45:53 -070013
Johannes Berg0aa82042009-06-03 18:30:31 +020014comment "CFG80211 needs to be enabled for MAC80211"
15 depends on CFG80211=n
16
Johannes Bergbbbdff92009-04-16 13:27:42 +020017config 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
28config MAC80211_DEFAULT_PS_VALUE
29 int
30 default 1 if MAC80211_DEFAULT_PS
31 default 0
32
Johannes Berg4b475892008-01-02 15:17:03 +010033menu "Rate control algorithm selection"
34 depends on MAC80211 != n
Johannes Bergac71c692007-10-28 14:17:44 +010035
Adrian Bunke5f5e732008-06-26 13:38:13 +030036config MAC80211_RC_PID
37 bool "PID controller based rate control algorithm" if EMBEDDED
Adrian Bunke5f5e732008-06-26 13:38:13 +030038 ---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 Fietkaucccf1292008-10-05 18:07:45 +020043config MAC80211_RC_MINSTREL
Luis R. Rodriguez8eb41c92008-11-14 17:44:53 -080044 bool "Minstrel" if EMBEDDED
45 default y
Felix Fietkaucccf1292008-10-05 18:07:45 +020046 ---help---
47 This option enables the 'minstrel' TX rate control algorithm
48
Stefano Brivioc21b39a2007-12-19 01:26:16 +010049choice
50 prompt "Default rate control algorithm"
Luis R. Rodriguez8eb41c92008-11-14 17:44:53 -080051 default MAC80211_RC_DEFAULT_MINSTREL
Stefano Brivioc21b39a2007-12-19 01:26:16 +010052 ---help---
53 This option selects the default rate control algorithm
54 mac80211 will use. Note that this default can still be
Matt LaPlante692105b2009-01-26 11:12:25 +010055 overridden through the ieee80211_default_rc_algo module
Johannes Berg4b475892008-01-02 15:17:03 +010056 parameter if different algorithms are available.
Johannes Bergac71c692007-10-28 14:17:44 +010057
Stefano Brivioc21b39a2007-12-19 01:26:16 +010058config MAC80211_RC_DEFAULT_PID
59 bool "PID controller based rate control algorithm"
Adrian Bunke5f5e732008-06-26 13:38:13 +030060 depends on MAC80211_RC_PID
Stefano Brivioc21b39a2007-12-19 01:26:16 +010061 ---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 Fietkaucccf1292008-10-05 18:07:45 +020066config 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 Brivioc21b39a2007-12-19 01:26:16 +010073endchoice
74
75config MAC80211_RC_DEFAULT
76 string
Felix Fietkaucccf1292008-10-05 18:07:45 +020077 default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
Luis R. Rodriguez8eb41c92008-11-14 17:44:53 -080078 default "pid" if MAC80211_RC_DEFAULT_PID
Stefano Brivioc21b39a2007-12-19 01:26:16 +010079 default ""
80
Johannes Berg4b475892008-01-02 15:17:03 +010081endmenu
Mattias Nisslerad018372007-12-19 01:25:57 +010082
Johannes Berg2f5ce792008-02-23 15:17:21 +010083config MAC80211_MESH
84 bool "Enable mac80211 mesh networking (pre-802.11s) support"
Luis Carlos Cobo37659ff2008-02-29 12:13:38 -080085 depends on MAC80211 && EXPERIMENTAL
Johannes Berg2f5ce792008-02-23 15:17:21 +010086 ---help---
Johannes Berg5c142e82008-02-25 10:13:31 +010087 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 Berg2f5ce792008-02-23 15:17:21 +010090
91
Jiri Bencf0706e822007-05-05 11:45:53 -070092config MAC80211_LEDS
93 bool "Enable LED triggers"
Luca Tettamantibd8fd212008-04-27 15:34:55 -070094 depends on MAC80211
95 select NEW_LEDS
96 select LEDS_TRIGGERS
Jiri Bencf0706e822007-05-05 11:45:53 -070097 ---help---
John W. Linvillec40896d2007-12-21 00:44:59 -050098 This option enables a few LED triggers for different
99 packet receive/transmit events.
Jiri Bencf0706e822007-05-05 11:45:53 -0700100
Jiri Bence9f207f2007-05-05 11:46:38 -0700101config 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 Bergf4ea83d2008-06-30 15:10:46 +0200110menuconfig 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 Berg6feeb8a2008-01-29 16:57:51 +0100116config MAC80211_DEBUG_PACKET_ALIGNMENT
117 bool "Enable packet alignment debugging"
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200118 depends on MAC80211_DEBUG_MENU
119 ---help---
Johannes Berg6feeb8a2008-01-29 16:57:51 +0100120 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 Bergf4ea83d2008-06-30 15:10:46 +0200128config MAC80211_NOINLINE
129 bool "Do not inline TX/RX handlers"
130 depends on MAC80211_DEBUG_MENU
Jiri Bencf0706e822007-05-05 11:45:53 -0700131 ---help---
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200132 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 Bencf0706e822007-05-05 11:45:53 -0700136
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200137 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
144config 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 Bencf0706e822007-05-05 11:45:53 -0700154
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800155config MAC80211_HT_DEBUG
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200156 bool "Verbose HT debugging"
157 depends on MAC80211_DEBUG_MENU
John W. Linvillec40896d2007-12-21 00:44:59 -0500158 ---help---
159 This option enables 802.11n High Throughput features
160 debug tracing output.
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800161
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200162 It should not be selected on production systems as some
163 of the messages are remotely triggerable.
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800164
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200165 Do not select this option.
166
167config 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
178config 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
189config 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
201config 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 Bencf0706e822007-05-05 11:45:53 -0700213
Jiri Bencf0706e822007-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 Bencf0706e822007-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 Bencf0706e822007-05-05 11:45:53 -0700222
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200223 If unsure, say N.