9p: Remove INET dependency
[linux-block.git] / net / mac80211 / debugfs_sta.h
CommitLineData
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
8void ieee80211_sta_debugfs_add(struct sta_info *sta);
9void ieee80211_sta_debugfs_remove(struct sta_info *sta);
d2caad52
BB
10
11void ieee80211_link_sta_debugfs_add(struct link_sta_info *link_sta);
12void ieee80211_link_sta_debugfs_remove(struct link_sta_info *link_sta);
13
14void ieee80211_link_sta_debugfs_drv_add(struct link_sta_info *link_sta);
15void ieee80211_link_sta_debugfs_drv_remove(struct link_sta_info *link_sta);
e9f207f0
JB
16#else
17static inline void ieee80211_sta_debugfs_add(struct sta_info *sta) {}
18static inline void ieee80211_sta_debugfs_remove(struct sta_info *sta) {}
d2caad52
BB
19
20static inline void ieee80211_link_sta_debugfs_add(struct link_sta_info *link_sta) {}
21static inline void ieee80211_link_sta_debugfs_remove(struct link_sta_info *link_sta) {}
22
23static inline void ieee80211_link_sta_debugfs_drv_add(struct link_sta_info *link_sta) {}
24static 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 */