diff options
Diffstat (limited to 'net/mac80211/rc80211_minstrel.h')
| -rw-r--r-- | net/mac80211/rc80211_minstrel.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/mac80211/rc80211_minstrel.h b/net/mac80211/rc80211_minstrel.h index 38bf4168fc3a..0f5a83370aa6 100644 --- a/net/mac80211/rc80211_minstrel.h +++ b/net/mac80211/rc80211_minstrel.h | |||
| @@ -80,7 +80,18 @@ struct minstrel_priv { | |||
| 80 | unsigned int lookaround_rate_mrr; | 80 | unsigned int lookaround_rate_mrr; |
| 81 | }; | 81 | }; |
| 82 | 82 | ||
| 83 | struct minstrel_debugfs_info { | ||
| 84 | size_t len; | ||
| 85 | char buf[]; | ||
| 86 | }; | ||
| 87 | |||
| 88 | extern struct rate_control_ops mac80211_minstrel; | ||
| 83 | void minstrel_add_sta_debugfs(void *priv, void *priv_sta, struct dentry *dir); | 89 | void minstrel_add_sta_debugfs(void *priv, void *priv_sta, struct dentry *dir); |
| 84 | void minstrel_remove_sta_debugfs(void *priv, void *priv_sta); | 90 | void minstrel_remove_sta_debugfs(void *priv, void *priv_sta); |
| 85 | 91 | ||
| 92 | /* debugfs */ | ||
| 93 | int minstrel_stats_open(struct inode *inode, struct file *file); | ||
| 94 | ssize_t minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *ppos); | ||
| 95 | int minstrel_stats_release(struct inode *inode, struct file *file); | ||
| 96 | |||
| 86 | #endif | 97 | #endif |
