From 36da81ff8a1e493ef1baedc7e6ee9906123a8dac Mon Sep 17 00:00:00 2001 From: David Su Date: Sun, 21 Apr 2019 13:09:05 -0700 Subject: [PATCH] wifi.proto: Count number of probes triggered by experiments Protos to count number of probes triggered by each experiment. Bug: 131091030 Test: compiles Change-Id: I61c15d5183fd7e1b819f2f751bd5a98bd7dd5202 --- proto/src/wifi.proto | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/proto/src/wifi.proto b/proto/src/wifi.proto index 15d30e463cc36..d5f036f702ede 100644 --- a/proto/src/wifi.proto +++ b/proto/src/wifi.proto @@ -2412,6 +2412,15 @@ message LinkProbeStats { optional int32 count = 2; } + // Counts the number of link probes for each experiment. + message ExperimentProbeCounts { + // The experiment ID. + optional string experiment_id = 1; + + // The number of link probes triggered for this experiment. + optional int32 probe_count = 2; + } + // Counts the occurrences of RSSI values when a link probe succeeds. repeated Int32Count success_rssi_counts = 1; @@ -2435,6 +2444,9 @@ message LinkProbeStats { // Counts the occurrences of error codes for failed link probes. repeated LinkProbeFailureReasonCount failure_reason_counts = 8; + + // Counts the number of link probes for each experiment. + repeated ExperimentProbeCounts experiment_probe_counts = 9; } // Stores the decisions that were made by a experiment when compared against another experiment