Wifi usability: A couple of tweaks to Wifi usability data collection
1. Change the range of Wifi usability score from [0,60] to [0,100]:
Usability score represents the estimated probability of Wifi usability
so it is more convenient to use the range of [0,100] for metric
collection purpose (no action is taken).
2. Capture up to 40 samples (equivalently 2 mins) per dataset. 2-min
usability stats can provide more information on how Wifi networks
gradually become unusable.
3. The minimum gap between two events is checked based on the event
time, which is the timestamp of the last entry in the ring buffer. Note
that the timestamp of the first entry cannot represent the time when
event happens.
Bug: 113262380
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Ib775fd4b73d04956c53d76a8a4b905851764dcab
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
2 files changed