History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.java
537324a497615d07b67ba4582e9aaababd77afd6 09-Jan-2015 Vinit Deshpande <vinitd@google.com> Fix an NPE in WifiConfigStore

Disabling an invalid configuration causes Wifi service
to crash. This change gaurds against bad API call.

Bug: 18904771
Change-Id: I8d853b754cbd4163c17f3d53bf81dc7625c95466
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.java
acb5ebbeedbd9a206e2ed82de3a365ceedb27d0c 10-Dec-2014 vandwalle <vandwalle@google.com> fix logspam
Bug:18589606

Change-Id: Ieee0b91ab96ec9392a9b91ac1017a319605425dc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
63105d275289943504a292de18e6516e79b15148 10-Dec-2014 vandwalle <vandwalle@google.com> make sure wificonfiguration scan cache doesnt grow unbounded
Bug:18703749

Change-Id: If6452e7dbaaabb164cf2a99b48b3964f4cb86ee5
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.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
a63fbdbba96e242280267466b170e311e1f71dc3 06-Dec-2014 Jeff Davidson <jpd@google.com> Merge "- keep track of ephemeral configurations that are deleted by user - make sure we cleaned up prior ephemeral WiFiconfiguration from wpa_supplicant.conf Bug:18525241" into lmp-mr1-dev
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/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.java
e3939cb40d9ba3842be105a6e85172dc06e14758 02-Dec-2014 Vinit Deshpande <vinitd@google.com> Read all networks despite message limit of 4096 bytes

This change uses list_network last_id=x form of list_networks to
retrieve all networks saved in the system.

Bug: 18566264
Change-Id: Ie439acd98d39ca32417418944035dcce3068d44b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
ebfa1b39d313e987d4bb88440ebfd043965c7dba 14-Nov-2014 Jeff Davidson <jpd@google.com> Don't enable ephemeral networks when bringing up Wi-Fi.

Connections to these networks should only be managed by auto-join. If
we enable these configs then it is possible that the supplicant brings
up an unwanted ephemeral connection that auto-join will immediately
discard, which is wasteful.

Bug: 18389875
Change-Id: I0d3a9a35542eda71401920c0b600dcd2b1e134ba
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.java
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/WifiConfigStore.java
3aed1e5a7a7f2ec730c393e2c7d129e3e551a711 05-Nov-2014 Jeff Davidson <jpd@google.com> Support conversion of untrusted networks to trusted.

When the user requests to connect to a network which already has an
untrusted config, we update the existing config and clear the
ephemeral bit rather than creating a new config. We also maintain the
current connection if that ephemeral config matches the currently
connected configuration, and merely tell the system that the network
is now trusted.

The above also applies for AUTO_JOIN_DELETED networks, which are
similarly filtered out from the list of WifiConfigurations.

Bug: 18206275
Change-Id: I1dff7e3c073888c619e6a5c3a40295a44b12e403
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
42f181ed4277890489be016939209952959d5416 31-Oct-2014 Jeff Davidson <jpd@google.com> Propagate WifiConfiguration ephemeral bit to ScanResult.

Bug: 18206244
Change-Id: I82e8a359db32a84145716b43d8438767959a00b3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
f9715cc118c446695b2a82211881c7d6c5e59761 23-Oct-2014 vandwalle <vandwalle@google.com> various fixes:
- Carry over the IP config when self adding a configuration
- fix null pointer exception in wificonfigstore, trying to read the IPConfig file
Bug:18058314
Bug:18057271

Change-Id: Ia1922f0cf44aa6eaf67928ac392a6ec92431f279
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
b407b98190bc4a80b58285bbcd4751bf2a94c9b9 25-Oct-2014 Vinit Deshpande <vinitd@google.com> am 88daa7e9: Mark configuration as disabled, if it is disabled by WifiManager

