diff options
author | Randy Pan <zpan@google.com> | 2016-06-07 11:06:12 -0700 |
---|---|---|
committer | Randy Pan <zpan@google.com> | 2016-06-07 11:06:12 -0700 |
commit | 73b62544391a0a15d9ca2dd7feb7797751026c0f (patch) | |
tree | f974b25e572f086e62de53d8b698dd465433450e /service | |
parent | ff6f1149718d709ce4799883af4d77251c2652dc (diff) |
QNS: cut down BSSID blacklist time to 5 minutes
Today the association to an AP can be rejected because of either
the rejection from the AP or the STA host driver time-out. The
WiFi framework receives the same ASSOC_REJECT messages for both
scenarios. Cut down the blacklist time value to 5 mins for now.
When we can differentiate these two types of rejections,
the blacklist time for the real AP rejection can go back to
30 minutes.
Bug: 28899826
Change-Id: I785e13140bfdfbefbae17320c247ae1c8134fa92
Diffstat (limited to 'service')
-rw-r--r-- | service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java b/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java index 82dc9e8ae..241ddb8af 100644 --- a/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java +++ b/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java @@ -91,7 +91,7 @@ public class WifiQualifiedNetworkSelector { public static final int PASSPOINT_SECURITY_AWARD = 40; public static final int SECURITY_AWARD = 80; public static final int BSSID_BLACKLIST_THRESHOLD = 3; - public static final int BSSID_BLACKLIST_EXPIRE_TIME = 30 * 60 * 1000; + public static final int BSSID_BLACKLIST_EXPIRE_TIME = 5 * 60 * 1000; private final int mNoIntnetPenalty; //TODO: check whether we still need this one when we update the scan manager public static final int SCAN_RESULT_MAXIMUNM_AGE = 40000; |