summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEcco Park <eccopark@google.com>2018-07-23 15:53:10 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-08-16 02:13:13 +0000
commit739d70466029bc3eaff125e96bcf28581825d11b (patch)
tree047e400dbbef8992f8b3b8a2c4bb3c64dbf83c1a
parentca7cdb93bcb3c87bb861260d9dcccb1a144998fa (diff)
downloadbase-739d70466029bc3eaff125e96bcf28581825d11b.tar.gz
wifi.proto: Add metric for installed passpoint profile type
Bug: 111473296 Test: Unit Tests Merged-In: Ia6c6641697ecea1a51d7931d5f0f5b25963ae198 Change-Id: Ia6c6641697ecea1a51d7931d5f0f5b25963ae198 Signed-off-by: Ecco Park <eccopark@google.com> (cherry picked from commit 2ea8e0b31faab0e59e92f2c8bb8a73022de2ebd5)
-rw-r--r--proto/src/wifi.proto30
1 files changed, 30 insertions, 0 deletions
diff --git a/proto/src/wifi.proto b/proto/src/wifi.proto
index 72f11e0a63c1..a98996d84993 100644
--- a/proto/src/wifi.proto
+++ b/proto/src/wifi.proto
@@ -457,6 +457,8 @@ message WifiLog {
// Identifier for experimental scoring parameter settings.
optional string score_experiment_id = 117;
+ // Histogram of the EAP method type of all installed Passpoint profiles
+ repeated PasspointProfileTypeCount installed_passpoint_profile_type = 123;
}
// Information that gets logged for every WiFi connection.
@@ -1503,3 +1505,31 @@ message WifiRttLog {
optional int32 count = 2;
}
}
+
+message PasspointProfileTypeCount {
+ enum EapMethod {
+ // Unknown Type
+ TYPE_UNKNOWN = 0;
+
+ // EAP_TLS (13)
+ TYPE_EAP_TLS = 1;
+
+ // EAP_TTLS (21)
+ TYPE_EAP_TTLS = 2;
+
+ // EAP_SIM (18)
+ TYPE_EAP_SIM = 3;
+
+ // EAP_AKA (23)
+ TYPE_EAP_AKA = 4;
+
+ // EAP_AKA_PRIME (50)
+ TYPE_EAP_AKA_PRIME = 5;
+ }
+
+ // Eap method type set in Passpoint profile
+ optional EapMethod eap_method_type = 1;
+
+ // Num of installed Passpoint profile with same eap method
+ optional int32 count = 2;
+}