* commit '88daa7e9d975b8b6674157dd6e81d358c7d16393':
Mark configuration as disabled, if it is disabled by WifiManager
88daa7e9d975b8b6674157dd6e81d358c7d16393 24-Oct-2014 Vinit Deshpande <vinitd@google.com> Mark configuration as disabled, if it is disabled by WifiManager

Bug: 17937171

Change-Id: Ic61439868f28899cc1c641c29ebcc8b7bfab35eb
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.java
0e89e0535f4f7b2a48384fc0b7ae779acd0376c7 16-Oct-2014 vandwalle <vandwalle@google.com> am 6db73827: Merge "fix bssid blacklisting Bug:17960587 Bug:17966377" into lmp-dev

* commit '6db73827acdedb707dd3e0f2fa2add833380a3b6':
fix bssid blacklisting Bug:17960587 Bug:17966377
078a7527951b1e8fb7722ab930760730cf54e572 15-Oct-2014 vandwalle <vandwalle@google.com> fix bssid blacklisting
Bug:17960587
Bug:17966377

Change-Id: I6ead5386f961e8bd0705ceea190752dd20f7e38a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.java
a5283c01ac413e378e2261050cac3a6d6e9cf385 11-Oct-2014 vandwalle <vandwalle@google.com> reenable networks completely, 5 mins after DHCP failure blacklist; revert aggressive wifi to cellular handover when handing over due to link speed
Bug:17949093
Bug:17947372
Bug:17897698

Change-Id: I1d398238022fd380952cb8dc28f47cc38d0b7b06

Conflicts:
service/java/com/android/server/wifi/WifiStateMachine.java
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.java
e0ba94ba9abde13173ae0de8c8939aa4eb9a9085 01-Oct-2014 vandwalle <vandwalle@google.com> - slightly better network log
- add debug option to enable/disable associated full band scans
- networkHistory.txt and wpa_supplicant.conf file get out of sync regarding config.status variable
Bug:17648443

Change-Id: Ie1c6dac9f94b7d71599734e2263b9456cf6278ee
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
70468b47454c8657e8963932f2e08a3f4d7e3881 25-Sep-2014 vandwalle <vandwalle@google.com> - make rssi poll and wifi scan when associated configurable
- fix regression when forgeting network
- fix NPE in calculateWifiScore
Bug:17564108

Change-Id: I47329b1fb0f23c72886bdd3de99b4f9242d59eec
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.java
9e806a8d9f297e4de826e65322859a89e4d95c8b 15-Sep-2014 vandwalle <vandwalle@google.com> improve debugging messages & logging

Change-Id: I7c668c24357663fff418c62d21c1fc6cb571590a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
17e828848eebb4eb11d27ce32d02716334dd6011 13-Sep-2014 vandwalle <vandwalle@google.com> make wifi cellular handover params configurable

Change-Id: Icc1f722d3e0293ec58027770b941fc98dc24ce44
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.java
b6defc9d7836cb440c0cdb0d1e1031a5fc83a4da 10-Sep-2014 vandwalle <vandwalle@google.com> Merge "various fixes:" into lmp-dev
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/WifiConfigStore.java
826cc083fdbef5680ff2052b02789326b44bb322 09-Sep-2014 Vinit Deshpande <vinitd@google.com> Merge "Fix leaking of WPA2 passcode for newly added networks" into lmp-dev
c9b047b4cb480edbb490516746cfcbb4a4eedeea 08-Sep-2014 vandwalle <vandwalle@google.com> dont debounce on locally generated disconnect

Change-Id: Id75a866959fc99828f6143230a9ade3e6a2b81b9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.java
e61237672316b46d7bec960a199bfbd5bfcca257 06-Sep-2014 Vinit Deshpande <vinitd@google.com> Fix leaking of WPA2 passcode for newly added networks

WifiConfigStore is firing broadcast with incorrect object which leaks
the passcode.

