Search Linux Wireless

Re: [PATCH v2 04/10] mac80211: add new Minstrel-HT statistic output via csv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2015-02-13 15:57, Thomas Huehn wrote:
> This patch adds a new debugfs file "rc_stats_csv" to output
> Minstrel-HTs statistics in a common csv format that is easy
> to parse.
> 
> Signed-off-by: Thomas Huehn <thomas@xxxxxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Stefan Venz <ikstream86@xxxxxxxxx>
> ---
> --- a/net/mac80211/rc80211_minstrel_ht_debugfs.c
> +++ b/net/mac80211/rc80211_minstrel_ht_debugfs.c
> +static int
> +minstrel_ht_stats_csv_open(struct inode *inode, struct file *file)
> +{
> +	struct minstrel_ht_sta_priv *msp = inode->i_private;
> +	struct minstrel_ht_sta *mi = &msp->ht;
> +	struct minstrel_debugfs_info *ms;
> +	struct timeval tv;
> +	unsigned int i;
> +	int ret;
> +	char *p;
> +
> +	do_gettimeofday(&tv);
> +
> +	if (!msp->is_ht) {
> +		inode->i_private = &msp->legacy;
> +		ret = minstrel_stats_open(inode, file);
Should be minstrel_stats_csv_open here?

- Felix
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux