diff options
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 0286c0476e44..808462e2a71d 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -3844,4 +3844,17 @@ int ieee80211_add_ext_srates_ie(struct ieee80211_vif *vif, | |||
3844 | */ | 3844 | */ |
3845 | int ieee80211_ave_rssi(struct ieee80211_vif *vif); | 3845 | int ieee80211_ave_rssi(struct ieee80211_vif *vif); |
3846 | 3846 | ||
3847 | /* Extra debugging macros */ | ||
3848 | |||
3849 | #ifdef CONFIG_MAC80211_HT_DEBUG | ||
3850 | #define ht_vdbg(fmt, ...) \ | ||
3851 | pr_debug(fmt, ##__VA_ARGS__) | ||
3852 | #else | ||
3853 | #define ht_vdbg(fmt, ...) \ | ||
3854 | do { \ | ||
3855 | if (0) \ | ||
3856 | pr_debug(fmt, ##__VA_ARGS__); \ | ||
3857 | } while (0) | ||
3858 | #endif | ||
3859 | |||
3847 | #endif /* MAC80211_H */ | 3860 | #endif /* MAC80211_H */ |