Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 078fe455 authored by Mingguang Xu's avatar Mingguang Xu
Browse files

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: default avatarMingguang Xu <mingguangxu@google.com>

Change-Id: Ib7b398fb6975c0d03b09550db9bf68a2bb8bddfb
Merged-In: I76d6338cd2d482d198fde1e5a2d1a0540c087ca6
parent 4ac6a113
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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