From 078fe45552425c18aa8052da0ae3c9205fa5c309 Mon Sep 17 00:00:00 2001 From: Mingguang Xu Date: Thu, 19 Sep 2019 00:37:47 -0700 Subject: Wifi usability: Change the unit of the threshold for tx/rx throughput from Mbps to Kbps Data stall event can be triggered if the tx/rx tput is consecutively below a threshold over multiple RSSI polls. Changing the unit of the threshold from Mbps to Kbps allows us to configure a value below 1Mbps, e.g., 400Kbps. Bug: 141027476 Test: frameworks/base/wifi/tests/runtests.sh Signed-off-by: Mingguang Xu Change-Id: Ib7b398fb6975c0d03b09550db9bf68a2bb8bddfb Merged-In: I76d6338cd2d482d198fde1e5a2d1a0540c087ca6 --- proto/src/wifi.proto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'proto') diff --git a/proto/src/wifi.proto b/proto/src/wifi.proto index 353a18756ca2..fbf6ca52f11c 100644 --- a/proto/src/wifi.proto +++ b/proto/src/wifi.proto @@ -1798,12 +1798,12 @@ message ExperimentValues { optional int32 data_stall_duration_ms = 5; // Threshold of Tx throughput below which to trigger a data stall - // measured in Mbps - optional int32 data_stall_tx_tput_thr_mbps = 6; + // measured in Kbps + optional int32 data_stall_tx_tput_thr_kbps = 6; // Threshold of Rx throughput below which to trigger a data stall - // measured in Mbps - optional int32 data_stall_rx_tput_thr_mbps = 7; + // measured in Kbps + optional int32 data_stall_rx_tput_thr_kbps = 7; // Threshold of Tx packet error rate above which to trigger a data stall // in percentage -- cgit v1.2.3