summaryrefslogtreecommitdiffstats
path: root/wifi/java/android/net/wifi/IWifiManager.aidl
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2012-01-27 21:00:19 -0800
committerIrfan Sheriff <isheriff@google.com>2012-02-29 17:33:36 -0800
commit07573b32494acbabd21979d8b9584c1ed3f7a6ad (patch)
treead3a4a15c889b4b175717cd38a28a92601ed82ae /wifi/java/android/net/wifi/IWifiManager.aidl
parent6b48f088b1e0bed242118422c88fea8d714307e0 (diff)
downloadframeworks_base-07573b32494acbabd21979d8b9584c1ed3f7a6ad.zip
frameworks_base-07573b32494acbabd21979d8b9584c1ed3f7a6ad.tar.gz
frameworks_base-07573b32494acbabd21979d8b9584c1ed3f7a6ad.tar.bz2
Improve Wi-Fi hand-off
When Wi-fi connects at L2 layer, the beacons reach and the device can maintain a connection to the access point, but the application connectivity can be flaky (due to bigger packet size exchange). We now use Watchdog to monitor the quality of the last hop on Wi-Fi using signal strength and ARP connectivity as indicators to decide if the link is good enough to switch to Wi-Fi as the uplink. ARP pings are useful for link validation but can still get through when the application traffic fails to go through and thus not best indicator real packet loss since they are tiny packets (28 bytes) and have much low chance of packet corruption than the regular data packets. Signal strength and ARP used together ends up working well in tests. The goal is to switch to Wi-Fi after validating ARP transfer and RSSI and then switching out of Wi-Fi when we hit a low signal strength threshold and waiting until the signal strength improves and validating ARP transfer. Change-Id: Ica593291ec7772da892f03cf45b649635b730c47
Diffstat (limited to 'wifi/java/android/net/wifi/IWifiManager.aidl')
-rw-r--r--wifi/java/android/net/wifi/IWifiManager.aidl4
1 files changed, 3 insertions, 1 deletions
diff --git a/wifi/java/android/net/wifi/IWifiManager.aidl b/wifi/java/android/net/wifi/IWifiManager.aidl
index 61dfebf..6b08074 100644
--- a/wifi/java/android/net/wifi/IWifiManager.aidl
+++ b/wifi/java/android/net/wifi/IWifiManager.aidl
@@ -101,7 +101,9 @@ interface IWifiManager
void clearBlacklist();
- Messenger getMessenger();
+ Messenger getWifiServiceMessenger();
+
+ Messenger getWifiStateMachineMessenger();
String getConfigFile();
}