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

Commit 8e835f63 authored by David Su's avatar David Su
Browse files

Deprecate DPP histogram message and migrate to standard histogram

Deprecate DPP histogram message and migrate to standard histogram.
Field and DPP specific histogram message can be safely removed since
the data has not been aggregated yet.

Bug: 123231626
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I87622f5016d5b0ef13ac72bccc2f8136a42fd240
parent a984bb74
Loading
Loading
Loading
Loading
+3 −13
Original line number Diff line number Diff line
@@ -2100,6 +2100,8 @@ message GroupEvent {

// Easy Connect (DPP)
message WifiDppLog {
  reserved 6;

  // Number of Configurator-Initiator requests
  optional int32 num_dpp_configurator_initiator_requests = 1;

@@ -2116,7 +2118,7 @@ message WifiDppLog {
  repeated DppFailureStatusHistogramBucket dpp_failure_code = 5;

  // Easy Connect (DPP) operation time bucket
  repeated HistogramBucket dpp_operation_time = 6;
  repeated HistogramBucketInt32 dpp_operation_time = 7;

  // Histogram bucket for Wi-Fi DPP configurator success
  message DppConfiguratorSuccessStatusHistogramBucket {
@@ -2136,18 +2138,6 @@ message WifiDppLog {
    optional int32 count = 2;
  }

  // Histogram bucket for Wi-Fi DPP logs. Range is [start, end)
  message HistogramBucket {
    // lower range of the bucket (inclusive)
    optional int32 start = 1;

    // upper range of the bucket (exclusive)
    optional int32 end = 2;

    // number of samples in the bucket
    optional int32 count = 3;
  }

  enum DppConfiguratorSuccessCode {
    // Unknown success code
    EASY_CONNECT_EVENT_SUCCESS_UNKNOWN = 0;