History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4fa99f57077ab287d6ed1b51cf308c44ce8bbe0b 11-Jan-2015 vandwalle <vandwalle@google.com> aggressively blacklist WifiConfiguration for the purpose of switching network

In cases where networks are not properly configured, WiFi might tries to repeatdly
switch from one network to a bad network, or might try to roam and renew DHCP which can fail.
In KK, WiFi autojoin would try other networks (by cycling to network it sees) and
end up associated to a "good" network. In L release even thought WiFi might pick
a good network it will still repeatedly try to switch to what it thinks is a better
network and fail, thus annoying the user whose connection becomes unstable.

This CL tries to remember networks that have seen multiple DHCP or auth failure in
the past and for those networks it disable roaming temporarily.
That is, if wifi is not associated to any network, it will tries to join a network
aggressively, however if wifi is currently associated to a network, it will not try
to switch to a new network if that new network has seen multiple failure in the past.

The maximum blacklist time is set to 2 days for now.
An example of such situation is:
- user has multiple SSID at home, one of which is incorrectly configured with a wrong password
- broken DHCP situation (potentially: multiple servers on home network, broken implementation incorrecting NAK'ing DHCP requests but properly serving DHCP offer...)
Bug:18792931

Change-Id: Ib09eaaea978c772f630e86696f9a49f18ad708e2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
2c9b6297f3cd74780a084634320d03a413a3b779 08-Jan-2015 Jeff Davidson <jpd@google.com> Fix incorrect tracking of ephemeral network statistics.

The lastUntrustedBSSID variable was being used as an SSID, not a
BSSID, and was not cleared after the untrusted network was
disconnected, causing stats not to increment on new connections if the
last connection was to the same SSID.

So, remove this unnecessary variable, and check the current
WifiConfiguration to determine which network we're currently using, if
any. Increment the connection count only when we are actually going to
associate with the SSID.

This only affects untrusted network flows and should have no impact
when connecting to saved Wi-Fi networks. The only non-statistical
change involves the boost given to the active network, which is
controlled by the NetworkScorer and can be updated dynamically
(outside of the framework).

Bug: 18908655
Change-Id: I5b712a4ff613d8199d0591e568886be0d2419645
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
f57f8918b8c5872ff4bb141fa9e407bec8442e8d 16-Dec-2014 vandwalle <vandwalle@google.com> add debug logs to confirm network flapping issue is fixed
Bug:18706288

Change-Id: I27a86aeb650a63511b667244b0138afbc1bc059e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
16fdf07021858fd116d96a5fb00ddb3c166d5ae6 05-Dec-2014 Jeff Davidson <jpd@google.com> Stabilize ephemeral connections in the face of new BSSIDs.

Currently we only check whether the most recently seen BSSID has a
score before deciding to disconnect an ephemeral network. This causes
unnecessary flapping - if multiple BSSIDs are in visible range, and
the scorer likes one of them but has no score for the other (or is
still looking up the score), we will drop the connection.

Instead, as long as we've recently seen a scored BSSID (in the last
minute), we keep the connection alive.

A scorer can still initiate an immediate disconnect from an unwanted
network by nulling scores for all BSSIDs.

The timeout (and whether we use this new behavior at all) is
controlled by a Settings.Global flag.

Bug: 18637384
Change-Id: I6bde3c9eef12caf2cc51c449abffc1c69f60c17f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
815788ba7838fc54310baed3deb9b95548e0ce69 11-Dec-2014 vandwalle <vandwalle@google.com> Apply 5GHz band preference only when comparing configurations on different bands

Bug:18589301

Change-Id: I0093620c859940d993c9ea60d9d6cdc86bb2fa58
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
8ccabb81ad304b80dc8eaa162fd322643461529b 10-Dec-2014 vandwalle <vandwalle@google.com> handle beacons reported with wrong RSSI value of 0
Bug:18654243

Change-Id: Ied2fbc87c7effc23fecb68e9863153d63c0cfba4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
93a1fddee50a244d31036cddae6b7db6630fd93d 07-Dec-2014 vandwalle <vandwalle@google.com> adjust network switching thresholds
Bug:18589301

Change-Id: Ifa2ae05620207798d24e5e196ff522a71fc0fd48
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
4724608dce2e37b9c0b260c2c7dcf3161f474df2 06-Dec-2014 Prem Kumar <premk@google.com> Merge changes I0d49fa29,I0acacd3f into lmp-mr1-dev

