summaryrefslogtreecommitdiffstats
path: root/net/wireless/debugfs.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-05-02 06:37:21 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-05-20 20:46:23 +0200
commit1ac61302dcd18880e28c29e5728cd4d0efeb5366 (patch)
tree2fa7f137b67df3f966408b016745083cae7cdefa /net/wireless/debugfs.h
parentcfg80211: check allowed channel type upon userspace requests (diff)
downloadlinux-1ac61302dcd18880e28c29e5728cd4d0efeb5366.tar.xz
linux-1ac61302dcd18880e28c29e5728cd4d0efeb5366.zip
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>
Diffstat (limited to 'net/wireless/debugfs.h')
-rw-r--r--net/wireless/debugfs.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/wireless/debugfs.h b/net/wireless/debugfs.h
new file mode 100644
index 000000000000..c226983ae66b
--- /dev/null
+++ b/net/wireless/debugfs.h
@@ -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 */