I have an issue where the signal strength is always being reported for all 
access points as being %100.  I have found in the routine calculate_strength 
the value I get is 120+g_supplicant_network get_signal(supplicant_network)

So, I'm assuming that the number should be negative and should vary from access 
point to access point.  And when running dbus-monitor I see these messages:


signal sender=:1.1 -> dest=(null destination) serial=115652 
path=/fi/w1/wpa_supplicant1/Interfaces/3/BSSs/3; 
interface=fi.w1.wpa_supplicant1.BSS; member=PropertiesChanged
   array [
      dict entry(
         string "Signal"
         variant             int16 -58
      )
   ]
signal sender=:1.1 -> dest=(null destination) serial=115653 
path=/fi/w1/wpa_supplicant1/Interfaces/3/BSSs/335; 
interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
   string "fi.w1.wpa_supplicant1.BSS"
   array [
      dict entry(
         string "Signal"
         variant             int16 -85
      )
   ]
   array [
   ]
signal sender=:1.1 -> dest=(null destination) serial=115654 
path=/fi/w1/wpa_supplicant1/Interfaces/3/BSSs/335; 
interface=fi.w1.wpa_supplicant1.BSS; member=PropertiesChanged
   array [
      dict entry(
         string "Signal"
         variant             int16 -85
      )
   ]
signal sender=:1.1 -> dest=(null destination) serial=115662 
path=/fi/w1/wpa_supplicant1/Interfaces/3/BSSs/447; 
interface=fi.w1.wpa_supplicant1.BSS; member=PropertiesChanged
   array [
      dict entry(
         string "Signal"
         variant             int16 -71
      )
   ]
signal sender=:1.1 -> dest=(null destination) serial=115663 
path=/fi/w1/wpa_supplicant1/Interfaces/3/BSSs/49; 
interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
   string "fi.w1.wpa_supplicant1.BSS"
   array [
      dict entry(
         string "Signal"
         variant             int16 -59
      )
   ]
   array [
   ]

I would think that what calculate_strength would return values that were 
somewhat variant, and less than 100, but it is not.... am I missing something 
basic here?

Tom
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to