summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-01-30 21:05:08 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-01-30 21:05:08 +0000
commitacf6d7670bb2bfc469d3289757baa6d646d31579 (patch)
treee850278c1dd6a046807bce0b5154fd4489e95dac
parentdda266621a00ebf97195cfc00b4da0c4a264c4de (diff)
parenta1bf45dfd6446a03ada30312edcf8b88ae44e2bf (diff)
downloadbase-acf6d7670bb2bfc469d3289757baa6d646d31579.tar.gz
Merge cherrypicks of [3536650, 3536562, 3536563, 3536481, 3535874, 3536495, 3536496, 3536632, 3536633, 3536434, 3535900] into oc-m2-release
Change-Id: I5665b657607cd31a5ca9ce74371037726ba43145
-rw-r--r--proto/src/wifi.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/proto/src/wifi.proto b/proto/src/wifi.proto
index ee0c04331da2..9d25055d6d5a 100644
--- a/proto/src/wifi.proto
+++ b/proto/src/wifi.proto
@@ -673,6 +673,10 @@ message StaEvent {
// Framework initiated disconnect. Sometimes generated to give an extra reason for a disconnect
// Should typically be followed by a NETWORK_DISCONNECTION_EVENT with a local_gen = true
TYPE_FRAMEWORK_DISCONNECT = 15;
+
+ // The NetworkAgent score for wifi has changed in a way that may impact
+ // connectivity
+ TYPE_SCORE_BREACH = 16;
}
enum FrameworkDisconnectReason {
@@ -784,6 +788,9 @@ message StaEvent {
// Authentication failure reason, as reported by WifiManager (calculated from state & deauth code)
optional AuthFailureReason auth_failure_reason = 13 [default = AUTH_FAILURE_UNKNOWN];
+
+ // NetworkAgent score of connected wifi
+ optional int32 last_score = 14 [default = -1];
}
// Wi-Fi Aware metrics