Wifi usability: Add firmware alert reason code into WifiUsabilityStats
Firmware alert can trigger Wifi usability stats data collection. Currently the reason code of firmware alert is not collected as an attribute. Add the reason code into Wifi usability stats as an attribute. Bug: 129426122 Test: frameworks/base/wifi/tests/runtests.sh Change-Id: I5640745b5ee4588bb8ac106420262685ad8d6a28 Signed-off-by: Mingguang Xu <mingguangxu@google.com>
This commit is contained in:
parent
dec2604a16
commit
8424b29b56
@ -2051,6 +2051,10 @@ message WifiUsabilityStats {
|
||||
|
||||
// What event triggered WifiUsabilityStats.
|
||||
optional UsabilityStatsTriggerType trigger_type = 3;
|
||||
|
||||
// Firmware alert code. Only valid when the stats was triggered by a firmware
|
||||
// alert, otherwise -1.
|
||||
optional int32 firmware_alert_code = 4 [default = -1];
|
||||
}
|
||||
|
||||
message DeviceMobilityStatePnoScanStats {
|
||||
|
Loading…
x
Reference in New Issue
Block a user