* changes:
rework scan logic so as to make use of delayed messages instead of scan alarm
reenable disabled config after a few minutes
8242cc81341c80ab5bc057ffdad99a3a1d95be5c 01-Dec-2014 vandwalle <vandwalle@google.com> rework scan logic so as to make use of delayed messages instead of scan alarm

Bug:18594119
Change-Id: I0d49fa2908d824de6adb125cf862de47f8ba5e91
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
abd1740f753ac14e9dec8fced8d3de5059122c2a 05-Dec-2014 vandwalle <vandwalle@google.com> reenable disabled config after a few minutes

This change also loose stale user selection which prevents device to re-join potentially
reenabled configs

Bug:18571727
Change-Id: I0acacd3fb1fbb64a48d0407d7b9e4e5403a93726
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
2ce99b40c36ed0352b31aa85d5f9383d5f0506f5 04-Dec-2014 vandwalle <vandwalle@google.com> - keep track of ephemeral configurations that are deleted by user
- make sure we cleaned up prior ephemeral WiFiconfiguration from wpa_supplicant.conf
Bug:18525241

Change-Id: I773cb9b28fe139d1cd5df622619b4a9cf866d6ce
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
833dcce8f6712f7594f06ea33208e3e106c15afc 23-Nov-2014 vandwalle <vandwalle@google.com> - dont loose explicitely selected bit when autojoining same network
- use scorer only for untrusted networks
Bug:18490330
Bug:18368125

Change-Id: I13f21a2247d071d2e8edc48546c14e0a9e2bc5d6
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
68fee36dac1dda5c596c00ef33fdbc0962e9ec9f 19-Nov-2014 vandwalle <vandwalle@google.com> perform regular autojoin when turning wifi on
Bug:18451553

Change-Id: I729ae360209e852e4e64bed0c584ed076b1281b4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
005c1ef113192f898499a407dd266393a8d6b076 12-Nov-2014 vandwalle <vandwalle@google.com> - better handling of deleted configurations, only keep a crc32 of deleted SSIDs
- trigger a scan when changing settings allowing use of untrusted networks
Bug:18221007
Bug:18269621

Change-Id: I7eec8913737726a1bf468a96eae562cc567ecfd3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
f93f774c884d2fcbeadaf575a3b3fa065da2e3d0 12-Nov-2014 vandwalle <vandwalle@google.com> Merge "dont blacklist wifi config that have had validated internet status in the past" into lmp-mr1-dev
d30127db46224e45554f8964209221bba8ad41d9 08-Nov-2014 vandwalle <vandwalle@google.com> dont blacklist wifi config that have had validated internet status in the past

Change-Id: I4498888ffb1d3189204a553462ff4342239ed2af
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
81c9ea6c343bc7f8d87095237e59844a974d0b70 06-Nov-2014 Jeff Davidson <jpd@google.com> Make use of scorer-specified heuristics in RssiCurve.

Treat Byte#MIN_VALUE equivalently to a null score curve. This allows a
scorer to define an RSSI threshold below which a network should not be
used. Currently, any non-null score curve will result in us connecting
to a given network regardless of RSSI.

Also, instead of applying a hard-coded dBm boost to the currently
active network, make use of the boost specified in the RSSI curve
itself, allowing the scorer to fine-tune this boost.

Bug: 15432594
Change-Id: I7a8f5f68ef074827d4b1cfbbed0841448498f179
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
c1bcb77843fecb661b5733ed5813e327313ce002 22-Oct-2014 vandwalle <vandwalle@google.com> am 1ec92c57: - detect that firmware cant stay connected to 5GHz AP and tune down 5GHz preference accordingly - use a long random string so as to obfuscate PSK of WiFiConfiguration we have deleted but keep around in the autojoin database - if autojoin doesn\'t find a kn

