summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2011-08-09 19:28:26 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-08-09 19:28:26 -0700
commitf70430d6dcd4f85db7b173776857d3a4895df863 (patch)
treec0ef4925cd4a7514cc32496756687e9fd0b6f116 /wifi
parent3aa7bf7330eaf231d00f7dfdcb504215822148be (diff)
parent26a8d71413f107603ad68f4fa80cf2bf3da9dab1 (diff)
downloadframeworks_base-f70430d6dcd4f85db7b173776857d3a4895df863.zip
frameworks_base-f70430d6dcd4f85db7b173776857d3a4895df863.tar.gz
frameworks_base-f70430d6dcd4f85db7b173776857d3a4895df863.tar.bz2
Merge "DnsPinger -- log setup problems"
Diffstat (limited to 'wifi')
-rw-r--r--wifi/java/android/net/wifi/WifiWatchdogStateMachine.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/wifi/java/android/net/wifi/WifiWatchdogStateMachine.java b/wifi/java/android/net/wifi/WifiWatchdogStateMachine.java
index 5c8926c..4dd856f 100644
--- a/wifi/java/android/net/wifi/WifiWatchdogStateMachine.java
+++ b/wifi/java/android/net/wifi/WifiWatchdogStateMachine.java
@@ -83,7 +83,7 @@ public class WifiWatchdogStateMachine extends StateMachine {
private static final long DEFAULT_WALLED_GARDEN_INTERVAL_MS = 30 * 60 * 1000;
private static final int DEFAULT_MAX_SSID_BLACKLISTS = 7;
- private static final int DEFAULT_NUM_DNS_PINGS = 5;
+ private static final int DEFAULT_NUM_DNS_PINGS = 15; // Multiple pings to detect setup issues
private static final int DEFAULT_MIN_DNS_RESPONSES = 3;
private static final int DEFAULT_DNS_PING_TIMEOUT_MS = 2000;
@@ -94,7 +94,7 @@ public class WifiWatchdogStateMachine extends StateMachine {
private static final String DEFAULT_WALLED_GARDEN_URL =
"http://clients3.google.com/generate_204";
private static final int WALLED_GARDEN_SOCKET_TIMEOUT_MS = 10000;
- private static final int DNS_INTRATEST_PING_INTERVAL = 20;
+ private static final int DNS_INTRATEST_PING_INTERVAL = 200; // Long delay to detect setup issues
private static final int BASE = Protocol.BASE_WIFI_WATCHDOG;