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