* commit '1ec92c57244311c7fca3ab6b244a06c2b2b58902':
- detect that firmware cant stay connected to 5GHz AP and tune down 5GHz preference accordingly - use a long random string so as to obfuscate PSK of WiFiConfiguration we have deleted but keep around in the autojoin database - if autojoin doesn't find a known network to join, and sees a known network that ConnectivityService never marked as UNWANTED due to bad signal, then add a boost of up to +8dB to this network's autojoin threshold, also includes the boost in the network's score that is sent to connectivity service
1ec92c57244311c7fca3ab6b244a06c2b2b58902 21-Oct-2014 vandwalle <vandwalle@google.com> - detect that firmware cant stay connected to 5GHz AP and tune down 5GHz preference accordingly
- use a long random string so as to obfuscate PSK of WiFiConfiguration we have deleted but keep around in the autojoin database
- if autojoin doesn't find a known network to join, and sees a known network that ConnectivityService never marked as UNWANTED due to bad signal, then add a boost of up to +8dB to this network's autojoin threshold, also includes the boost in the network's score that is sent to connectivity service

b/17960587
b/18038705
b/18030088
b/17870963

Change-Id: I6cb2c6fdff799453b3d780c43f99d070117e0dc7
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
0fd84c2577121d02f0d6436c84dcb1dd311911e5 18-Oct-2014 vandwalle <vandwalle@google.com> am dd0c5587: Taking into account user join preference more aggressively; add debug info for roaming Bug:17669859 Big:17651877

* commit 'dd0c558776fcfba3f754bb0cd6533f2c9c23ec1e':
Taking into account user join preference more aggressively; add debug info for roaming Bug:17669859 Big:17651877
dd0c558776fcfba3f754bb0cd6533f2c9c23ec1e 16-Oct-2014 vandwalle <vandwalle@google.com> Taking into account user join preference more aggressively; add debug info for roaming
Bug:17669859
Big:17651877

Change-Id: I3f763f354848d2bc3863f2887bccaf0ff9af426e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
8639f6266cb70bf92d1561af43ac2d7b2b97298e 19-Aug-2014 Jeff Davidson <jpd@google.com> Allow connections to untrusted SSIDs when requested.

When at least one NetworkRequest for an untrusted network is active,
autojoin will allow connections to untrusted connections. Upon
successful connection, we tell the framework whether Wifi is currently
connected to a trusted or untrusted network. If all requests for
untrusted networks are withdrawn, and we are currently connected to an
untrusted network, that connection is dropped.

Bug: 15892711
Change-Id: I3f8625996013ee850927fc2290a24c591e3db691
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
a0708b09ad17b086c008ab100aec7143d7613c80 07-Oct-2014 vandwalle <vandwalle@google.com> various fixes:
- adding debug information to bug report for Bug:16751877
- reenable networks when entering DisconnectedState
- dont force MSG_INFO log level at supplicant
Bug:16751877
Bug:17811889
Bug:17881399

Change-Id: I89b4f5c05a1f64f9d1e8c407f62036efa0265043
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
e0aa0a004d161173992a0e9af1b431fae91f4a71 19-Sep-2014 vandwalle <vandwalle@google.com> - better sanity check on psk for linking config
- black list BSSID in case of repeated DHCP failures
- black list network with noInternet connectivity from autojoin
- clean up Disconnecting state transition
Bug:17512891
Bug:17395269
Bug:16480230
Bug:17518367
Bug:17545859

Change-Id: I1683a66fd58424ad2177c6508b101fd49392e22a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
7b581f46f6c9bc6edf0edd287d47106712fb2144 17-Sep-2014 vandwalle <vandwalle@google.com> various fixes:

- additional debug logs
- allow a scan result to be associated to mulitple wifi configurations
- additional logs to track 17516271
Bug:17510471

Change-Id: I39975f17494c541989f7f0e0fd8fcf890934ee15
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
99d385e3b4d34841d6efcfd7cc9bf1d5ae25de14 16-Sep-2014 vandwalle <vandwalle@google.com> set proper link quality thresholds

Bug:17514073

Change-Id: Icf4dbd81e8547bb837c8346c9af5cfc98d7b00ab
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
0eebae7334d6129f7ca1344e4b20199794994358 12-Sep-2014 vandwalle <vandwalle@google.com> various fixes:

- add null pointer check to wifi watchdog state machine
- correctly parse the REQUEST IDENTIY event sent by wpa_supplicant
- make autojoining wificonfiguration more aggressive based on user input
Bug:17469863
Bug:17426395
Bug:17475816

Change-Id: I1785c917c0e570de0edaa02bd0ca6536be9d7c0b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
448c9536a302c58a79e271b1721c08b8882f800e 11-Sep-2014 vandwalle <vandwalle@google.com> dont accept CONNECTION_EVENT until roaming is complete

Change-Id: Iedde560abc9d2f4c3a3b9b9bfc5caaaa5584472e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
2f2cf21662275a0e93d7d7a6ad3d98b4c596dcf0 10-Sep-2014 vandwalle <vandwalle@google.com> make autojoin configurable, clean up BSSID info that may be stake in WifiConfiguration

- allow scans in verifying poor link
Bug:17420929

Change-Id: I310ad60a443d648666ebac49b3eeb56c7e9a0ecc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
b664cfeab6f02e24376ea0a15beb83d142f0b14d 09-Sep-2014 vandwalle <vandwalle@google.com> various fixes:

- persist Wificonfiguration.ephemeral
- dont trigger attemptRoam on previous configuration
- treat ADD_OR_UPDATE_NETWORK with highest priority as a user network selection
- add associated scan period in framework/base/core/res/res/

Bug:17202406

Change-Id: Ibd92af49c6b79c6799d90d4b72b72547a4c936ca
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
9f3349fa2cd39d690d1e2b7c3b71ced412e24f2c 05-Sep-2014 vandwalle <vandwalle@google.com> various fixes:

- cleanup setWifiEnable transitions
- dont scan right when entering connected and Disconnected state, instead startScan() adds a 200ms delay before starting the scans, so as to let the state machiine time to process deferred message
- dont forget to send the NetworkStateChanged Broadcast when we set the network detailed state
- autojoin dont attempt to join WifiConfigurations marked as noInternetAccess, unless explicitely selected by the user
- keep stats of user triggered wifi state disabling requests
- fix bad roaming situation when BSSID is specified in network block

Bug:17193677

Change-Id: Ia103a93232f40519c7b4eef07254f32342ea5615
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
be3095ed758fca076b9ccb9fdae48f7f865c078a 01-Sep-2014 vandwalle <vandwalle@google.com> AutoJoin fixes:

- Additional logs
- re-enable all network upon screen on and connection, even for blackliste networks due to auth failure
- watchdog the DisconnectingState
- remove mFrameworkAutoJoin which is not used anymore
- dont remove WPA_PSK configurations, instead mark them as AUTO_JOIN_DELETED and loose their history and keys

Bug:17261906
Bug:17330171
Bug:17339150
Bug:17063789

Change-Id: I12ea25142d0dcfc670d8970ed67624e8573d1ac2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
e67ec726c07410073575473c0f50dc737629f5da 26-Aug-2014 vandwalle <vandwalle@google.com> autojoin fixes:

- Bug:17291273
- add persistent Wifi verbose logging option (/data/misc/wifi/autojoinconfig.txt)
- add config option for the associated scans period and backoff (/data/misc/wifi/autojoinconfig.txt)
- dont lock BSSID when roaming to 2.4GHz config
- issue single reassociate on roam
- make extended roaming 5GHz preference consistent with roaming 5GHz preference

Change-Id: I1525349e220cebb1b300753a707eb00fcc9d7d7b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
56d0178183460eed9afbd85e5c0d215e27d5f5bc 21-Aug-2014 vandwalle <vandwalle@google.com> fix spurious disconnect while associating, dont set AP configuration with NULL SSID

Bug:14568953
Bug:17144830

Note: this CL address cases where framework sends spurious disconnect to driver while associating, this issue was only one of the root cause of 17144830, the remaining issues in this bug are "missing scan results" and "wifi chipset disconnects from AP due to missing beacons or receiving deauth from AP"

Change-Id: If888f11bb3c66b55ca8ff991651f9e4457aaea31
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
0d616ef3bf635dff8722e064c0be842676390ed8 20-Aug-2014 vandwalle <vandwalle@google.com> add roam state watchdog.

Bug: 16823537

This CL is dependent on Id9411c8097337b37ac1ce1a6ac8b28b4bda31ff3

Change-Id: Iff32fae2cd67343e63046d58d75fa1e10d9775d0
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
e6574ec7b6b2e7a678da7f77bdaaf31463852b2f 19-Aug-2014 vandwalle <vandwalle@google.com> debug messages for link loss issues

Change-Id: Icbea4bac528eac8f25b8d1f9f1fa79d1ecadb7da
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
8c0a54e9b0d3713cab52d06ad8fd7f3a1b6f73a8 14-Aug-2014 vandwalle <vandwalle@google.com> provide autojoin config threshold, fix bug16990104

