diff options
Diffstat (limited to 'net/mac80211/debug.h')
-rw-r--r-- | net/mac80211/debug.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/mac80211/debug.h b/net/mac80211/debug.h index 8f383a576016..4ccc5ed6237d 100644 --- a/net/mac80211/debug.h +++ b/net/mac80211/debug.h | |||
@@ -44,6 +44,12 @@ | |||
44 | #define MAC80211_MESH_SYNC_DEBUG 0 | 44 | #define MAC80211_MESH_SYNC_DEBUG 0 |
45 | #endif | 45 | #endif |
46 | 46 | ||
47 | #ifdef CONFIG_MAC80211_MESH_PS_DEBUG | ||
48 | #define MAC80211_MESH_PS_DEBUG 1 | ||
49 | #else | ||
50 | #define MAC80211_MESH_PS_DEBUG 0 | ||
51 | #endif | ||
52 | |||
47 | #ifdef CONFIG_MAC80211_TDLS_DEBUG | 53 | #ifdef CONFIG_MAC80211_TDLS_DEBUG |
48 | #define MAC80211_TDLS_DEBUG 1 | 54 | #define MAC80211_TDLS_DEBUG 1 |
49 | #else | 55 | #else |
@@ -151,6 +157,10 @@ do { \ | |||
151 | _sdata_dbg(MAC80211_MESH_SYNC_DEBUG, \ | 157 | _sdata_dbg(MAC80211_MESH_SYNC_DEBUG, \ |
152 | sdata, fmt, ##__VA_ARGS__) | 158 | sdata, fmt, ##__VA_ARGS__) |
153 | 159 | ||
160 | #define mps_dbg(sdata, fmt, ...) \ | ||
161 | _sdata_dbg(MAC80211_MESH_PS_DEBUG, \ | ||
162 | sdata, fmt, ##__VA_ARGS__) | ||
163 | |||
154 | #define tdls_dbg(sdata, fmt, ...) \ | 164 | #define tdls_dbg(sdata, fmt, ...) \ |
155 | _sdata_dbg(MAC80211_TDLS_DEBUG, \ | 165 | _sdata_dbg(MAC80211_TDLS_DEBUG, \ |
156 | sdata, fmt, ##__VA_ARGS__) | 166 | sdata, fmt, ##__VA_ARGS__) |