]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mwifiex: debugfs: correct histogram spacing, formatting
authorBrian Norris <briannorris@chromium.org>
Mon, 3 Dec 2018 22:26:55 +0000 (14:26 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 13 Dec 2018 14:54:30 +0000 (16:54 +0200)
commit4cb777c64e030778c569f605398d7604d8aabc0f
tree7cc7c6eb106330ed7ad620f3c0068a3013b84372
parent1dcd9429212b98bea87fc6ec92fb50bf5953eb47
mwifiex: debugfs: correct histogram spacing, formatting

Currently, snippets of this file look like:

rx rates (in Mbps): 0=1M   1=2M2=5.5M  3=11M   4=6M   5=9M  6=12M
7=18M  8=24M  9=36M  10=48M  11=54M12-27=MCS0-15(BW20) 28-43=MCS0-15(BW40)
44-53=MCS0-9(VHT:BW20)54-63=MCS0-9(VHT:BW40)64-73=MCS0-9(VHT:BW80)
...
noise_flr[--96dBm] = 22
noise_flr[--95dBm] = 149
noise_flr[--94dBm] = 9
noise_flr[--93dBm] = 2

We're missing some spaces, and we're adding a minus sign ('-') on values
that are already negative signed integers.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/debugfs.c