Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe via email, send a message with subject or
body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."

Today's Topics:

   1. Re: Wifi Signal Strength (Daniel Wagner)


----------------------------------------------------------------------

Date: Tue, 25 Feb 2020 08:56:01 +0100
From: Daniel Wagner <[email protected]>
Subject: Re: Wifi Signal Strength
To: chaitanya cherukuri <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Hi,

On Wed, Feb 19, 2020 at 07:31:53AM -0500, chaitanya cherukuri wrote:
> In plugins/wifi.c, the function calculate_strength returns the maximum
> value of 100 or 120+
> g_supplicant_network_get_signal(supplicant_network)
> 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. 

Thanks,
Daniel

------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list -- [email protected]
To unsubscribe send an email to [email protected]


------------------------------

End of connman Digest, Vol 52, Issue 23
***************************************

Reply via email to