162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* routines exported for debugfs handling */ 362306a36Sopenharmony_ci 462306a36Sopenharmony_ci#ifndef __IEEE80211_DEBUGFS_NETDEV_H 562306a36Sopenharmony_ci#define __IEEE80211_DEBUGFS_NETDEV_H 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci#include "ieee80211_i.h" 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#ifdef CONFIG_MAC80211_DEBUGFS 1062306a36Sopenharmony_civoid ieee80211_debugfs_add_netdev(struct ieee80211_sub_if_data *sdata); 1162306a36Sopenharmony_civoid ieee80211_debugfs_remove_netdev(struct ieee80211_sub_if_data *sdata); 1262306a36Sopenharmony_civoid ieee80211_debugfs_rename_netdev(struct ieee80211_sub_if_data *sdata); 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_civoid ieee80211_link_debugfs_add(struct ieee80211_link_data *link); 1562306a36Sopenharmony_civoid ieee80211_link_debugfs_remove(struct ieee80211_link_data *link); 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_civoid ieee80211_link_debugfs_drv_add(struct ieee80211_link_data *link); 1862306a36Sopenharmony_civoid ieee80211_link_debugfs_drv_remove(struct ieee80211_link_data *link); 1962306a36Sopenharmony_ci#else 2062306a36Sopenharmony_cistatic inline void ieee80211_debugfs_add_netdev( 2162306a36Sopenharmony_ci struct ieee80211_sub_if_data *sdata) 2262306a36Sopenharmony_ci{} 2362306a36Sopenharmony_cistatic inline void ieee80211_debugfs_remove_netdev( 2462306a36Sopenharmony_ci struct ieee80211_sub_if_data *sdata) 2562306a36Sopenharmony_ci{} 2662306a36Sopenharmony_cistatic inline void ieee80211_debugfs_rename_netdev( 2762306a36Sopenharmony_ci struct ieee80211_sub_if_data *sdata) 2862306a36Sopenharmony_ci{} 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_cistatic inline void ieee80211_link_debugfs_add(struct ieee80211_link_data *link) 3162306a36Sopenharmony_ci{} 3262306a36Sopenharmony_cistatic inline void ieee80211_link_debugfs_remove(struct ieee80211_link_data *link) 3362306a36Sopenharmony_ci{} 3462306a36Sopenharmony_ci 3562306a36Sopenharmony_cistatic inline void ieee80211_link_debugfs_drv_add(struct ieee80211_link_data *link) 3662306a36Sopenharmony_ci{} 3762306a36Sopenharmony_cistatic inline void ieee80211_link_debugfs_drv_remove(struct ieee80211_link_data *link) 3862306a36Sopenharmony_ci{} 3962306a36Sopenharmony_ci#endif 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ci#endif /* __IEEE80211_DEBUGFS_NETDEV_H */ 42