Linux 2.6.33.13
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / net / mac80211 / Kconfig
blob9f6f8d30aa24906e7b4f5a60ecdea1aeb403e3ee
1 config MAC80211
2         tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
3         depends on CFG80211
4         select CRYPTO
5         select CRYPTO_ECB
6         select CRYPTO_ARC4
7         select CRYPTO_AES
8         select CRC32
9         ---help---
10           This option enables the hardware independent IEEE 802.11
11           networking stack.
13 comment "CFG80211 needs to be enabled for MAC80211"
14         depends on CFG80211=n
16 if MAC80211 != n
18 config MAC80211_HAS_RC
19         def_bool n
21 config MAC80211_RC_PID
22         bool "PID controller based rate control algorithm" if EMBEDDED
23         select MAC80211_HAS_RC
24         ---help---
25           This option enables a TX rate control algorithm for
26           mac80211 that uses a PID controller to select the TX
27           rate.
29 config MAC80211_RC_MINSTREL
30         bool "Minstrel" if EMBEDDED
31         select MAC80211_HAS_RC
32         default y
33         ---help---
34           This option enables the 'minstrel' TX rate control algorithm
36 choice
37         prompt "Default rate control algorithm"
38         depends on MAC80211_HAS_RC
39         default MAC80211_RC_DEFAULT_MINSTREL
40         ---help---
41           This option selects the default rate control algorithm
42           mac80211 will use. Note that this default can still be
43           overridden through the ieee80211_default_rc_algo module
44           parameter if different algorithms are available.
46 config MAC80211_RC_DEFAULT_PID
47         bool "PID controller based rate control algorithm"
48         depends on MAC80211_RC_PID
49         ---help---
50           Select the PID controller based rate control as the
51           default rate control algorithm. You should choose
52           this unless you know what you are doing.
54 config MAC80211_RC_DEFAULT_MINSTREL
55         bool "Minstrel"
56         depends on MAC80211_RC_MINSTREL
57         ---help---
58           Select Minstrel as the default rate control algorithm.
61 endchoice
63 config MAC80211_RC_DEFAULT
64         string
65         default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
66         default "pid" if MAC80211_RC_DEFAULT_PID
67         default ""
69 endif
71 comment "Some wireless drivers require a rate control algorithm"
72         depends on MAC80211_HAS_RC=n
74 config MAC80211_MESH
75         bool "Enable mac80211 mesh networking (pre-802.11s) support"
76         depends on MAC80211 && EXPERIMENTAL
77         ---help---
78          This options enables support of Draft 802.11s mesh networking.
79          The implementation is based on Draft 2.08 of the Mesh Networking
80          amendment.  However, no compliance with that draft is claimed or even
81          possible, as drafts leave a number of identifiers to be defined after
82          ratification.  For more information visit http://o11s.org/.
84 config MAC80211_LEDS
85         bool "Enable LED triggers"
86         depends on MAC80211
87         select NEW_LEDS
88         select LEDS_TRIGGERS
89         ---help---
90           This option enables a few LED triggers for different
91           packet receive/transmit events.
93 config MAC80211_DEBUGFS
94         bool "Export mac80211 internals in DebugFS"
95         depends on MAC80211 && DEBUG_FS
96         ---help---
97           Select this to see extensive information about
98           the internal state of mac80211 in debugfs.
100           Say N unless you know you need this.
102 menuconfig MAC80211_DEBUG_MENU
103         bool "Select mac80211 debugging features"
104         depends on MAC80211
105         ---help---
106           This option collects various mac80211 debug settings.
108 config MAC80211_DEBUG_PACKET_ALIGNMENT
109         bool "Enable packet alignment debugging"
110         depends on MAC80211_DEBUG_MENU
111         ---help---
112           This option is recommended for driver authors and strongly
113           discouraged for everybody else, it will trigger a warning
114           when a driver hands mac80211 a buffer that is aligned in
115           a way that will cause problems with the IP stack on some
116           architectures.
118           Say N unless you're writing a mac80211 based driver.
120 config MAC80211_NOINLINE
121         bool "Do not inline TX/RX handlers"
122         depends on MAC80211_DEBUG_MENU
123         ---help---
124           This option affects code generation in mac80211, when
125           selected some functions are marked "noinline" to allow
126           easier debugging of problems in the transmit and receive
127           paths.
129           This option increases code size a bit and inserts a lot
130           of function calls in the code, but is otherwise safe to
131           enable.
133           If unsure, say N unless you expect to be finding problems
134           in mac80211.
136 config MAC80211_VERBOSE_DEBUG
137         bool "Verbose debugging output"
138         depends on MAC80211_DEBUG_MENU
139         ---help---
140           Selecting this option causes mac80211 to print out
141           many debugging messages. It should not be selected
142           on production systems as some of the messages are
143           remotely triggerable.
145           Do not select this option.
147 config MAC80211_HT_DEBUG
148         bool "Verbose HT debugging"
149         depends on MAC80211_DEBUG_MENU
150         ---help---
151           This option enables 802.11n High Throughput features
152           debug tracing output.
154           It should not be selected on production systems as some
155           of the messages are remotely triggerable.
157           Do not select this option.
159 config MAC80211_TKIP_DEBUG
160         bool "Verbose TKIP debugging"
161         depends on MAC80211_DEBUG_MENU
162         ---help---
163           Selecting this option causes mac80211 to print out
164           very verbose TKIP debugging messages. It should not
165           be selected on production systems as those messages
166           are remotely triggerable.
168           Do not select this option.
170 config MAC80211_IBSS_DEBUG
171         bool "Verbose IBSS debugging"
172         depends on MAC80211_DEBUG_MENU
173         ---help---
174           Selecting this option causes mac80211 to print out
175           very verbose IBSS debugging messages. It should not
176           be selected on production systems as those messages
177           are remotely triggerable.
179           Do not select this option.
181 config MAC80211_VERBOSE_PS_DEBUG
182         bool "Verbose powersave mode debugging"
183         depends on MAC80211_DEBUG_MENU
184         ---help---
185           Selecting this option causes mac80211 to print out very
186           verbose power save mode debugging messages (when mac80211
187           is an AP and has power saving stations.)
188           It should not be selected on production systems as those
189           messages are remotely triggerable.
191           Do not select this option.
193 config MAC80211_VERBOSE_MPL_DEBUG
194         bool "Verbose mesh peer link debugging"
195         depends on MAC80211_DEBUG_MENU
196         depends on MAC80211_MESH
197         ---help---
198           Selecting this option causes mac80211 to print out very
199           verbose mesh peer link debugging messages (when mac80211
200           is taking part in a mesh network).
201           It should not be selected on production systems as those
202           messages are remotely triggerable.
204           Do not select this option.
206 config MAC80211_VERBOSE_MHWMP_DEBUG
207         bool "Verbose mesh HWMP routing debugging"
208         depends on MAC80211_DEBUG_MENU
209         depends on MAC80211_MESH
210         ---help---
211           Selecting this option causes mac80211 to print out very
212           verbose mesh routing (HWMP) debugging messages (when mac80211
213           is taking part in a mesh network).
214           It should not be selected on production systems as those
215           messages are remotely triggerable.
217           Do not select this option.
219 config MAC80211_DEBUG_COUNTERS
220         bool "Extra statistics for TX/RX debugging"
221         depends on MAC80211_DEBUG_MENU
222         depends on MAC80211_DEBUGFS
223         ---help---
224           Selecting this option causes mac80211 to keep additional
225           and very verbose statistics about TX and RX handler use
226           and show them in debugfs.
228           If unsure, say N.
230 config MAC80211_DRIVER_API_TRACER
231         bool "Driver API tracer"
232         depends on MAC80211_DEBUG_MENU
233         depends on EVENT_TRACING
234         help
235           Say Y here to make mac80211 register with the ftrace
236           framework for the driver API -- you can see which
237           driver methods it is calling then by looking at the
238           trace.
240           If unsure, say N.