File Index
Files and directories
Sign in
FILE

debugfs_sta.h

File preview with syntax highlighting.

linux-6.19.14/net/mac80211/debugfs_sta.h C
 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
 8void ieee80211_sta_debugfs_add(struct sta_info *sta);
 9void ieee80211_sta_debugfs_remove(struct sta_info *sta);
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);
16#else
17static inline void ieee80211_sta_debugfs_add(struct sta_info *sta) {}
18static inline void ieee80211_sta_debugfs_remove(struct sta_info *sta) {}
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) {}
25#endif
26
27#endif /* __MAC80211_DEBUGFS_STA_H */
~/ Read-only file preview.