From 5be7bc7516b2f6bd8c85a778c47e0caa6f501a18 Mon Sep 17 00:00:00 2001 From: Michael Plass Date: Tue, 18 Jul 2017 13:44:43 -0700 Subject: [PATCH] WifiInfo - document packet counters and rates Bug: 63039962 Test: wifi unit tests Change-Id: Ibc17265e88ed174fce9bbffa32261080d076cea3 --- wifi/java/android/net/wifi/WifiInfo.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wifi/java/android/net/wifi/WifiInfo.java b/wifi/java/android/net/wifi/WifiInfo.java index e48f7bdb27ee1..25c1a8bb68d7f 100644 --- a/wifi/java/android/net/wifi/WifiInfo.java +++ b/wifi/java/android/net/wifi/WifiInfo.java @@ -105,34 +105,43 @@ public class WifiInfo implements Parcelable { private boolean mEphemeral; /** + * Running total count of lost (not ACKed) transmitted unicast data packets. * @hide */ public long txBad; /** + * Running total count of transmitted unicast data retry packets. * @hide */ public long txRetries; /** + * Running total count of successfully transmitted (ACKed) unicast data packets. * @hide */ public long txSuccess; /** + * Running total count of received unicast data packets. * @hide */ public long rxSuccess; + /** + * Average rate of lost transmitted packets, in units of packets per 5 seconds. * @hide */ public double txBadRate; /** + * Average rate of transmitted retry packets, in units of packets per 5 seconds. * @hide */ public double txRetriesRate; /** + * Average rate of successfully transmitted unicast packets, in units of packets per 5 seconds. * @hide */ public double txSuccessRate; /** + * Average rate of received unicast data packets, in units of packets per 5 seconds. * @hide */ public double rxSuccessRate;