blob: 5ca576e77615fc83e02998a1816fe8fdc706797c [file] [log] [blame]
Jiri Bencf0706e82007-05-05 11:45:53 -07001config MAC80211
2 tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
Jiri Bencf0706e82007-05-05 11:45:53 -07003 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---
John W. Linvillec40896d2007-12-21 00:44:59 -050012 This option enables the hardware independent IEEE 802.11
13 networking stack.
Jiri Bencf0706e82007-05-05 11:45:53 -070014
Johannes Berg4b475892008-01-02 15:17:03 +010015menu "Rate control algorithm selection"
16 depends on MAC80211 != n
Johannes Bergac71c692007-10-28 14:17:44 +010017
Stefano Brivioc21b39a2007-12-19 01:26:16 +010018choice
19 prompt "Default rate control algorithm"
20 default MAC80211_RC_DEFAULT_PID
Stefano Brivioc21b39a2007-12-19 01:26:16 +010021 ---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
Johannes Berg4b475892008-01-02 15:17:03 +010025 parameter if different algorithms are available.
Johannes Bergac71c692007-10-28 14:17:44 +010026
Stefano Brivioc21b39a2007-12-19 01:26:16 +010027config 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
35config MAC80211_RC_DEFAULT_SIMPLE
36 bool "Simple rate control algorithm"
37 select MAC80211_RC_SIMPLE
38 ---help---
39 Select the simple rate control as the default rate
40 control algorithm. Note that this is a non-responsive,
41 dumb algorithm. You should choose the PID rate control
42 instead.
43
Johannes Berg4b475892008-01-02 15:17:03 +010044config MAC80211_RC_DEFAULT_NONE
45 bool "No default algorithm"
46 depends on EMBEDDED
47 help
48 Selecting this option will select no default algorithm
49 and allow you to not build any. Do not choose this
50 option unless you know your driver comes with another
51 suitable algorithm.
Stefano Brivioc21b39a2007-12-19 01:26:16 +010052endchoice
53
Johannes Berg4b475892008-01-02 15:17:03 +010054comment "Selecting 'y' for an algorithm will"
55comment "build the algorithm into mac80211."
56
Stefano Brivioc21b39a2007-12-19 01:26:16 +010057config MAC80211_RC_DEFAULT
58 string
Stefano Brivioc21b39a2007-12-19 01:26:16 +010059 default "pid" if MAC80211_RC_DEFAULT_PID
60 default "simple" if MAC80211_RC_DEFAULT_SIMPLE
61 default ""
62
63config MAC80211_RC_PID
Johannes Berg4b475892008-01-02 15:17:03 +010064 tristate "PID controller based rate control algorithm"
Stefano Brivioc21b39a2007-12-19 01:26:16 +010065 ---help---
Mattias Nisslerad018372007-12-19 01:25:57 +010066 This option enables a TX rate control algorithm for
67 mac80211 that uses a PID controller to select the TX
68 rate.
69
Stefano Brivioc21b39a2007-12-19 01:26:16 +010070 Say Y or M unless you're sure you want to use a
71 different rate control algorithm.
72
73config MAC80211_RC_SIMPLE
Johannes Berg4b475892008-01-02 15:17:03 +010074 tristate "Simple rate control algorithm (DEPRECATED)"
Stefano Brivioc21b39a2007-12-19 01:26:16 +010075 ---help---
76 This option enables a very simple, non-responsive TX
77 rate control algorithm. This algorithm is deprecated
Johannes Berg4b475892008-01-02 15:17:03 +010078 and will be removed from the kernel in the near future.
Stefano Brivioc21b39a2007-12-19 01:26:16 +010079 It has been replaced by the PID algorithm.
80
81 Say N unless you know what you are doing.
Johannes Berg4b475892008-01-02 15:17:03 +010082endmenu
Mattias Nisslerad018372007-12-19 01:25:57 +010083
Johannes Berg2f5ce792008-02-23 15:17:21 +010084config MAC80211_MESH
85 bool "Enable mac80211 mesh networking (pre-802.11s) support"
86 depends on MAC80211 && EXPERIMENTAL && BROKEN
87 ---help---
Johannes Berg5c142e82008-02-25 10:13:31 +010088 This options enables support of Draft 802.11s mesh networking.
89 The implementation is based on Draft 1.08 of the Mesh Networking
90 amendment. For more information visit http://o11s.org/.
Johannes Berg2f5ce792008-02-23 15:17:21 +010091
92
Jiri Bencf0706e82007-05-05 11:45:53 -070093config MAC80211_LEDS
94 bool "Enable LED triggers"
95 depends on MAC80211 && LEDS_TRIGGERS
96 ---help---
John W. Linvillec40896d2007-12-21 00:44:59 -050097 This option enables a few LED triggers for different
98 packet receive/transmit events.
Jiri Bencf0706e82007-05-05 11:45:53 -070099
Jiri Bence9f207f2007-05-05 11:46:38 -0700100config MAC80211_DEBUGFS
101 bool "Export mac80211 internals in DebugFS"
102 depends on MAC80211 && DEBUG_FS
103 ---help---
104 Select this to see extensive information about
105 the internal state of mac80211 in debugfs.
106
107 Say N unless you know you need this.
108
Johannes Berg6feeb8a2008-01-29 16:57:51 +0100109config MAC80211_DEBUG_PACKET_ALIGNMENT
110 bool "Enable packet alignment debugging"
111 depends on MAC80211
112 help
113 This option is recommended for driver authors and strongly
114 discouraged for everybody else, it will trigger a warning
115 when a driver hands mac80211 a buffer that is aligned in
116 a way that will cause problems with the IP stack on some
117 architectures.
118
119 Say N unless you're writing a mac80211 based driver.
120
Jiri Bencf0706e82007-05-05 11:45:53 -0700121config MAC80211_DEBUG
122 bool "Enable debugging output"
123 depends on MAC80211
124 ---help---
125 This option will enable debug tracing output for the
126 ieee80211 network stack.
127
128 If you are not trying to debug or develop the ieee80211
129 subsystem, you most likely want to say N here.
130
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800131config MAC80211_HT_DEBUG
John W. Linvillec40896d2007-12-21 00:44:59 -0500132 bool "Enable HT debugging output"
133 depends on MAC80211_DEBUG
134 ---help---
135 This option enables 802.11n High Throughput features
136 debug tracing output.
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800137
John W. Linvillec40896d2007-12-21 00:44:59 -0500138 If you are not trying to debug of develop the ieee80211
139 subsystem, you most likely want to say N here.
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800140
Jiri Bencf0706e82007-05-05 11:45:53 -0700141config MAC80211_VERBOSE_DEBUG
142 bool "Verbose debugging output"
143 depends on MAC80211_DEBUG
144
145config MAC80211_LOWTX_FRAME_DUMP
146 bool "Debug frame dumping"
147 depends on MAC80211_DEBUG
148 ---help---
149 Selecting this option will cause the stack to
150 print a message for each frame that is handed
151 to the lowlevel driver for transmission. This
152 message includes all MAC addresses and the
153 frame control field.
154
155 If unsure, say N and insert the debugging code
156 you require into the driver you are debugging.
157
158config TKIP_DEBUG
159 bool "TKIP debugging"
160 depends on MAC80211_DEBUG
161
162config MAC80211_DEBUG_COUNTERS
163 bool "Extra statistics for TX/RX debugging"
164 depends on MAC80211_DEBUG
165
166config MAC80211_IBSS_DEBUG
167 bool "Support for IBSS testing"
168 depends on MAC80211_DEBUG
169 ---help---
170 Say Y here if you intend to debug the IBSS code.
171
172config MAC80211_VERBOSE_PS_DEBUG
173 bool "Verbose powersave mode debugging"
174 depends on MAC80211_DEBUG
175 ---help---
176 Say Y here to print out verbose powersave
177 mode debug messages.
Johannes Berg2f5ce792008-02-23 15:17:21 +0100178
179config MAC80211_VERBOSE_MPL_DEBUG
180 bool "Verbose mesh peer link debugging"
181 depends on MAC80211_DEBUG && MAC80211_MESH
182 ---help---
183 Say Y here to print out verbose mesh peer link
184 debug messages.