diff options
author | Sunil Dutt <usdutt@codeaurora.org> | 2016-03-15 19:46:30 +0530 |
---|---|---|
committer | Paul Stewart <pstew@google.com> | 2016-03-16 20:43:58 -0700 |
commit | 83903ec3df7c51307fd662d7f28544c2051dc471 (patch) | |
tree | 935c156ed4350b5dcabecd6e73b2d2a83cb5f5fc | |
parent | 917ecd60fb7e65ca97604ccad9f4427f28bb3cd6 (diff) |
Reduce the link de-bounce time to 4 from earlier 7 seconds
The Link de-bounce time of 7 seconds affects the station's
handover time to a better AP,thus tearing down the VoWiFi call
(due to RTP timeout). Reduce this time to 4 seconds.
BUG=27527764
Change-Id: Icc68496c4364fb34139fb6e90a87377c56634383
-rw-r--r-- | service/java/com/android/server/wifi/WifiStateMachine.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/java/com/android/server/wifi/WifiStateMachine.java b/service/java/com/android/server/wifi/WifiStateMachine.java index b5ae852a7..6a8350c41 100644 --- a/service/java/com/android/server/wifi/WifiStateMachine.java +++ b/service/java/com/android/server/wifi/WifiStateMachine.java @@ -369,7 +369,7 @@ public class WifiStateMachine extends StateMachine implements WifiNative.PnoEven * Interval in milliseconds between receiving a disconnect event * while connected to a good AP, and handling the disconnect proper */ - private static final int LINK_FLAPPING_DEBOUNCE_MSEC = 7000; + private static final int LINK_FLAPPING_DEBOUNCE_MSEC = 4000; /** * Delay between supplicant restarts upon failure to establish connection @@ -8116,7 +8116,7 @@ public class WifiStateMachine extends StateMachine implements WifiNative.PnoEven mWifiConfigManager.thresholdQualifiedRssi5.get()))) { // Start de-bouncing the L2 disconnection: // this L2 disconnection might be spurious. - // Hence we allow 7 seconds for the state machine to try + // Hence we allow 4 seconds for the state machine to try // to reconnect, go thru the // roaming cycle and enter Obtaining IP address // before signalling the disconnect to ConnectivityService and L3 |