summaryrefslogtreecommitdiffstats
path: root/net/mac80211/Kconfig
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-06-22 05:29:50 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-06-24 05:32:29 -0400
commitbdcbd8e0e3ffdad32b14b6373e67bfcf5fd3f002 (patch)
treeb636f2229570dc95edef997272bd0656cf19224d /net/mac80211/Kconfig
parentd3b2fb53c7f82903880769d406c11c7e619b11a4 (diff)
mac80211: clean up debugging
There are a few things that make the logging and debugging in mac80211 less useful than it should be right now: * a lot of messages should be pr_info, not pr_debug * wholesale use of pr_debug makes it require *both* Kconfig and dynamic configuration * there are still a lot of ifdefs * the style is very inconsistent, sometimes the sdata->name is printed in front Clean up everything, introducing new macros and separating out the station MLME debugging into a new Kconfig symbol. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/Kconfig')
-rw-r--r--net/mac80211/Kconfig32
1 files changed, 26 insertions, 6 deletions
diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig
index 323aa19a39d5..7475e266eb4e 100644
--- a/net/mac80211/Kconfig
+++ b/net/mac80211/Kconfig
@@ -140,6 +140,26 @@ config MAC80211_VERBOSE_DEBUG
140 140
141 Do not select this option. 141 Do not select this option.
142 142
143config MAC80211_MLME_DEBUG
144 bool "Verbose managed MLME output"
145 depends on MAC80211_DEBUG_MENU
146 ---help---
147 Selecting this option causes mac80211 to print out
148 debugging messages for the managed-mode MLME. It
149 should not be selected on production systems as some
150 of the messages are remotely triggerable.
151
152 Do not select this option.
153
154config MAC80211_STA_DEBUG
155 bool "Verbose station debugging"
156 depends on MAC80211_DEBUG_MENU
157 ---help---
158 Selecting this option causes mac80211 to print out
159 debugging messages for station addition/removal.
160
161 Do not select this option.
162
143config MAC80211_HT_DEBUG 163config MAC80211_HT_DEBUG
144 bool "Verbose HT debugging" 164 bool "Verbose HT debugging"
145 depends on MAC80211_DEBUG_MENU 165 depends on MAC80211_DEBUG_MENU
@@ -163,7 +183,7 @@ config MAC80211_IBSS_DEBUG
163 183
164 Do not select this option. 184 Do not select this option.
165 185
166config MAC80211_VERBOSE_PS_DEBUG 186config MAC80211_PS_DEBUG
167 bool "Verbose powersave mode debugging" 187 bool "Verbose powersave mode debugging"
168 depends on MAC80211_DEBUG_MENU 188 depends on MAC80211_DEBUG_MENU
169 ---help--- 189 ---help---
@@ -175,7 +195,7 @@ config MAC80211_VERBOSE_PS_DEBUG
175 195
176 Do not select this option. 196 Do not select this option.
177 197
178config MAC80211_VERBOSE_MPL_DEBUG 198config MAC80211_MPL_DEBUG
179 bool "Verbose mesh peer link debugging" 199 bool "Verbose mesh peer link debugging"
180 depends on MAC80211_DEBUG_MENU 200 depends on MAC80211_DEBUG_MENU
181 depends on MAC80211_MESH 201 depends on MAC80211_MESH
@@ -188,7 +208,7 @@ config MAC80211_VERBOSE_MPL_DEBUG
188 208
189 Do not select this option. 209 Do not select this option.
190 210
191config MAC80211_VERBOSE_MPATH_DEBUG 211config MAC80211_MPATH_DEBUG
192 bool "Verbose mesh path debugging" 212 bool "Verbose mesh path debugging"
193 depends on MAC80211_DEBUG_MENU 213 depends on MAC80211_DEBUG_MENU
194 depends on MAC80211_MESH 214 depends on MAC80211_MESH
@@ -201,7 +221,7 @@ config MAC80211_VERBOSE_MPATH_DEBUG
201 221
202 Do not select this option. 222 Do not select this option.
203 223
204config MAC80211_VERBOSE_MHWMP_DEBUG 224config MAC80211_MHWMP_DEBUG
205 bool "Verbose mesh HWMP routing debugging" 225 bool "Verbose mesh HWMP routing debugging"
206 depends on MAC80211_DEBUG_MENU 226 depends on MAC80211_DEBUG_MENU
207 depends on MAC80211_MESH 227 depends on MAC80211_MESH
@@ -214,7 +234,7 @@ config MAC80211_VERBOSE_MHWMP_DEBUG
214 234
215 Do not select this option. 235 Do not select this option.
216 236
217config MAC80211_VERBOSE_MESH_SYNC_DEBUG 237config MAC80211_MESH_SYNC_DEBUG
218 bool "Verbose mesh mesh synchronization debugging" 238 bool "Verbose mesh mesh synchronization debugging"
219 depends on MAC80211_DEBUG_MENU 239 depends on MAC80211_DEBUG_MENU
220 depends on MAC80211_MESH 240 depends on MAC80211_MESH
@@ -225,7 +245,7 @@ config MAC80211_VERBOSE_MESH_SYNC_DEBUG
225 245
226 Do not select this option. 246 Do not select this option.
227 247
228config MAC80211_VERBOSE_TDLS_DEBUG 248config MAC80211_TDLS_DEBUG
229 bool "Verbose TDLS debugging" 249 bool "Verbose TDLS debugging"
230 depends on MAC80211_DEBUG_MENU 250 depends on MAC80211_DEBUG_MENU
231 ---help--- 251 ---help---