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