diff options
author | Nalla Kartheek <karthe@codeaurora.org> | 2016-03-18 17:37:21 +0530 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-06-24 11:28:49 -1000 |
commit | a0ac5e1e9ba6ea6b907a44b899ca984adef25f25 (patch) | |
tree | 01c64b62b8e9a883dd7327d38ff22406d6129e37 | |
parent | 012e76c63e875a1f20cf1fa728808f01169bfc30 (diff) | |
download | android_frameworks_opt_net_wifi-a0ac5e1e9ba6ea6b907a44b899ca984adef25f25.tar.gz android_frameworks_opt_net_wifi-a0ac5e1e9ba6ea6b907a44b899ca984adef25f25.tar.bz2 android_frameworks_opt_net_wifi-a0ac5e1e9ba6ea6b907a44b899ca984adef25f25.zip |
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
Change-Id: I3aa9b7ceae917650351e041e97e699ecdfd3bb77
CRs-Fixed: 989472
-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 343766a0b..360bd9700 100644 --- a/service/java/com/android/server/wifi/WifiStateMachine.java +++ b/service/java/com/android/server/wifi/WifiStateMachine.java @@ -374,7 +374,7 @@ public class WifiStateMachine extends StateMachine implements WifiNative.WifiPno * 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 @@ -9441,7 +9441,7 @@ public class WifiStateMachine extends StateMachine implements WifiNative.WifiPno WifiConfiguration.BAD_RSSI_5))) { // 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 |