Bug: 17160254
Change-Id: Ia07897778d4b7a9865b883ae2a8bc3b01c58ae6a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
14fd4783657cc19da98d964e61de6251d6c317c8 05-Sep-2014 Wenchao Tong <tongwenchao@google.com> Merge "Fix a bug in the wpa_supplicant parsing code." into lmp-dev
f2899b9c94fd1abbd01625dfe320dd3f1bc9cc9c 03-Sep-2014 Wenchao Tong <tongwenchao@google.com> Fix a bug in the wpa_supplicant parsing code.

line.indexOf("ssid=") matches both ssid=xxx and scan_ssid=1.
Fix a typo in the regex to match the end of network block.

Bug: 17363819
Change-Id: Ib240e16988867b9610691b3bf4bcf90130797dc9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.java
1fd74be7eae25d58cc068e3e2f5eb9269ef4e369 20-Aug-2014 vandwalle <vandwalle@google.com> Merge "debug messages for link loss issues" into lmp-dev
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/WifiConfigStore.java
0ebd6d71cecb5147fad1ca7a7f807aec7ffeddd9 12-Aug-2014 Lorenzo Colitti <lorenzo@google.com> Clear IPv4 addresses when switching from DHCP to static.

This prevents the previous DHCP address from remaining assigned
to the interface, fixing a TODO.


Bug: 16893413
Change-Id: I84e09b8ac0325b839059b2d38086603bd11c7948
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
3b26801d62a06475b722bbf29cba7f48f376654e 31-Jul-2014 Lorenzo Colitti <lorenzo@google.com> Stop using LinkProperties for static configuration.

Bug: 16114392
Bug: 16893413
Change-Id: Ib33f35c004e30b6067bb20235ffa43c247d174df
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.java
4d3bff566b2cd0c3fd4d118eb6aae42ab3e9b5dd 08-Aug-2014 Lorenzo Colitti <lorenzo@google.com> Fix reading wifi configurations from the config store.

IpConfiguration's readIpAndProxyConfigurations method returns a
SparseArray mapping network IDs to IpConfiguration objects.
Unfortunately WifiConfiguration's readIpAndProxyConfigurations
iterates over the array and attempts to find the network the
configuration is for by looking at the sequence number of the
configuration, not the actual key in the SparseArray.

Bug: 16382665
Change-Id: I3dfef9123382b81a2a22cf5df7a5bb77611059aa
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.java
5a5dc2c0e256ec34e75bb5ec92c4726f9bbc918a 21-Jul-2014 vandwalle <vandwalle@google.com> Merge "a few additional logs and code standard rules" into lmp-dev
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/WifiConfigStore.java
0821ef3917e8305ceb58c8b9c6f7bc4c6d35252b 18-Jul-2014 Lorenzo Colitti <lorenzo@google.com> Merge "Properly quote WPA enterprise config fields." into lmp-dev
3249e2d02cd39f6e2fee093d6d8f4833a51001d5 15-Jul-2014 Lorenzo Colitti <lorenzo@google.com> Properly quote WPA enterprise config fields.

When filling in WifiConfiguration variables based on supplicant
state, properly quote WPA enterprise keys that need to be quoted.
Otherwise, when we attempt to set these config keys, we end up
sending commands ike "SET_NETWORK 4 identity foo", which are
invalid because "foo" needs to be quoted.

The list of fields that need to be quoted was based on the code
in WifiEnterpriseConfig.java.

Bug: 15870625
Change-Id: Icf06fbaa133ac5d195791fa4cfbce5d7d1e610bf
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
9878c61bbd81176561991be025af44efc67332fe 17-Jun-2014 Wenchao Tong <tongwenchao@google.com> Add a new SystemApi, getPrivilegedConfiguredNetworks(). Part 2 [DO NOT MERGE]

Implements the getPrivilegedConfiguredNetworks() in WifiServiceImpl.

