Message ID | 1366200506-23584-1-git-send-email-karl.beldan@gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On 2013-04-17 2:08 PM, Karl Beldan wrote: > From: Karl Beldan <karl.beldan@rivierawaves.com> > > This changes the minstrel stats ouput from: > > rate throughput ewma prob this prob this succ/attempt success attempts > BCD 6 0.0 0.0 0.0 0( 0) 0 0 > > to: > > rate throughput ewma prob this prob this succ/attempt success attempts > BCD 6 0.0 0.0 0.0 0( 0) 0 0 > > Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com> Acked-by: Felix Fietkau <nbd@openwrt.org> -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, 2013-04-17 at 14:08 +0200, Karl Beldan wrote: > From: Karl Beldan <karl.beldan@rivierawaves.com> > > This changes the minstrel stats ouput from: > > rate throughput ewma prob this prob this succ/attempt success attempts > BCD 6 0.0 0.0 0.0 0( 0) 0 0 > > to: > > rate throughput ewma prob this prob this succ/attempt success attempts > BCD 6 0.0 0.0 0.0 0( 0) 0 0 Applied this and your other patch ("optimize minstrel_ewma") johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/mac80211/rc80211_minstrel_debugfs.c b/net/mac80211/rc80211_minstrel_debugfs.c index d104834..fd0b9ca 100644 --- a/net/mac80211/rc80211_minstrel_debugfs.c +++ b/net/mac80211/rc80211_minstrel_debugfs.c @@ -68,7 +68,7 @@ minstrel_stats_open(struct inode *inode, struct file *file) file->private_data = ms; p = ms->buf; - p += sprintf(p, "rate throughput ewma prob this prob " + p += sprintf(p, "rate throughput ewma prob this prob " "this succ/attempt success attempts\n"); for (i = 0; i < mi->n_rates; i++) { struct minstrel_rate *mr = &mi->r[i]; @@ -86,7 +86,7 @@ minstrel_stats_open(struct inode *inode, struct file *file) eprob = MINSTREL_TRUNC(mr->probability * 1000); p += sprintf(p, " %6u.%1u %6u.%1u %6u.%1u " - "%3u(%3u) %8llu %8llu\n", + " %3u(%3u) %8llu %8llu\n", tp / 10, tp % 10, eprob / 10, eprob % 10, prob / 10, prob % 10,