#include <linux/netdevice.h>
#include <linux/types.h>
#include <linux/skbuff.h>
#include <linux/debugfs.h>
#include <linux/ieee80211.h>
#include <linux/export.h>
#include <net/mac80211.h>
#include "rc80211_minstrel_ht.h"
struct minstrel_debugfs_info { … };
static ssize_t
minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *ppos)
{ … }
static int
minstrel_stats_release(struct inode *inode, struct file *file)
{ … }
static bool
minstrel_ht_is_sample_rate(struct minstrel_ht_sta *mi, int idx)
{ … }
static char *
minstrel_ht_stats_dump(struct minstrel_ht_sta *mi, int i, char *p)
{ … }
static int
minstrel_ht_stats_open(struct inode *inode, struct file *file)
{ … }
static const struct file_operations minstrel_ht_stat_fops = …;
static char *
minstrel_ht_stats_csv_dump(struct minstrel_ht_sta *mi, int i, char *p)
{ … }
static int
minstrel_ht_stats_csv_open(struct inode *inode, struct file *file)
{ … }
static const struct file_operations minstrel_ht_stat_csv_fops = …;
void
minstrel_ht_add_sta_debugfs(void *priv, void *priv_sta, struct dentry *dir)
{ … }