Skip to content
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

Incorrect display of wlan speeds over 1000 mbit #8

Open
Kennylives opened this issue Oct 8, 2020 · 3 comments
Open

Incorrect display of wlan speeds over 1000 mbit #8

Kennylives opened this issue Oct 8, 2020 · 3 comments

Comments

@Kennylives
Copy link

Kennylives commented Oct 8, 2020

First of, great tool!

Onto the issue:
When the wifi speed is under 1 gbit/s it shows correctly as (let's say) 864.6 Mbit/s
When the wifi speed is over 1 gbit/s either the decimal point is misplaced, or the unit doesn't get updated from Mbit to Gbit: 1.0887 Mbit/s
wifi_slow
wifi_fast

Also, but I'm unsure if that's correct or not, the speed value displayed is only the "tx" value. The "rx" is ignored.
for example from the 864.6 Mbit speed screenshot, iw wlan0 link:
rx bitrate: 1253.9 MBit/s 160MHz HE-MCS 6 HE-NSS 2 HE-GI 0 HE-DCM 0
tx bitrate: 864.8 MBit/s 160MHz HE-MCS 8 HE-NSS 1 HE-GI 0 HE-DCM 0

@MatthiasSchinzel
Copy link
Owner

Thank you so much for your help! You have a really fast wifi connection! I agree, the comma is misplaced.
I will try to recreate your problem, but I think my wifi is slower. Can I ask you where you got this information from?

rx bitrate: 1253.9 MBit/s 160MHz HE-MCS 6 HE-NSS 2 HE-GI 0 HE-DCM 0
tx bitrate: 864.8 MBit/s 160MHz HE-MCS 8 HE-NSS 1 HE-GI 0 HE-DCM 0

So far I used iwconfig for this information, but your data seems to be more detailed.

@Kennylives
Copy link
Author

Kennylives commented Oct 9, 2020

I'm using arch and it's this package:
https://www.archlinux.org/packages/core/x86_64/iw/

it's advertised as the replacement for iwconfig:
https://wireless.wiki.kernel.org/en/users/documentation/iw

Command used: iw wlan0 link
Output:
Connected to (mac address redacted) (on wlan0)
SSID: (redacted)
freq: 5260
RX: 2310815418 bytes (1566766 packets)
TX: 39608657 bytes (299268 packets)
signal: -58 dBm
rx bitrate: 1441.3 MBit/s 160MHz HE-MCS 7 HE-NSS 2 HE-GI 0 HE-DCM 0
tx bitrate: 1253.9 MBit/s 160MHz HE-MCS 6 HE-NSS 2 HE-GI 0 HE-DCM 0

bss flags: short-preamble short-slot-time
dtim period: 1
beacon int: 100

@MatthiasSchinzel
Copy link
Owner

iw looks great! We should switch to that tool instead of iwconfig!

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