debugfs_sta.h 1.1 KB

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __MAC80211_DEBUGFS_STA_H
  3. #define __MAC80211_DEBUGFS_STA_H
  4. #include "sta_info.h"
  5. #ifdef CONFIG_MAC80211_DEBUGFS
  6. void ieee80211_sta_debugfs_add(struct sta_info *sta);
  7. void ieee80211_sta_debugfs_remove(struct sta_info *sta);
  8. void ieee80211_link_sta_debugfs_add(struct link_sta_info *link_sta);
  9. void ieee80211_link_sta_debugfs_remove(struct link_sta_info *link_sta);
  10. void ieee80211_link_sta_debugfs_drv_add(struct link_sta_info *link_sta);
  11. void ieee80211_link_sta_debugfs_drv_remove(struct link_sta_info *link_sta);
  12. #else
  13. static inline void ieee80211_sta_debugfs_add(struct sta_info *sta) {}
  14. static inline void ieee80211_sta_debugfs_remove(struct sta_info *sta) {}
  15. static inline void ieee80211_link_sta_debugfs_add(struct link_sta_info *link_sta) {}
  16. static inline void ieee80211_link_sta_debugfs_remove(struct link_sta_info *link_sta) {}
  17. static inline void ieee80211_link_sta_debugfs_drv_add(struct link_sta_info *link_sta) {}
  18. static inline void ieee80211_link_sta_debugfs_drv_remove(struct link_sta_info *link_sta) {}
  19. #endif
  20. #endif /* __MAC80211_DEBUGFS_STA_H */