Change-Id: Iac9ec4fe0a721df5f08b90d631025df4d944d088
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
97b9c4fef6e372d1f19b333c7a67ff27ef80baf0 08-Aug-2014 vandwalle <vandwalle@google.com> handle supplicant disconnected state change in roaming state + make roaming less erratic

bug: 16753407
bug: 16823537

Change-Id: I47f1073b3775880d261ec2a963732c35454173cf
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
7806f8c800754da0f76d7a0c1a6a590381dac7a8 05-Aug-2014 vandwalle <vandwalle@google.com> add debouncing of the Layer 2 spurious disconnects

Change-Id: I45291d0369977c7a3bdbf65ef10632c203d359b4

Changes to be committed:
modified: service/java/com/android/server/wifi/WifiAutoJoinController.java
modified: service/java/com/android/server/wifi/WifiStateMachine.java
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
1db63db890fcb9051f402fdfd449eb0b80e2053c 30-Jul-2014 vandwalle <vandwalle@google.com> fix getNetworkScore

Change-Id: I60bc5c458938f662b2550e48839cb455764dc037
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
e8c89583e489d451880471b7cc7659bd9fa802f4 29-Jul-2014 vandwalle <vandwalle@google.com> add verboser logs for network scorer

Change-Id: I8e461615f1ae85cd0712a627561cee329a5fb4e5
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
c290d8dff6172d5fde7b9dfd74d3a20785dab246 29-Jul-2014 vandwalle <vandwalle@google.com> fix handling DHCP status

Change-Id: Ib4dfc9a1f84d6faaaf71adf63c8e2457e95646fd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
ede507649471f1113e9e1919812115ca5a6bc0c8 29-Jul-2014 vandwalle <vandwalle@google.com> add logs and fix compareWifiConfigurationsWithScorer

Change-Id: I7eeb489b89519bd79d7e3df0fe3ae400debfe566
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
c298087de50ea56c31a4ade7ee1e83b313bb63c7 26-Jul-2014 vandwalle <vandwalle@google.com> introduce WifiConnectionstatistics

This CL is dependent on I51fbbf062feb22c5f16b438675519064cc43e160

Change-Id: I10584a447fecd977df3eefd8e2cc028bd26ec0e3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
2451dbcc4f9641df188326215b204b798eb70c46 23-Jul-2014 vandwalle <vandwalle@google.com> autojoin fixes:

- make use of network scorer for autojoin
- Bug:16484607

Change-Id: If658d82bb6e3f61ed0476d41b40bb274a1931b2f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
931338d1533d1bd11ba0e5aebb4e4b7b2c8ab056 18-Jul-2014 vandwalle <vandwalle@google.com> a few additional logs and code standard rules

Change-Id: I932e895fefd7b6c9d8ad58ef99312c980643f2d2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
94edde8d382517403591bad66040cea8b00d465e 12-Jul-2014 vandwalle <vandwalle@google.com> Merge "fix null pointer dereference in log message Bug:16211167"
3a2a3d226881cce8a4e511302231d843b0def303 12-Jul-2014 vandwalle <vandwalle@google.com> fix null pointer dereference in log message
Bug:16211167

Change-Id: I1d9092b73cc7015535e0f1503364f6c592fb08c1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
40ff222cec1bd05879edb53abc75c6deead734ca 01-Jul-2014 vandwalle <vandwalle@google.com> handle IDENTITY message and bssid blacklist

Bug:15990551
Bug:15977507

Change-Id: I78b03915781bd6d5f9f5881c80324a2788b9e837
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
b57df70bdf17ba45ef4d18b11414cb24dcbe1fb9 28-Jun-2014 vandwalle <vandwalle@google.com> clean up the connect/disconnect procedure

Change-Id: Iba87591e790106b882d465dbba3ddac120f044d9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
b07da189850a4bfa268f8ab9be7867935eb2ecb5 24-Jun-2014 vandwalle <vandwalle@google.com> improve link flapping

Change-Id: Ie378dde318dccaa566f660c9497bae31d4a9f1ab
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
c6f06c628ee3583b60ff31a7da442e0ac7b26d97 19-Jun-2014 vandwalle <vandwalle@google.com> autojoin tuning, making LTE handover less aggressive

Bug: 15700122

Change-Id: I2836abf791f8c71c63a901170f247c4030e8e8f9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
b97e66604f472f67c233bb8f8d9630bb36131e2c 13-Jun-2014 vandwalle <vandwalle@google.com> auto-roam fixes, disable scanning based on traffic at interface

