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