From 4225eae1c97f822e72b7f46582cb4da5b6cb05ac Mon Sep 17 00:00:00 2001 From: Mingguang Xu Date: Wed, 27 Mar 2019 11:13:58 -0700 Subject: [PATCH] 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: Mingguang Xu --- proto/src/wifi.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proto/src/wifi.proto b/proto/src/wifi.proto index 1bcc888db7a74..9a85ff260ddf1 100644 --- a/proto/src/wifi.proto +++ b/proto/src/wifi.proto @@ -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 {