Bug: 15703353
Change-Id: If3eaca3286e77b780272f42a28772d1d8d39db65
(cherry picked from commit 76ddde4965b1460248eb21d0ccebed687c2b3fb3)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.java
96d15e49bb2d9f22b307b4c9cafd5f51b87667a1 01-Jul-2014 Yuhao Zheng <yuhaozheng@google.com> Add two Passpoint fields to WifiConfiguration

We need two new fields in WifiConfiguration for Hotspot 2.0:
requirePMF & updateIdentifier

Change-Id: I46e5753d50423828f2aa531d469b49a88850e055
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
d31e487847b954a9e763c5dd72adbf5efd590814 26-Jun-2014 vandwalle <vandwalle@google.com> dont try to set an obfuscated password into wpa_supplicant

Bug: 15870625

Change-Id: I7d4b15cbd5d9ba6afefafe16f5ba8c0a8510cff3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
a2903b7c6fc2419d48fd9976fa24852370653c4a 26-Jun-2014 vandwalle <vandwalle@google.com> fix a merge issue

Change-Id: Ic1e9bab8ec6cf4b4525d2815b29db8e617960504
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.java
f62893bfeaebeaa0f6a840b29f1b7f33493c8894 10-Jun-2014 vandwalle <vandwalle@google.com> Merge "remember and report network score"
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/WifiConfigStore.java
82d1c6aeadfa24797b314ae2b2a55717df064b57 08-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Apply LinkProperties API change.

bug:15142362
Change-Id: I1457111da7d3bd09998f7e010febb8bb4c45c8bc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.java
0e3c67280365eb82fc15362a3b98a2c978bde766 01-Jun-2014 vandwalle <vandwalle@google.com> handle removal of self added configurations

Change-Id: I53122e704d8ef682c6c326b0588649ed9b7ba121
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
ad7319939c424d42fa6a3791c47f613db8ef3cd8 31-May-2014 vandwalle <vandwalle@google.com> Add supplicant debug information
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/WifiConfigStore.java
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/WifiConfigStore.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/WifiConfigStore.java
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/WifiConfigStore.java
4bcdcfd19e3eaaacc54d8ec65149c6d7faa181af 22-May-2014 vandwalle <vandwalle@google.com> remember last failure and reenable networks disabled by supplicant

bug: 14834820

Change-Id: I3d9725ac7482cd8490b52239135a98dfe0f124a2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
afbd80435faf3d3eda6e05fba3573a0ac4e762b6 22-May-2014 vandwalle <vandwalle@google.com> Merge "make verbose logging a wifimanager hidden API"
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/WifiConfigStore.java
4a55fdc530854a4a0c1602d6dbe3e0c8519b1166 22-May-2014 Lorenzo Colitti <lorenzo@google.com> Merge "Properly check return value of readIpAndProxyConfigurations"
5f128f9e971b7120a776f8fafde3a0db889f847d 22-May-2014 Lorenzo Colitti <lorenzo@google.com> Properly check return value of readIpAndProxyConfigurations

On failure, it returns an empty SparseArray, not null.

Change-Id: I5d24fdcfd24eb92657bdca674b1a417508e5af56
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.java
d66e62e78523abd1eb40694832d97fee7c91953b 21-May-2014 vandwalle <vandwalle@google.com> Merge "autojoin fix: only link equivalently secure configurations"
d2569dc2b19c401200fd2672acf83cfc35f1eb12 21-May-2014 vandwalle <vandwalle@google.com> autojoin fix: only link equivalently secure configurations

Change-Id: I4f3653af6bc7d641138ca41335e40bf5f6f291e4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.java
3ecf5a032e94b6538a56f94a5b33e50cbc464007 19-Mar-2014 Jaewan Kim <jaewan@google.com> Move IP config from WifiConfiguration to IpConfiguration.

Change-Id: I5d1189682b13f1088848809604690648d8d9ecca
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.java
e65cebc4284fd320a155a274cb647f73cecabd11 13-May-2014 Navtej Singh Mann <navtejsingh@google.com> Fix NullPointerException while WPS Push button/WPS Pin Entry

