The Settings app is listening to wpa_supplicant state change so as to update...
The Settings app is listening to wpa_supplicant state change so as to update the state of the AccessPoint objects and present Wifi state to the user. This is not right because wpa_supplicant states are transient (for instance when the WiFi Layer, at Layer 2, is going thru some harmless spurious disconnection cycle due to WiFi signal fluctuation). This cause the state of the WiFi Network to appear to be unstable to the user. Hence, I removed dependencies on wpa_supplicant internal state. In addition so as to improve debugging, I added the BSSID to the Wifi Verbose Logging string which is shown in wifi picker alongside the current network. This string only appear when a user goes into Developper Options and enable WiFi Verbose Logging. The below bug is an example of situation where a spurious disconnect (a coupld seconds) handled by wpa_supplicant can cause the WiFi Settings to indicate that the link is unstable. Bug:16140888 Wifi best network selection not smooth Change-Id: I0e7c6b86262b88ed993c46fcdcdbab4d9b1f5ea1
Loading
Please register or sign in to comment