Bug: 15575229
Bug: 15577651

Change-Id: I1157c7c9b83c1cafd67d4d4f1d4e1e6fc8d95323
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
4dc6f3a322806b25d50039614cde1b94fe91ab17 11-Jun-2014 vandwalle <vandwalle@google.com> auto-roam initial implementation

Bug:15553951

Change-Id: I04ebca4a4f5a9b408893ce1e9874f08aeff50ba2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
27355a942653264388e909a4276196ee63e57811 03-Jun-2014 vandwalle <vandwalle@google.com> remember and report network score

Change-Id: Ie54afe724a3618ec3fd557850dbbbb8bbae49ecc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
cf5b8eb8a08c45bd4a82f1f4bb789c8a1b08744f 04-Jun-2014 vandwalle <vandwalle@google.com> resolved conflicts for merge of dfcb187e to master

Change-Id: I740b98b89fb25599a353abbfe919c6e5a0f1c098
dfcb187e5608e125fe161d70226c300bd7b781ad 24-May-2014 vandwalle <vandwalle@google.com> logs improvements, fix reading back networkHistory file

Change-Id: Iec4b11a3e0d8820b558abea6cc068a905199896d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
a6b7a402041bd4bc0749331b92c3c1e5225927a0 31-May-2014 vandwalle <vandwalle@google.com> Merge "add debug info to wifi configure, check auth method for real before self-adding"
992ae00f25a9cc22cf5db3261bd7e72927069cf7 30-May-2014 vandwalle <vandwalle@google.com> add debug info to wifi configure, check auth method for real before self-adding

Bug:15111865

Change-Id: I095fff870c7871e3cb7ae4b8e99034519eb26fa1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
21bc54cb37a0085b1c909cb4d55ebb12a2facefb 29-May-2014 vandwalle <vandwalle@google.com> dont send SSIDs to herrevad if it cannot process them

Bug:15306345

Change-Id: I149870631b875e10ad899e81aaaf65e5f0a1eb7a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
684e5c60b103d5d8e4f5513cc54ec3965ead6e8f 29-May-2014 Pierre Vandwalle <vandwalle@google.com> Merge "Fix system fatal exception due to Invalid WiFi SSID"
1fcf3c6d2b9ed65573e1e7c55fc5a30ebd364c4f 28-May-2014 Yuhao Zheng <yuhaozheng@google.com> Fix system fatal exception due to Invalid WiFi SSID

Change-Id: I88c3573fa06d95b78897aca8be1a9763dd0b4246
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
abde872adced15dfb6781fb71959453d963326db 28-May-2014 Yuhao Zheng <yuhaozheng@google.com> WifiAutoJoinController verbose log fix

Change-Id: I8113292a43bb7092747434825301109ef52a1c7b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
704a34a19d873cc806ecca44226f811e58cb870d 28-May-2014 Dave Langemak <dlangemak@google.com> Merge "DO NOT MERGE: revert change preventing NULL SSID in a WifiConfiguration" into lmp-preview-dev
89dca79510af1fbe58c831e78edeccdb7db6e4cc 22-May-2014 vandwalle <vandwalle@google.com> DO NOT MERGE: revert change preventing NULL SSID in a WifiConfiguration

Change-Id: I131c429f4897c359004d6eae09f93550b8eaf0b1
(cherry picked from commit e86c962bb99a8b126ed64ddcc6b112161549e26d)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
627b3e071eb4b495cf91067f12eb47371fcdfe5b 22-May-2014 vandwalle <vandwalle@google.com> DO NOT MERGE :dont try autojoining networks that are too far

Change-Id: I96a0b7283819bbbd312b0838d0a18a9622d15940
(cherry picked from commit 8c9088d11880553458f09377cc60d6eb7e66747b)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
0888ce6f90bdaeee799dd8361ea4781e23a33b87 24-May-2014 vandwalle <vandwalle@google.com> logs improvements, fix reading back networkHistory file

Change-Id: Iec4b11a3e0d8820b558abea6cc068a905199896d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
ff25461e44187208f06432126ac6e7bd1d3862ea 22-May-2014 vandwalle <vandwalle@google.com> Merge "revert change preventing NULL SSID in a WifiConfiguration"
e86c962bb99a8b126ed64ddcc6b112161549e26d 22-May-2014 vandwalle <vandwalle@google.com> revert change preventing NULL SSID in a WifiConfiguration

