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
diff --git a/proto/src/wifi.proto b/proto/src/wifi.proto
index 5fa7766..670e794 100644
--- a/proto/src/wifi.proto
+++ b/proto/src/wifi.proto
@@ -2100,6 +2100,8 @@
// Easy Connect (DPP)
message WifiDppLog {
+ reserved 6;
+
// Number of Configurator-Initiator requests
optional int32 num_dpp_configurator_initiator_requests = 1;
@@ -2116,7 +2118,7 @@
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 @@
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;