-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
luci-mod-dashboard: incorrect RSSI percentage #7355
Comments
ping @systemcrash |
And I suggest using -40 instead of -30 as the base offset. Usually -40dBm is already a very good signal. Maybe we also need to check if q > 100, then q = 100. |
So in the absence of a detected noise-floor, we default to an artificial noise floor of e.g. -90dBm. That should even out the calculations. -40 is a reasonable suggestion, although -30 is the established practical, which would avoid weird numbers like %110 if you're right next to the SSID and cross the antennae over. |
Closes openwrt#7355 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Is there an existing issue for this?
screenshots or captures
Actual behaviour
We are using this formula to calculate the RSSI value:
luci/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/30_wifi.js
Line 209 in 0df7955
But some driver (e.g. mt76x02, rt2x00) doesn‘t support noise strength report. This will cause a wrong RSSI percentage.
Expected behaviour
Do not show RSSI percentage or using some new formula to estimate the RSSI when noise is not supported. e.g. Assume noise is - 100 dBm.
Steps to reproduce
No need.
Additional Information
What browsers do you see the problem on?
Microsoft Edge
Relevant log output
No response
The text was updated successfully, but these errors were encountered: