OSDN Git Service

Wifi usability: Change the unit of the threshold for tx/rx throughput from Mbps to...
authorMingguang Xu <mingguangxu@google.com>
Thu, 19 Sep 2019 07:37:47 +0000 (00:37 -0700)
committerMingguang Xu <mingguangxu@google.com>
Thu, 19 Sep 2019 07:42:34 +0000 (07:42 +0000)
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

proto/src/wifi.proto

index 353a187..fbf6ca5 100644 (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