summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Blake Kragten <kragtenb@google.com> 2018-12-10 21:59:28 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2018-12-10 21:59:28 +0000
commitdf4ae4aca3bb08d4ffb95e6c07e0d3faffacdfda (patch)
tree9a1754fb46932e66e4416db215e39841457c1e1f
parentfdb93e88dd7f6c229e0bd6d158138173af41c8ee (diff)
parent354c83dcba1ddc6fd876b69b43026e03d730e1db (diff)
Merge "Adding additional wifi power metrics to wifi power metrics"
-rw-r--r--proto/src/wifi.proto21
1 files changed, 21 insertions, 0 deletions
diff --git a/proto/src/wifi.proto b/proto/src/wifi.proto
index 1fda07499a33..e9ce737eb5a5 100644
--- a/proto/src/wifi.proto
+++ b/proto/src/wifi.proto
@@ -1344,6 +1344,27 @@ message WifiPowerStats {
// Amount of time wifi is in tx (ms)
optional int64 tx_time_ms = 5;
+
+ // Amount of time kernel is active because of wifi data (ms)
+ optional int64 wifi_kernel_active_time_ms = 6;
+
+ // Number of packets sent (tx)
+ optional int64 num_packets_tx = 7;
+
+ // Number of bytes sent (tx)
+ optional int64 num_bytes_tx = 8;
+
+ // Number of packets received (rx)
+ optional int64 num_packets_rx = 9;
+
+ // Number of bytes sent (rx)
+ optional int64 num_bytes_rx = 10;
+
+ // Amount of time wifi is in sleep (ms)
+ optional int64 sleep_time_ms = 11;
+
+ // Amount of time wifi is scanning (ms)
+ optional int64 scan_time_ms = 12;
}
// Metrics for Wifi Wake