diff options
author | Rebecca Silberstein <silberst@google.com> | 2016-05-26 09:08:03 -0700 |
---|---|---|
committer | Rebecca Silberstein <silberst@google.com> | 2016-05-27 13:38:08 -0700 |
commit | ddd09bbe798f9fb257bb9c73649bee3bd77fb469 (patch) | |
tree | ac792111f873ca10a4de1f5b462e2c89294d8748 /service/java/com/android/server/wifi/WifiLastResortWatchdog.java | |
parent | 75423e87095b6c0353af053cb446dbc9a444fcfa (diff) | |
download | wifi-ddd09bbe798f9fb257bb9c73649bee3bd77fb469.tar.gz |
WifiController: Add CMD_RESET_WIFI command
Allow WifiController to safely restart the WiFi stack. This will
initially be used by the WifiLastResortWatchdog. The CMD_RESET_WIFI
message is only handled in the StaEnabledState where it would have been
attempting to connect. The process of bringing the wifi back up is
handled through the use of the new CMD_RESET_WIFI_CONTINUE command.
Tests are also added to verify that the new CMD_RESET_WIFI command
is ignored in other states (explicitly tests Emergency mode and
AP enabled).
BUG: 27856267
Change-Id: I778ccd6f7d555f6ee6abb195c1c16c106c2e66b7
Diffstat (limited to 'service/java/com/android/server/wifi/WifiLastResortWatchdog.java')
0 files changed, 0 insertions, 0 deletions