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 <mingguangxu@google.com>

Change-Id: Ib7b398fb6975c0d03b09550db9bf68a2bb8bddfb
Merged-In: I76d6338cd2d482d198fde1e5a2d1a0540c087ca6
This commit is contained in:
Mingguang Xu
2019-09-19 00:37:47 -07:00
parent 4ac6a113ed
commit 078fe45552

View File

@@ -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