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