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