mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
mac80211/cfg80211: move wiphy specific debugfs entries to cfg80211
This moves the cfg80211 specific stuff to new cfg80211 debugfs entries. Non-mac80211 will also get these entries now. There were only 4 which we take: rts_threshold fragmentation_threshold short_retry_limit long_retry_limit Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
294196ab22
commit
1ac61302dc
8 changed files with 109 additions and 20 deletions
14
net/wireless/debugfs.h
Normal file
14
net/wireless/debugfs.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
#ifndef __CFG80211_DEBUGFS_H
|
||||
#define __CFG80211_DEBUGFS_H
|
||||
|
||||
#ifdef CONFIG_CFG80211_DEBUGFS
|
||||
void cfg80211_debugfs_drv_add(struct cfg80211_registered_device *drv);
|
||||
void cfg80211_debugfs_drv_del(struct cfg80211_registered_device *drv);
|
||||
#else
|
||||
static inline
|
||||
void cfg80211_debugfs_drv_add(struct cfg80211_registered_device *drv) {}
|
||||
static inline
|
||||
void cfg80211_debugfs_drv_del(struct cfg80211_registered_device *drv) {}
|
||||
#endif
|
||||
|
||||
#endif /* __CFG80211_DEBUGFS_H */
|
Loading…
Add table
Add a link
Reference in a new issue