diff options
author | Mingguang Xu <mingguangxu@google.com> | 2019-09-13 17:21:13 -0700 |
---|---|---|
committer | Mingguang Xu <mingguangxu@google.com> | 2019-09-18 01:58:33 -0700 |
commit | de3725b8fada31250baff84f3dcb6185055ba503 (patch) | |
tree | e73abdeb3c29bc23cad97d9c93345c074342b0c9 /proto/src | |
parent | e36d59ea710849861fbb8623bea52a06158cf37b (diff) |
Wifi usability: Data stall detection based on link layer stats
This is an effort to define new criterion for triggering Wifi data stall:
(1) Defined data stall criterion based on transmit and/or receive throughput, transmit packet error rate, and CCA level. Data stall is triggered when transmit and/or receive links are consecutively bad over multiple RSSI polls.
(2) Added DeviceConfig flags (that is disabled by default) which may be configured on the server side to tune the thresholds at which data stall gets triggered.
Bug: 141027476
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I895fd54cc7ec32815bce1899354ca265d4e93ea9
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Merged-In: I76d6338cd2d482d198fde1e5a2d1a0540c087ca6
Diffstat (limited to 'proto/src')
-rw-r--r-- | proto/src/wifi.proto | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/proto/src/wifi.proto b/proto/src/wifi.proto index 8ad24894a1b9..353a18756ca2 100644 --- a/proto/src/wifi.proto +++ b/proto/src/wifi.proto @@ -1792,6 +1792,25 @@ message ExperimentValues { // Indicates if we are logging LinkSpeedCount in metrics optional bool link_speed_counts_logging_enabled = 4; + + // Duration for evaluating Wifi condition to trigger a data stall + // measured in milliseconds + 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; + + // Threshold of Rx throughput below which to trigger a data stall + // measured in Mbps + optional int32 data_stall_rx_tput_thr_mbps = 7; + + // Threshold of Tx packet error rate above which to trigger a data stall + // in percentage + optional int32 data_stall_tx_per_thr = 8; + + // Threshold of CCA level above which to trigger a data stall in percentage + optional int32 data_stall_cca_level_thr = 9; } message WifiIsUnusableEvent { |