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