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

Commit 2ea8e0b3 authored by Ecco Park's avatar Ecco Park
Browse files

wifi.proto: Add metric for installed passpoint profile type



Bug: 111473296
Test: Unit Tests

Merged-In: Ia6c6641697ecea1a51d7931d5f0f5b25963ae198
Change-Id: Ia6c6641697ecea1a51d7931d5f0f5b25963ae198
Signed-off-by: default avatarEcco Park <eccopark@google.com>
parent 614e26db
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -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;
}