Fix NullPointerException in system server while authenticating AP
through WPS Push button/WPS Pin Entry

Bug: 14659351

Change-Id: I4c0616b320c49841fbb1ef0983d170b1178bf542
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
3137b27bbbaaf87267dea3bf95d1c027931b0b6a 07-May-2014 Navtej Singh Mann <navtejsingh@google.com> Fixed connection to AP with unicode emoji SSID

Fix for connection problem to wifi AP have
SSID of unicode emoji

Bug: 11690983

Change-Id: Icc6de6d49bbf42a1c26ae85bfee343a860ab3fb8
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.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/WifiConfigStore.java
952d359198cb1f04c180fc0f795dc316fe97cb5e 08-May-2014 vandwalle <vandwalle@google.com> fix for 14645794 Wifi flakiness triggering multiple crashesin volantis

Change-Id: Id2caa10964bbc02dbeff85ac6193f4be19f7bd39
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.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/WifiConfigStore.java
73281a1523e29b9717d0d952de1faf2b52281c7c 07-May-2014 Jason Monk <jmonk@google.com> Revert "Revert "Fix Build""

This reverts commit 439935a9ec391392a1aea323d7f18c328fea2490.

Change-Id: Idb1661d3d34461848f9812d637b173decd6ee9e7
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
439935a9ec391392a1aea323d7f18c328fea2490 07-May-2014 Jason Monk <jmonk@google.com> Revert "Fix Build"

This reverts commit 09af645cb252b60bd38747df458c6d93dad23e02.

Change-Id: I3122b7e117f022c3edb1bb439b13fe99a074e78d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
09af645cb252b60bd38747df458c6d93dad23e02 07-May-2014 Jason Monk <jmonk@google.com> Fix Build

Change-Id: Idb7e11307f10bd9580a5b92182065c3ef237af91
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
d4d0c9ad1e3289702ec341521b9bd01b52e9c1d8 07-May-2014 Jason Monk <jmonk@google.com> Support renaming of ProxyProperties to ProxyInfo

Change-Id: Ie4ec0e94b901161af68d8979d8b3cfd0e6009798
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
b872cd1d58e1666a9066b136e28c49ed62f825ed 07-Apr-2014 Jaewan Kim <jaewan@google.com> Revert "Refactor IpConfiguration from WifiConfiguration"

This reverts commit 9790c81b2d0fb2b8c3790e4dbe6dd9fd5b93bd4d.

Change-Id: Idba522f04dd4a6a16e4829f68f70d3cc19016a81
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
9790c81b2d0fb2b8c3790e4dbe6dd9fd5b93bd4d 19-Mar-2014 Jaewan Kim <jaewan@google.com> Refactor IpConfiguration from WifiConfiguration

Bug: 7606609, Bug: 8687763
Change-Id: Iec5d3237c823c7893fbba3b3209fe2b03a27a583
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
155b9d09ef9b8ead3ca617afdd91e74070d3f0cb 09-Jan-2014 Vinit Deshpande <vinitd@google.com> Revert "Revert "Move Wifi services to a new git project""

This reverts commit 862f81faba40e9af8fb80744a22e968a298e814e.

Change-Id: I7b15e266a5948749026e01a61d8581746cfd0f5f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
862f81faba40e9af8fb80744a22e968a298e814e 08-Jan-2014 Vinit Deshpande <vinitd@google.com> Revert "Move Wifi services to a new git project"

This reverts commit a07c419913bfae2a896fbc29e8f269ee08c4d910.

Change-Id: I1cd35cea1594cdbeae800b9130bc6f885f238b28
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java
a07c419913bfae2a896fbc29e8f269ee08c4d910 18-Dec-2013 Vinit Deshapnde <vinitd@google.com> Move Wifi services to a new git project

Bug: 12175455
Change-Id: I1fa07e29c6a9aae38d9e334d519a9f2445d15613
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigStore.java