Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4225eae1 authored by Mingguang Xu's avatar Mingguang Xu
Browse files

Wifi usability: Add device mobility state into Wifi usability stats



Device mobility state is helpful for predicting Wifi usability in a
future time conditioned on current Wifi status.
Extend the Wifi.proto to include mobility state.

Bug: 129409568
Test: frameworks/base/wifi/tests/runtests.sh

Change-Id: I40a46bb797e4185720391ff24a943364e81bb00e
Signed-off-by: default avatarMingguang Xu <mingguangxu@google.com>
parent dec2604a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2012,6 +2012,10 @@ message WifiUsabilityStatsEntry {

  // Whether the primary registered cell of current entry is same as that of previous entry
  optional bool is_same_registered_cell = 33;

  // The device mobility state
  optional DeviceMobilityStatePnoScanStats.DeviceMobilityState
          device_mobility_state = 34;
}

message WifiUsabilityStats {