diff options
Diffstat (limited to 'net/mac80211/Kconfig')
-rw-r--r-- | net/mac80211/Kconfig | 164 |
1 files changed, 104 insertions, 60 deletions
diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig index a24b459dd45a..80d693392b0f 100644 --- a/net/mac80211/Kconfig +++ b/net/mac80211/Kconfig | |||
@@ -7,7 +7,6 @@ config MAC80211 | |||
7 | select CRC32 | 7 | select CRC32 |
8 | select WIRELESS_EXT | 8 | select WIRELESS_EXT |
9 | select CFG80211 | 9 | select CFG80211 |
10 | select NET_SCH_FIFO | ||
11 | ---help--- | 10 | ---help--- |
12 | This option enables the hardware independent IEEE 802.11 | 11 | This option enables the hardware independent IEEE 802.11 |
13 | networking stack. | 12 | networking stack. |
@@ -15,6 +14,14 @@ config MAC80211 | |||
15 | menu "Rate control algorithm selection" | 14 | menu "Rate control algorithm selection" |
16 | depends on MAC80211 != n | 15 | depends on MAC80211 != n |
17 | 16 | ||
17 | config MAC80211_RC_PID | ||
18 | bool "PID controller based rate control algorithm" if EMBEDDED | ||
19 | default y | ||
20 | ---help--- | ||
21 | This option enables a TX rate control algorithm for | ||
22 | mac80211 that uses a PID controller to select the TX | ||
23 | rate. | ||
24 | |||
18 | choice | 25 | choice |
19 | prompt "Default rate control algorithm" | 26 | prompt "Default rate control algorithm" |
20 | default MAC80211_RC_DEFAULT_PID | 27 | default MAC80211_RC_DEFAULT_PID |
@@ -26,40 +33,19 @@ choice | |||
26 | 33 | ||
27 | config MAC80211_RC_DEFAULT_PID | 34 | config MAC80211_RC_DEFAULT_PID |
28 | bool "PID controller based rate control algorithm" | 35 | bool "PID controller based rate control algorithm" |
29 | select MAC80211_RC_PID | 36 | depends on MAC80211_RC_PID |
30 | ---help--- | 37 | ---help--- |
31 | Select the PID controller based rate control as the | 38 | Select the PID controller based rate control as the |
32 | default rate control algorithm. You should choose | 39 | default rate control algorithm. You should choose |
33 | this unless you know what you are doing. | 40 | this unless you know what you are doing. |
34 | 41 | ||
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 | 42 | endchoice |
44 | 43 | ||
45 | comment "Selecting 'y' for an algorithm will" | ||
46 | comment "build the algorithm into mac80211." | ||
47 | |||
48 | config MAC80211_RC_DEFAULT | 44 | config MAC80211_RC_DEFAULT |
49 | string | 45 | string |
50 | default "pid" if MAC80211_RC_DEFAULT_PID | 46 | default "pid" if MAC80211_RC_DEFAULT_PID |
51 | default "" | 47 | default "" |
52 | 48 | ||
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 | 49 | endmenu |
64 | 50 | ||
65 | config MAC80211_MESH | 51 | config MAC80211_MESH |
@@ -89,10 +75,16 @@ config MAC80211_DEBUGFS | |||
89 | 75 | ||
90 | Say N unless you know you need this. | 76 | Say N unless you know you need this. |
91 | 77 | ||
78 | menuconfig MAC80211_DEBUG_MENU | ||
79 | bool "Select mac80211 debugging features" | ||
80 | depends on MAC80211 | ||
81 | ---help--- | ||
82 | This option collects various mac80211 debug settings. | ||
83 | |||
92 | config MAC80211_DEBUG_PACKET_ALIGNMENT | 84 | config MAC80211_DEBUG_PACKET_ALIGNMENT |
93 | bool "Enable packet alignment debugging" | 85 | bool "Enable packet alignment debugging" |
94 | depends on MAC80211 | 86 | depends on MAC80211_DEBUG_MENU |
95 | help | 87 | ---help--- |
96 | This option is recommended for driver authors and strongly | 88 | This option is recommended for driver authors and strongly |
97 | discouraged for everybody else, it will trigger a warning | 89 | discouraged for everybody else, it will trigger a warning |
98 | when a driver hands mac80211 a buffer that is aligned in | 90 | when a driver hands mac80211 a buffer that is aligned in |
@@ -101,33 +93,95 @@ config MAC80211_DEBUG_PACKET_ALIGNMENT | |||
101 | 93 | ||
102 | Say N unless you're writing a mac80211 based driver. | 94 | Say N unless you're writing a mac80211 based driver. |
103 | 95 | ||
104 | config MAC80211_DEBUG | 96 | config MAC80211_NOINLINE |
105 | bool "Enable debugging output" | 97 | bool "Do not inline TX/RX handlers" |
106 | depends on MAC80211 | 98 | depends on MAC80211_DEBUG_MENU |
107 | ---help--- | 99 | ---help--- |
108 | This option will enable debug tracing output for the | 100 | This option affects code generation in mac80211, when |
109 | ieee80211 network stack. | 101 | selected some functions are marked "noinline" to allow |
102 | easier debugging of problems in the transmit and receive | ||
103 | paths. | ||
104 | |||
105 | This option increases code size a bit and inserts a lot | ||
106 | of function calls in the code, but is otherwise safe to | ||
107 | enable. | ||
110 | 108 | ||
111 | If you are not trying to debug or develop the ieee80211 | 109 | If unsure, say N unless you expect to be finding problems |
112 | subsystem, you most likely want to say N here. | 110 | in mac80211. |
111 | |||
112 | config MAC80211_VERBOSE_DEBUG | ||
113 | bool "Verbose debugging output" | ||
114 | depends on MAC80211_DEBUG_MENU | ||
115 | ---help--- | ||
116 | Selecting this option causes mac80211 to print out | ||
117 | many debugging messages. It should not be selected | ||
118 | on production systems as some of the messages are | ||
119 | remotely triggerable. | ||
120 | |||
121 | Do not select this option. | ||
113 | 122 | ||
114 | config MAC80211_HT_DEBUG | 123 | config MAC80211_HT_DEBUG |
115 | bool "Enable HT debugging output" | 124 | bool "Verbose HT debugging" |
116 | depends on MAC80211_DEBUG | 125 | depends on MAC80211_DEBUG_MENU |
117 | ---help--- | 126 | ---help--- |
118 | This option enables 802.11n High Throughput features | 127 | This option enables 802.11n High Throughput features |
119 | debug tracing output. | 128 | debug tracing output. |
120 | 129 | ||
121 | If you are not trying to debug of develop the ieee80211 | 130 | It should not be selected on production systems as some |
122 | subsystem, you most likely want to say N here. | 131 | of the messages are remotely triggerable. |
123 | 132 | ||
124 | config MAC80211_VERBOSE_DEBUG | 133 | Do not select this option. |
125 | bool "Verbose debugging output" | 134 | |
126 | depends on MAC80211_DEBUG | 135 | config MAC80211_TKIP_DEBUG |
136 | bool "Verbose TKIP debugging" | ||
137 | depends on MAC80211_DEBUG_MENU | ||
138 | ---help--- | ||
139 | Selecting this option causes mac80211 to print out | ||
140 | very verbose TKIP debugging messages. It should not | ||
141 | be selected on production systems as those messages | ||
142 | are remotely triggerable. | ||
143 | |||
144 | Do not select this option. | ||
145 | |||
146 | config MAC80211_IBSS_DEBUG | ||
147 | bool "Verbose IBSS debugging" | ||
148 | depends on MAC80211_DEBUG_MENU | ||
149 | ---help--- | ||
150 | Selecting this option causes mac80211 to print out | ||
151 | very verbose IBSS debugging messages. It should not | ||
152 | be selected on production systems as those messages | ||
153 | are remotely triggerable. | ||
154 | |||
155 | Do not select this option. | ||
156 | |||
157 | config MAC80211_VERBOSE_PS_DEBUG | ||
158 | bool "Verbose powersave mode debugging" | ||
159 | depends on MAC80211_DEBUG_MENU | ||
160 | ---help--- | ||
161 | Selecting this option causes mac80211 to print out very | ||
162 | verbose power save mode debugging messages (when mac80211 | ||
163 | is an AP and has power saving stations.) | ||
164 | It should not be selected on production systems as those | ||
165 | messages are remotely triggerable. | ||
166 | |||
167 | Do not select this option. | ||
168 | |||
169 | config MAC80211_VERBOSE_MPL_DEBUG | ||
170 | bool "Verbose mesh peer link debugging" | ||
171 | depends on MAC80211_DEBUG_MENU | ||
172 | depends on MAC80211_MESH | ||
173 | ---help--- | ||
174 | Selecting this option causes mac80211 to print out very | ||
175 | verbose mesh peer link debugging messages (when mac80211 | ||
176 | is taking part in a mesh network). | ||
177 | It should not be selected on production systems as those | ||
178 | messages are remotely triggerable. | ||
179 | |||
180 | Do not select this option. | ||
127 | 181 | ||
128 | config MAC80211_LOWTX_FRAME_DUMP | 182 | config MAC80211_LOWTX_FRAME_DUMP |
129 | bool "Debug frame dumping" | 183 | bool "Debug frame dumping" |
130 | depends on MAC80211_DEBUG | 184 | depends on MAC80211_DEBUG_MENU |
131 | ---help--- | 185 | ---help--- |
132 | Selecting this option will cause the stack to | 186 | Selecting this option will cause the stack to |
133 | print a message for each frame that is handed | 187 | print a message for each frame that is handed |
@@ -138,30 +192,20 @@ config MAC80211_LOWTX_FRAME_DUMP | |||
138 | If unsure, say N and insert the debugging code | 192 | If unsure, say N and insert the debugging code |
139 | you require into the driver you are debugging. | 193 | you require into the driver you are debugging. |
140 | 194 | ||
141 | config TKIP_DEBUG | ||
142 | bool "TKIP debugging" | ||
143 | depends on MAC80211_DEBUG | ||
144 | |||
145 | config MAC80211_DEBUG_COUNTERS | 195 | config MAC80211_DEBUG_COUNTERS |
146 | bool "Extra statistics for TX/RX debugging" | 196 | bool "Extra statistics for TX/RX debugging" |
147 | depends on MAC80211_DEBUG | 197 | depends on MAC80211_DEBUG_MENU |
148 | 198 | depends on MAC80211_DEBUGFS | |
149 | config MAC80211_IBSS_DEBUG | ||
150 | bool "Support for IBSS testing" | ||
151 | depends on MAC80211_DEBUG | ||
152 | ---help--- | 199 | ---help--- |
153 | Say Y here if you intend to debug the IBSS code. | 200 | Selecting this option causes mac80211 to keep additional |
201 | and very verbose statistics about TX and RX handler use | ||
202 | and show them in debugfs. | ||
154 | 203 | ||
155 | config MAC80211_VERBOSE_PS_DEBUG | 204 | If unsure, say N. |
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 | 205 | ||
162 | config MAC80211_VERBOSE_MPL_DEBUG | 206 | config MAC80211_VERBOSE_SPECT_MGMT_DEBUG |
163 | bool "Verbose mesh peer link debugging" | 207 | bool "Verbose Spectrum Management (IEEE 802.11h)debugging" |
164 | depends on MAC80211_DEBUG && MAC80211_MESH | 208 | depends on MAC80211_DEBUG_MENU |
165 | ---help--- | 209 | ---help--- |
166 | Say Y here to print out verbose mesh peer link | 210 | Say Y here to print out verbose Spectrum Management (IEEE 802.11h) |
167 | debug messages. | 211 | debug messages. |