summaryrefslogtreecommitdiff
path: root/net/mac80211/rc80211_minstrel.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-03-02 00:17:38 +0300
committerJohn W. Linville <linville@tuxdriver.com>2010-03-11 01:44:17 +0300
commit44ac91ea8450b0e7a27b4a1fd64aefd35a144728 (patch)
tree9f47f06d46bb42c9a9e00a6dfde76e44eb8e9fb6 /net/mac80211/rc80211_minstrel.h
parent8127fbdc417b5916b82e91400a4be1d9555feee7 (diff)
downloadlinux-44ac91ea8450b0e7a27b4a1fd64aefd35a144728.tar.xz
minstrel: simplify and fix debugfs code
This patch cleans up the debugfs read function for the statistics by using simple_read_from_buffer instead of its own semi-broken hack. Also removes a useless member of the minstrel debugfs info struct. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/rc80211_minstrel.h')
-rw-r--r--net/mac80211/rc80211_minstrel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/mac80211/rc80211_minstrel.h b/net/mac80211/rc80211_minstrel.h
index 38bf4168fc3a..9372656f3f5e 100644
--- a/net/mac80211/rc80211_minstrel.h
+++ b/net/mac80211/rc80211_minstrel.h
@@ -80,6 +80,11 @@ struct minstrel_priv {
unsigned int lookaround_rate_mrr;
};
+struct minstrel_debugfs_info {
+ size_t len;
+ char buf[];
+};
+
void minstrel_add_sta_debugfs(void *priv, void *priv_sta, struct dentry *dir);
void minstrel_remove_sta_debugfs(void *priv, void *priv_sta);