On Wed, Feb 19, 2020 at 07:31:53AM -0500, chaitanya cherukuri wrote:
In plugins/wifi.c, the function calculate_strength returns the
value of 100 or 120+
so signal greater than -20 will report the strength of 100, can I
consider that particular signal strength as 100%?
I can't remember why we ended up with the above mentioned formula to
calculate the signal strength reported back from wpa_supplicant. I
read it the same way you do, anything above -20 is a very good signal.
one other question, wifi security is reported as PSK. How do I know
the encryption method?
Only the values documented in API description are exposed via D-Bus,
see network_security() in wifi.c.
After looking at this function I think we don't handle all the
reported values from gsupplicant correclty.