Commit a0c391b1 authored by Johannes Berg's avatar Johannes Berg

mac80211: minstrel[_ht]: remove non-ascii debugfs characters

Replace the average symbol by "avg" to avoid being warned about the
non-ASCII symbol all the time, line up the columns properly.

(I changed my mind - the warnings are getting annoying)
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 27392719
...@@ -85,12 +85,10 @@ minstrel_stats_open(struct inode *inode, struct file *file) ...@@ -85,12 +85,10 @@ minstrel_stats_open(struct inode *inode, struct file *file)
file->private_data = ms; file->private_data = ms;
p = ms->buf; p = ms->buf;
p += sprintf(p, "\n"); p += sprintf(p, "\n");
p += sprintf(p, "best __________rate_________ ______" p += sprintf(p,
"statistics______ ________last_______ " "best __________rate_________ ________statistics________ ________last_______ ______sum-of________\n");
"______sum-of________\n"); p += sprintf(p,
p += sprintf(p, "rate [name idx airtime max_tp] [ ø(tp) ø(prob) " "rate [name idx airtime max_tp] [avg(tp) avg(prob) sd(prob)] [prob.|retry|suc|att] [#success | #attempts]\n");
"sd(prob)] [prob.|retry|suc|att] "
"[#success | #attempts]\n");
for (i = 0; i < mi->n_rates; i++) { for (i = 0; i < mi->n_rates; i++) {
struct minstrel_rate *mr = &mi->r[i]; struct minstrel_rate *mr = &mi->r[i];
......
...@@ -129,12 +129,10 @@ minstrel_ht_stats_open(struct inode *inode, struct file *file) ...@@ -129,12 +129,10 @@ minstrel_ht_stats_open(struct inode *inode, struct file *file)
p = ms->buf; p = ms->buf;
p += sprintf(p, "\n"); p += sprintf(p, "\n");
p += sprintf(p, " best ____________rate__________ " p += sprintf(p,
"______statistics______ ________last_______ " " best ____________rate__________ ________statistics________ ________last_______ ______sum-of________\n");
"______sum-of________\n"); p += sprintf(p,
p += sprintf(p, "mode guard # rate [name idx airtime max_tp] " "mode guard # rate [name idx airtime max_tp] [avg(tp) avg(prob) sd(prob)] [prob.|retry|suc|att] [#success | #attempts]\n");
"[ ø(tp) ø(prob) sd(prob)] [prob.|retry|suc|att] [#success | "
"#attempts]\n");
p = minstrel_ht_stats_dump(mi, MINSTREL_CCK_GROUP, p); p = minstrel_ht_stats_dump(mi, MINSTREL_CCK_GROUP, p);
for (i = 0; i < MINSTREL_CCK_GROUP; i++) for (i = 0; i < MINSTREL_CCK_GROUP; i++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment