r6040: cleanups
[cascardo/linux.git] / net / mac80211 / Kconfig
1 config MAC80211
2         tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
3         depends on EXPERIMENTAL
4         select CRYPTO
5         select CRYPTO_ECB
6         select CRYPTO_ARC4
7         select CRYPTO_AES
8         select CRC32
9         select WIRELESS_EXT
10         select CFG80211
11         select NET_SCH_FIFO
12         ---help---
13           This option enables the hardware independent IEEE 802.11
14           networking stack.
15
16 menu "Rate control algorithm selection"
17         depends on MAC80211 != n
18
19 choice
20         prompt "Default rate control algorithm"
21         default MAC80211_RC_DEFAULT_PID
22         ---help---
23           This option selects the default rate control algorithm
24           mac80211 will use. Note that this default can still be
25           overriden through the ieee80211_default_rc_algo module
26           parameter if different algorithms are available.
27
28 config MAC80211_RC_DEFAULT_PID
29         bool "PID controller based rate control algorithm"
30         select MAC80211_RC_PID
31         ---help---
32           Select the PID controller based rate control as the
33           default rate control algorithm. You should choose
34           this unless you know what you are doing.
35
36 config MAC80211_RC_DEFAULT_SIMPLE
37         bool "Simple rate control algorithm"
38         select MAC80211_RC_SIMPLE
39         ---help---
40           Select the simple rate control as the default rate
41           control algorithm. Note that this is a non-responsive,
42           dumb algorithm. You should choose the PID rate control
43           instead.
44
45 config MAC80211_RC_DEFAULT_NONE
46         bool "No default algorithm"
47         depends on EMBEDDED
48         help
49           Selecting this option will select no default algorithm
50           and allow you to not build any. Do not choose this
51           option unless you know your driver comes with another
52           suitable algorithm.
53 endchoice
54
55 comment "Selecting 'y' for an algorithm will"
56 comment "build the algorithm into mac80211."
57
58 config MAC80211_RC_DEFAULT
59         string
60         default "pid" if MAC80211_RC_DEFAULT_PID
61         default "simple" if MAC80211_RC_DEFAULT_SIMPLE
62         default ""
63
64 config MAC80211_RC_PID
65         tristate "PID controller based rate control algorithm"
66         ---help---
67           This option enables a TX rate control algorithm for
68           mac80211 that uses a PID controller to select the TX
69           rate.
70
71           Say Y or M unless you're sure you want to use a
72           different rate control algorithm.
73
74 config MAC80211_RC_SIMPLE
75         tristate "Simple rate control algorithm (DEPRECATED)"
76         ---help---
77           This option enables a very simple, non-responsive TX
78           rate control algorithm. This algorithm is deprecated
79           and will be removed from the kernel in the near future.
80           It has been replaced by the PID algorithm.
81
82           Say N unless you know what you are doing.
83 endmenu
84
85 config MAC80211_LEDS
86         bool "Enable LED triggers"
87         depends on MAC80211 && LEDS_TRIGGERS
88         ---help---
89           This option enables a few LED triggers for different
90           packet receive/transmit events.
91
92 config MAC80211_DEBUGFS
93         bool "Export mac80211 internals in DebugFS"
94         depends on MAC80211 && DEBUG_FS
95         ---help---
96           Select this to see extensive information about
97           the internal state of mac80211 in debugfs.
98
99           Say N unless you know you need this.
100
101 config MAC80211_DEBUG_PACKET_ALIGNMENT
102         bool "Enable packet alignment debugging"
103         depends on MAC80211
104         help
105           This option is recommended for driver authors and strongly
106           discouraged for everybody else, it will trigger a warning
107           when a driver hands mac80211 a buffer that is aligned in
108           a way that will cause problems with the IP stack on some
109           architectures.
110
111           Say N unless you're writing a mac80211 based driver.
112
113 config MAC80211_DEBUG
114         bool "Enable debugging output"
115         depends on MAC80211
116         ---help---
117           This option will enable debug tracing output for the
118           ieee80211 network stack.
119
120           If you are not trying to debug or develop the ieee80211
121           subsystem, you most likely want to say N here.
122
123 config MAC80211_HT_DEBUG
124         bool "Enable HT debugging output"
125         depends on MAC80211_DEBUG
126         ---help---
127           This option enables 802.11n High Throughput features
128           debug tracing output.
129
130           If you are not trying to debug of develop the ieee80211
131           subsystem, you most likely want to say N here.
132
133 config MAC80211_VERBOSE_DEBUG
134         bool "Verbose debugging output"
135         depends on MAC80211_DEBUG
136
137 config MAC80211_LOWTX_FRAME_DUMP
138         bool "Debug frame dumping"
139         depends on MAC80211_DEBUG
140         ---help---
141           Selecting this option will cause the stack to
142           print a message for each frame that is handed
143           to the lowlevel driver for transmission. This
144           message includes all MAC addresses and the
145           frame control field.
146
147           If unsure, say N and insert the debugging code
148           you require into the driver you are debugging.
149
150 config TKIP_DEBUG
151         bool "TKIP debugging"
152         depends on MAC80211_DEBUG
153
154 config MAC80211_DEBUG_COUNTERS
155         bool "Extra statistics for TX/RX debugging"
156         depends on MAC80211_DEBUG
157
158 config MAC80211_IBSS_DEBUG
159         bool "Support for IBSS testing"
160         depends on MAC80211_DEBUG
161         ---help---
162           Say Y here if you intend to debug the IBSS code.
163
164 config MAC80211_VERBOSE_PS_DEBUG
165         bool "Verbose powersave mode debugging"
166         depends on MAC80211_DEBUG
167         ---help---
168           Say Y here to print out verbose powersave
169           mode debug messages.