diff options
author | Mingguang Xu <mingguangxu@google.com> | 2019-10-03 17:36:01 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-10-06 19:29:18 +0000 |
commit | 66bf440096b21ccc8fd888de58bffe9aba47e7f5 (patch) | |
tree | 2440d2beffa38fd59d3671e5d771fb36ffa970f5 /tests/wifitests/src/com | |
parent | c3f362215cfe2b62bb3d14c6f0bd3dce6c119e45 (diff) | |
download | android_frameworks_opt_net_wifi-66bf440096b21ccc8fd888de58bffe9aba47e7f5.tar.gz android_frameworks_opt_net_wifi-66bf440096b21ccc8fd888de58bffe9aba47e7f5.tar.bz2 android_frameworks_opt_net_wifi-66bf440096b21ccc8fd888de58bffe9aba47e7f5.zip |
Revert "Wifi usability: Change the unit of the threshold for tx/rx throughput from Mbps to Kbps"
This reverts commit ec1e58cd439ae645ff4e5bf55f7961e359bf0e4c.
Reason for revert: This change introduced a bug and it completely changed the functionality of WiFi data stall detection, e.g., high Tx link speed can easily trigger data stall. We would like to roll back them to restore the normal functionality of Wifi data stall detection.
Bug: 141995185
Change-Id: I0a2ca9d20771296774af0196f7d0a147d7874249
Merged-In: I76d6338cd2d482d198fde1e5a2d1a0540c087ca6
(cherry picked from commit 1bea2b5d4072cc068fbb120a9d7e9338adee74de)
Diffstat (limited to 'tests/wifitests/src/com')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/WifiDataStallTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiDataStallTest.java b/tests/wifitests/src/com/android/server/wifi/WifiDataStallTest.java index 6ac18361c..71b658923 100644 --- a/tests/wifitests/src/com/android/server/wifi/WifiDataStallTest.java +++ b/tests/wifitests/src/com/android/server/wifi/WifiDataStallTest.java @@ -76,10 +76,10 @@ public class WifiDataStallTest { .thenReturn(WifiDataStall.MIN_TX_SUCCESS_WITHOUT_RX_DEFAULT); when(mDeviceConfigFacade.getDataStallDurationMs()).thenReturn( DeviceConfigFacade.DEFAULT_DATA_STALL_DURATION_MS); - when(mDeviceConfigFacade.getDataStallTxTputThrKbps()).thenReturn( - DeviceConfigFacade.DEFAULT_DATA_STALL_TX_TPUT_THR_KBPS); - when(mDeviceConfigFacade.getDataStallRxTputThrKbps()).thenReturn( - DeviceConfigFacade.DEFAULT_DATA_STALL_RX_TPUT_THR_KBPS); + when(mDeviceConfigFacade.getDataStallTxTputThrMbps()).thenReturn( + DeviceConfigFacade.DEFAULT_DATA_STALL_TX_TPUT_THR_MBPS); + when(mDeviceConfigFacade.getDataStallRxTputThrMbps()).thenReturn( + DeviceConfigFacade.DEFAULT_DATA_STALL_RX_TPUT_THR_MBPS); when(mDeviceConfigFacade.getDataStallTxPerThr()).thenReturn( DeviceConfigFacade.DEFAULT_DATA_STALL_TX_PER_THR); when(mDeviceConfigFacade.getDataStallCcaLevelThr()).thenReturn( |