]> Pileus Git - ~andy/linux/blobdiff - net/mac80211/debug.h
Merge tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[~andy/linux] / net / mac80211 / debug.h
index 8f383a5760165a363019e7d31d1981b5aa995225..4ccc5ed6237dd00e5701c19908e55d413e83d506 100644 (file)
 #define MAC80211_MESH_SYNC_DEBUG 0
 #endif
 
+#ifdef CONFIG_MAC80211_MESH_PS_DEBUG
+#define MAC80211_MESH_PS_DEBUG 1
+#else
+#define MAC80211_MESH_PS_DEBUG 0
+#endif
+
 #ifdef CONFIG_MAC80211_TDLS_DEBUG
 #define MAC80211_TDLS_DEBUG 1
 #else
@@ -151,6 +157,10 @@ do {                                                                       \
        _sdata_dbg(MAC80211_MESH_SYNC_DEBUG,                            \
                   sdata, fmt, ##__VA_ARGS__)
 
+#define mps_dbg(sdata, fmt, ...)                                       \
+       _sdata_dbg(MAC80211_MESH_PS_DEBUG,                              \
+                  sdata, fmt, ##__VA_ARGS__)
+
 #define tdls_dbg(sdata, fmt, ...)                                      \
        _sdata_dbg(MAC80211_TDLS_DEBUG,                                 \
                   sdata, fmt, ##__VA_ARGS__)