diff options
author | Sunil Ravi <sunilravi@google.com> | 2020-04-03 12:31:32 -0700 |
---|---|---|
committer | Sunil Ravi <sunilravi@google.com> | 2020-04-03 12:31:32 -0700 |
commit | d8e0c984bad7f9c98caf4c78785dbcca818b8761 (patch) | |
tree | ff2dcbaca9f28767b47c3aec56f86e616cb7e1d9 | |
parent | e546c58890635e8212bd0e1452a7bedcf2d65641 (diff) |
Send ONESHOT_RSSI_POLL command upon moving to ConnectedState
If screen is off, once client enter enter to ConnectedState,
fetch the link layer stats and rssi. This is to initialize some
of the information like frequency, rssi, link speeds etc in wifi info.
Bug: 153077290
Test: Manual - Ran STA-AP connection and verified the results from logs.
Change-Id: Ic624540171c75ea2662576e34d42deae1fe08c65
-rw-r--r-- | service/java/com/android/server/wifi/ClientModeImpl.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/ClientModeImpl.java b/service/java/com/android/server/wifi/ClientModeImpl.java index 38a946b86..d51098119 100644 --- a/service/java/com/android/server/wifi/ClientModeImpl.java +++ b/service/java/com/android/server/wifi/ClientModeImpl.java @@ -5245,6 +5245,7 @@ public class ClientModeImpl extends StateMachine { WifiLockManager wifiLockManager = mWifiInjector.getWifiLockManager(); wifiLockManager.updateWifiClientConnected(true); mWifiScoreReport.startConnectedNetworkScorer(mNetworkAgent.getNetwork().getNetId()); + updateLinkLayerStatsRssiAndScoreReport(); } @Override public boolean processMessage(Message message) { |