162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci#ifndef __MAC80211_DEBUGFS_STA_H 362306a36Sopenharmony_ci#define __MAC80211_DEBUGFS_STA_H 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci#include "sta_info.h" 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci#ifdef CONFIG_MAC80211_DEBUGFS 862306a36Sopenharmony_civoid ieee80211_sta_debugfs_add(struct sta_info *sta); 962306a36Sopenharmony_civoid ieee80211_sta_debugfs_remove(struct sta_info *sta); 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_civoid ieee80211_link_sta_debugfs_add(struct link_sta_info *link_sta); 1262306a36Sopenharmony_civoid ieee80211_link_sta_debugfs_remove(struct link_sta_info *link_sta); 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_civoid ieee80211_link_sta_debugfs_drv_add(struct link_sta_info *link_sta); 1562306a36Sopenharmony_civoid ieee80211_link_sta_debugfs_drv_remove(struct link_sta_info *link_sta); 1662306a36Sopenharmony_ci#else 1762306a36Sopenharmony_cistatic inline void ieee80211_sta_debugfs_add(struct sta_info *sta) {} 1862306a36Sopenharmony_cistatic inline void ieee80211_sta_debugfs_remove(struct sta_info *sta) {} 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_cistatic inline void ieee80211_link_sta_debugfs_add(struct link_sta_info *link_sta) {} 2162306a36Sopenharmony_cistatic inline void ieee80211_link_sta_debugfs_remove(struct link_sta_info *link_sta) {} 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_cistatic inline void ieee80211_link_sta_debugfs_drv_add(struct link_sta_info *link_sta) {} 2462306a36Sopenharmony_cistatic inline void ieee80211_link_sta_debugfs_drv_remove(struct link_sta_info *link_sta) {} 2562306a36Sopenharmony_ci#endif 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ci#endif /* __MAC80211_DEBUGFS_STA_H */ 28