2023-08-30 17:31:07 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/* routines exported for debugfs handling */
|
|
|
|
|
|
|
|
#ifndef __IEEE80211_DEBUGFS_NETDEV_H
|
|
|
|
#define __IEEE80211_DEBUGFS_NETDEV_H
|
|
|
|
|
|
|
|
#include "ieee80211_i.h"
|
|
|
|
|
|
|
|
#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);
|
2023-10-24 12:59:35 +02:00
|
|
|
|
|
|
|
void ieee80211_link_debugfs_add(struct ieee80211_link_data *link);
|
|
|
|
void ieee80211_link_debugfs_remove(struct ieee80211_link_data *link);
|
|
|
|
|
|
|
|
void ieee80211_link_debugfs_drv_add(struct ieee80211_link_data *link);
|
|
|
|
void ieee80211_link_debugfs_drv_remove(struct ieee80211_link_data *link);
|
2023-08-30 17:31:07 +02:00
|
|
|
#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)
|
|
|
|
{}
|
2023-10-24 12:59:35 +02:00
|
|
|
|
|
|
|
static inline void ieee80211_link_debugfs_add(struct ieee80211_link_data *link)
|
|
|
|
{}
|
|
|
|
static inline void ieee80211_link_debugfs_remove(struct ieee80211_link_data *link)
|
|
|
|
{}
|
|
|
|
|
|
|
|
static inline void ieee80211_link_debugfs_drv_add(struct ieee80211_link_data *link)
|
|
|
|
{}
|
|
|
|
static inline void ieee80211_link_debugfs_drv_remove(struct ieee80211_link_data *link)
|
|
|
|
{}
|
2023-08-30 17:31:07 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __IEEE80211_DEBUGFS_NETDEV_H */
|