blob: e77592d050ce8a33a777ab12e6c384b84bc524b1 [file] [log] [blame]
Jiri Bencf0706e822007-05-05 11:45:53 -07001config 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---
John W. Linvillec40896d2007-12-21 00:44:59 -050013 This option enables the hardware independent IEEE 802.11
14 networking stack.
Jiri Bencf0706e822007-05-05 11:45:53 -070015
Johannes Berg4b475892008-01-02 15:17:03 +010016menu "Rate control algorithm selection"
17 depends on MAC80211 != n
Johannes Bergac71c692007-10-28 14:17:44 +010018
Stefano Brivioc21b39a2007-12-19 01:26:16 +010019choice
20 prompt "Default rate control algorithm"
21 default MAC80211_RC_DEFAULT_PID
Stefano Brivioc21b39a2007-12-19 01:26:16 +010022 ---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
Johannes Berg4b475892008-01-02 15:17:03 +010026 parameter if different algorithms are available.
Johannes Bergac71c692007-10-28 14:17:44 +010027
Stefano Brivioc21b39a2007-12-19 01:26:16 +010028config 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
36config 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
Johannes Berg4b475892008-01-02 15:17:03 +010045config 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.
Stefano Brivioc21b39a2007-12-19 01:26:16 +010053endchoice
54
Johannes Berg4b475892008-01-02 15:17:03 +010055comment "Selecting 'y' for an algorithm will"
56comment "build the algorithm into mac80211."
57
Stefano Brivioc21b39a2007-12-19 01:26:16 +010058config MAC80211_RC_DEFAULT
59 string
Stefano Brivioc21b39a2007-12-19 01:26:16 +010060 default "pid" if MAC80211_RC_DEFAULT_PID
61 default "simple" if MAC80211_RC_DEFAULT_SIMPLE
62 default ""
63
64config MAC80211_RC_PID
Johannes Berg4b475892008-01-02 15:17:03 +010065 tristate "PID controller based rate control algorithm"
Stefano Brivioc21b39a2007-12-19 01:26:16 +010066 ---help---
Mattias Nisslerad018372007-12-19 01:25:57 +010067 This option enables a TX rate control algorithm for
68 mac80211 that uses a PID controller to select the TX
69 rate.
70
Stefano Brivioc21b39a2007-12-19 01:26:16 +010071 Say Y or M unless you're sure you want to use a
72 different rate control algorithm.
73
74config MAC80211_RC_SIMPLE
Johannes Berg4b475892008-01-02 15:17:03 +010075 tristate "Simple rate control algorithm (DEPRECATED)"
Stefano Brivioc21b39a2007-12-19 01:26:16 +010076 ---help---
77 This option enables a very simple, non-responsive TX
78 rate control algorithm. This algorithm is deprecated
Johannes Berg4b475892008-01-02 15:17:03 +010079 and will be removed from the kernel in the near future.
Stefano Brivioc21b39a2007-12-19 01:26:16 +010080 It has been replaced by the PID algorithm.
81
82 Say N unless you know what you are doing.
Johannes Berg4b475892008-01-02 15:17:03 +010083endmenu
Mattias Nisslerad018372007-12-19 01:25:57 +010084
Jiri Bencf0706e822007-05-05 11:45:53 -070085config MAC80211_LEDS
86 bool "Enable LED triggers"
87 depends on MAC80211 && LEDS_TRIGGERS
88 ---help---
John W. Linvillec40896d2007-12-21 00:44:59 -050089 This option enables a few LED triggers for different
90 packet receive/transmit events.
Jiri Bencf0706e822007-05-05 11:45:53 -070091
Jiri Bence9f207f2007-05-05 11:46:38 -070092config 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
Johannes Berg6feeb8a2008-01-29 16:57:51 +0100101config 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
Jiri Bencf0706e822007-05-05 11:45:53 -0700113config 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
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800123config MAC80211_HT_DEBUG
John W. Linvillec40896d2007-12-21 00:44:59 -0500124 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.
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800129
John W. Linvillec40896d2007-12-21 00:44:59 -0500130 If you are not trying to debug of develop the ieee80211
131 subsystem, you most likely want to say N here.
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800132
Jiri Bencf0706e822007-05-05 11:45:53 -0700133config MAC80211_VERBOSE_DEBUG
134 bool "Verbose debugging output"
135 depends on MAC80211_DEBUG
136
137config 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
150config TKIP_DEBUG
151 bool "TKIP debugging"
152 depends on MAC80211_DEBUG
153
154config MAC80211_DEBUG_COUNTERS
155 bool "Extra statistics for TX/RX debugging"
156 depends on MAC80211_DEBUG
157
158config 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
164config 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.