2024-09-09 08:52:07 +00:00
|
|
|
/* routines exported for debugfs handling */
|
|
|
|
|
|
|
|
#ifndef __IEEE80211_DEBUGFS_NETDEV_H
|
|
|
|
#define __IEEE80211_DEBUGFS_NETDEV_H
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
#include "ieee80211_i.h"
|
|
|
|
|
2024-09-09 08:52:07 +00:00
|
|
|
#ifdef CONFIG_MAC80211_DEBUGFS
|
|
|
|
void ieee80211_debugfs_add_netdev(struct ieee80211_sub_if_data *sdata);
|
|
|
|
void ieee80211_debugfs_remove_netdev(struct ieee80211_sub_if_data *sdata);
|
|
|
|
void ieee80211_debugfs_rename_netdev(struct ieee80211_sub_if_data *sdata);
|
|
|
|
#else
|
|
|
|
static inline void ieee80211_debugfs_add_netdev(
|
|
|
|
struct ieee80211_sub_if_data *sdata)
|
|
|
|
{}
|
|
|
|
static inline void ieee80211_debugfs_remove_netdev(
|
|
|
|
struct ieee80211_sub_if_data *sdata)
|
|
|
|
{}
|
|
|
|
static inline void ieee80211_debugfs_rename_netdev(
|
|
|
|
struct ieee80211_sub_if_data *sdata)
|
|
|
|
{}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __IEEE80211_DEBUGFS_NETDEV_H */
|