Change-Id: I131c429f4897c359004d6eae09f93550b8eaf0b1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
8c9088d11880553458f09377cc60d6eb7e66747b 22-May-2014 vandwalle <vandwalle@google.com> dont try autojoining networks that are too far

Change-Id: I96a0b7283819bbbd312b0838d0a18a9622d15940
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
ed9938883ae2dade81c8be6cd6ceaef3febd5239 22-May-2014 vandwalle <vandwalle@google.com> make verbose logging a wifimanager hidden API

bug: 151386707

Change-Id: Ide885ce96621fe4bab6abf10291bc8441eecad4a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
453aee50caf7e332e77ab3d995d7c87a958e4fd4 21-May-2014 vandwalle <vandwalle@google.com> various autojoin fixes

Bug:15111865
Bug:15080778
Bug:14994925

Change-Id: I753ff62b48a87db4096fdec18b4de070656cf901
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
117be607246604e875de62aa8cdd99700b77a2b4 20-May-2014 vandwalle <vandwalle@google.com> fix enableNetwork() logic:

should not mark forgotten network as selected

Change-Id: I0ebbc3082228feb482611e0a7b40ee8c18340dee
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
0c8b99a3b78e458a5617cc449e2efe69c5bdd531 16-May-2014 vandwalle <vandwalle@google.com> fix for autojoin controller not requesting steen scores

Change-Id: I2546241c8b1eefe963f840c4a98a3f817694039c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
ede1310be531a84faa08f02c3fd243448dd936dd 16-May-2014 vandwalle <vandwalle@google.com> restore correct tracking of auth failure; bring up assoc reject info to supplicant

Change-Id: I7eeb110f1f14149f560630848f26f7cc9f5cbb67
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
ecd2b88214b5d214fd1f63a9560caff9058912dd 16-May-2014 vandwalle <vandwalle@google.com> fix for devices using enableNetwork API

Change-Id: Idf886dd01892d3f7ca463a44fd76030ddadcd238
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
2278134a58edb57b7c9ecad6753034605e389501 15-May-2014 vandwalle <vandwalle@google.com> Merge "autojoin is to eager to black list networks due to connection failure"
647207cce53bad5ef911e16278d5a2c910cdab92 15-May-2014 Jeff Davidson <jpd@google.com> Fix package names to match directory structure.

Change-Id: Ia208a4c23fa972b4abf4d9ab17555dec71cbc075
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
62f1d0ca8ea4466628f6ff179b1f20e1279fa7e0 13-May-2014 vandwalle <vandwalle@google.com> autojoin is to eager to black list networks due to connection failure

Bug: 14834820

Change-Id: I81c05b657b3d218bb4d5f5bf82dd6a8ad3859bd1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
f13817203179f41620514718c8668ae7e418f8af 10-May-2014 Jeff Davidson <jpd@google.com> Add a basic dump() function to WifiNetworkScoreCache.

Will get the current cached set of scan results and dump the current
score for each one depending on the RSSI.

Change-Id: Ic524906aef2bdfe2fa9f9a9e5364c80d028ddfdb
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
1e0d2b64c03a05da87d59a5f0774e549e82080cc 08-May-2014 vandwalle <vandwalle@google.com> work around supplicant bug

There is a case where supplicant is in an inconsistent internal state:
- it will silently ignore a select/reconnect command sequence to a given network because some state thinks it is already associated to the selected network
- however wlan driver is not, in fact, associated, and the supplicant's own STATUS command will indeed return a non-associated status

This situation doesn't resolve itself until supplicant is asked to join a different network, or issue a disconnect. In the AUTO_CONNECT sequence, it is safe to issue a disconnect because autojoin already has verified that the supplicant's status was not associated or associated to a different network.

In addition, in this change list, autojoin controller should not duplicate the WifiConfiguration from WiFiConfig store if it only wants to modify then before saving back.

Change-Id: If42fb05752fce288fb993fd7b70ef94cdb1f3d25
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java
f22d23092ab37286a5ef9d257d5bb32c421d2669 06-May-2014 vandwalle <vandwalle@google.com> autojoin initial implementation

Change-Id: Iea4e5c0b8e988e410d2f9885ecaf6317d34cc1d1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiAutoJoinController.java