8000 RX/TX rate is reported as MBit/s when it is KBit/s · Issue #31 · uoaerg/wavemon · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

RX/TX rate is reported as MBit/s when it is KBit/s #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2m opened this issue Dec 12, 2016 · 6 comments
Closed

RX/TX rate is reported as MBit/s when it is KBit/s #31

2m opened this issue Dec 12, 2016 · 6 comments

Comments

@2m
Copy link
2m commented Dec 12, 2016

For slow RX/TX rate wavemon still reports rates as megabytes per second. Where it should be kilobytes instead.

@grrtrr
Copy link
Contributor
grrtrr commented Dec 13, 2016

Which one do you mean -- the one below:
low_usage

This field is not a rate, it is just the number of bits transferred.

The 'Info' tx rate and rx rate are always in Mbits/sec. Or are you saying it is reported as 0?

@2m
Copy link
Author
2m commented Dec 13, 2016

a

Hm. For some reason I have more info in the Statistics section.

@grrtrr
Copy link
Contributor
grrtrr commented Dec 13, 2016

Ah I see. The rate you are referring to is part of the channel survey data.
This particular bitrate is reported by the kernel in units of 100kBit/sec (NL80211_RATE_INFO_BITRATE{,32}). Hence it would not be useful to use a kbit resolution here.

@2m
Copy link
Author
2m commented Dec 14, 2016

Sure. But I think the displayed value is wrong. My connection is limited at 6Mbps, so it is impossible for the rate to be reported at 58Mbit/s.

@grrtrr
Copy link
Contributor
grrtrr commented Dec 15, 2016

It is a property of the wireless channel, not a throughput: see how nl80211_put_sta_rate calculates the bitrate.

You will get identical output when running iw dev wlp58s0 station dump.

@grrtrr grrtrr closed this as completed Dec 15, 2016
@grrtrr
Copy link
Contributor
grrtrr commented Dec 15, 2016

There is another rate sometimes reported, which is the expected throughput. Not all drivers support this, but it is closer to what one would expect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0