Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
e9f207f0 JB |
2 | #ifndef __MAC80211_DEBUGFS_STA_H |
3 | #define __MAC80211_DEBUGFS_STA_H | |
4 | ||
d0709a65 JB |
5 | #include "sta_info.h" |
6 | ||
e9f207f0 JB |
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); | |
d2caad52 BB |
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); | |
e9f207f0 JB |
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) {} | |
d2caad52 BB |
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) {} | |
e9f207f0 JB |
25 | #endif |
26 | ||
27 | #endif /* __MAC80211_DEBUGFS_STA_H */ |