summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Etan Cohen <etancohen@google.com> 2018-03-15 20:26:13 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2018-03-15 20:26:13 +0000
commitcf8acd8a70713eaef55fcb1c13d59c0b79d560ae (patch)
tree661a6e3aa74d6da441c2b898558b1b3b0a4d48b8
parent098547a92c0cf56dc1908cae16b7c0dc93a2ac20 (diff)
parentfa72357b5e2a5c2606e5c71babc78c1b74cb68d9 (diff)
Merge "[AWARE] Metrics for Discovery + Ranging" into pi-dev
-rw-r--r--proto/src/wifi.proto28
1 files changed, 28 insertions, 0 deletions
diff --git a/proto/src/wifi.proto b/proto/src/wifi.proto
index 74efec93f201..0763fa129f65 100644
--- a/proto/src/wifi.proto
+++ b/proto/src/wifi.proto
@@ -926,6 +926,34 @@ message WifiAwareLog {
// total time within the logging window that aware was enabled
optional int64 enabled_time_ms = 40;
+ // maximum number of concurrent publish sessions enabling ranging in a single app
+ optional int32 max_concurrent_publish_with_ranging_in_app = 41;
+
+ // maximum number of concurrent subscribe sessions specifying a geofence in a single app
+ optional int32 max_concurrent_subscribe_with_ranging_in_app = 42;
+
+ // maximum number of concurrent publish sessions enabling ranging in the system
+ optional int32 max_concurrent_publish_with_ranging_in_system = 43;
+
+ // maximum number of concurrent subscribe sessions specifying a geofence in the system
+ optional int32 max_concurrent_subscribe_with_ranging_in_system = 44;
+
+ // histogram of subscribe session geofence minimum (only when specified)
+ repeated HistogramBucket histogram_subscribe_geofence_min = 45;
+
+ // histogram of subscribe session geofence maximum (only when specified)
+ repeated HistogramBucket histogram_subscribe_geofence_max = 46;
+
+ // total number of subscribe sessions which enabled ranging
+ optional int32 num_subscribes_with_ranging = 47;
+
+ // total number of matches (service discovery indication) with ranging provided
+ optional int32 num_matches_with_ranging = 48;
+
+ // total number of matches (service discovery indication) for service discovery with ranging
+ // enabled which did not trigger ranging
+ optional int32 num_matches_without_ranging_for_ranging_enabled_subscribes = 49;
+
// Histogram bucket for Wi-Fi Aware logs. Range is [start, end)
message HistogramBucket {
// lower range of the bucket (inclusive)