1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __MAC80211_DEBUGFS_STA_H 3 #define __MAC80211_DEBUGFS_STA_H 4 5 #include "sta_info.h" 6 7 #ifdef CONFIG_MAC80211_DEBUGFS 8 void ieee80211_sta_debugfs_add(struct sta_info *sta); 9 void ieee80211_sta_debugfs_remove(struct sta_info *sta); 10 11 void ieee80211_link_sta_debugfs_add(struct link_sta_info *link_sta); 12 void ieee80211_link_sta_debugfs_remove(struct link_sta_info *link_sta); 13 14 void ieee80211_link_sta_debugfs_drv_add(struct link_sta_info *link_sta); 15 void ieee80211_link_sta_debugfs_drv_remove(struct link_sta_info *link_sta); 16 #else 17 static inline void ieee80211_sta_debugfs_add(struct sta_info *sta) {} 18 static inline void ieee80211_sta_debugfs_remove(struct sta_info *sta) {} 19 20 static inline void ieee80211_link_sta_debugfs_add(struct link_sta_info *link_sta) {} 21 static inline void ieee80211_link_sta_debugfs_remove(struct link_sta_info *link_sta) {} 22 23 static inline void ieee80211_link_sta_debugfs_drv_add(struct link_sta_info *link_sta) {} 24 static inline void ieee80211_link_sta_debugfs_drv_remove(struct link_sta_info *link_sta) {} 25 #endif 26 27 #endif /* __MAC80211_DEBUGFS_STA_H */ 28
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.