/net/mac80211/debugfs_sta.h

http://github.com/mirrors/linux · C Header · 15 lines · 11 code · 3 blank · 1 comment · 0 complexity · 89e417cbe0d4d0d0d6d487b34f6d7d51 MD5 · raw file

  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. #else
  9. static inline void ieee80211_sta_debugfs_add(struct sta_info *sta) {}
  10. static inline void ieee80211_sta_debugfs_remove(struct sta_info *sta) {}
  11. #endif
  12. #endif /* __MAC80211_DEBUGFS_STA_H */