History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiLastResortWatchdog.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1c50de232acb3d6148c454941a6b9a79e0663b81 26-Jul-2016 Glen Kuhne <kuh@google.com> WiFiMetrics: Add LastResortWatchdog success metric

Added a metric that tracks how often WifiLastResortWatchdog triggers
successfully fix wifi, allowing wifi to connect to a network after
triggering. It does not count a success, if the connection occurs
after a new network becomes available.

BUG=30407550
TEST=Unit Tests

Change-Id: I68d1f003fee9eb8074c04db141bd7b5c3089d57b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiLastResortWatchdog.java
969de309e3edc1795d6df24415e586d1a1587cb6 27-May-2016 Rebecca Silberstein <silberst@google.com> DO NOT MERGE WifiLastResortWatchdog: reset wifi on trigger

( cherry-pick of Icb7c3a211afcd234cfcd25a42665aed03c33f5e1 from master )

Added wifi reset on WifiLastResortTrigger. The reset is implemented by
sending the CMD_RESTART_WIFI message to WifiController.

BUG: 27856267
Change-Id: Icb7c3a211afcd234cfcd25a42665aed03c33f5e1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiLastResortWatchdog.java
91a8893f047b8a193e4516ab772b6f43882777f5 30-Apr-2016 Rebecca Silberstein <silberst@google.com> WifiLastResortWatchdog: update config if not null

When new scan results are processed, networks already stored as the
available networks may have updated configs passed in, but they may also
have null configs. The null configs should not be used to update the
stored config. Added a check to determine if the passed in config is
not null before the update.

In addition, debugging output also reported the value of
HasEverConnected as false for networks with a null config. This was
updated to report null_config instead.

Added tests covering config updates.
Added tests for debugging output.

BUG: 28451079
Change-Id: Iff9888ab87c61619b2f865516eca22d87eb4f4b8
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiLastResortWatchdog.java
5f001750a0ce82a8b3a47ac566117d4de27f3e23 22-Apr-2016 Glen Kuhne <kuh@google.com> WifiLastResortWatchdog metrics

Added logging of various metrics to the WifiLastResortWatchdog. These
metrics count the number of times the Watchdog triggers, and stats
counting the number of networks present at failure time for different
failure types.

BUG=27856474

Change-Id: If43836b1c33791fefb8000196b231c312161feef
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiLastResortWatchdog.java
83f2b8087178705445e4d1618eaac832f9c633f4 20-Apr-2016 Glen Kuhne <kuh@google.com> WifiLastResortWatchdog trigger logic

Implemented trigger condition logic that is checked after a failure is
counted. The condition takes into account: failure counts, wifi
connected state, past connections to saved networks and whether the
watchdog has fired since the wifi environment changed.

Please note: This change only implements the logic for deciding when to
trigger, not the trigger itself.

BUG=27856709

Change-Id: I91ad6127a72ca24c72a5520348c4fff83f16b559
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiLastResortWatchdog.java
8fe3e3497daf08b71ffc8c33cb7b139df6667448 14-Apr-2016 Glen Kuhne <kuh@google.com> WifiLastResortWatchdog failure counting

Implemented watchdog methods and calls to them from WifiStateMachine to
count association rejection, authentication failure & dhcp failures.

This will allow the watchdog to determine when all available networks
are failing, and Wifi Framework has no other options, however this Cl
does not implement that logic.

BUG=27855690
BUG=27856523

Change-Id: I416bfd0e0340823de5ca04f2d040bff7a751b677
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiLastResortWatchdog.java
09abbe29be6e552a2531b0367bd6d29647d33767 30-Mar-2016 Glen Kuhne <kuh@google.com> Created LastResortWatchdog class

Created the WifiLastResortWatchdog class, that will handle restarting
the wifi stack as a last resort when wifi is failing.
Implemented the logic that tracks failure counts for all available
networks, and the maintaining of that list of available networks.

BUG=27856523

Change-Id: I8c944d033955ad7e5cc9484cce8f20cd3755312e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiLastResortWatchdog.java