History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dba342b115f9b2fedf6a42afd4586f17c1eddbe7 28-Aug-2015 Mitchell Wills <mwills@google.com> Revert "Add wake lock that is acquired during full wifi scans"

This reverts commit b3dd8fb7956874fa23f4095d065fd665b3772aa2.

Change-Id: I0982ca449ee5382d749210859e861135073f963b
Bug: 23540206
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
50cc4f8cf4c35d5b97aceea4956f37724a91f207 18-Aug-2015 Erik Kline <ek@google.com> Also track loss of IPv6 provisioning, not just IPv4

Bug: 23226635
Change-Id: I2215add147c02021a8389b05545ccf87a1509ce8
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
24d27d46ad357c27254b05c49ec33a210aca7436 13-Aug-2015 Mitchell Wills <mwills@google.com> Merge "Add wake lock that is acquired during full wifi scans" into mnc-dev
26c0904253b5f4c6ecaf7a9ce160d93dcb2b1ff7 11-Aug-2015 xinhe <xinhe@google.com> Phone connects to 2.4GHz wifi network when configured for 5GHz only

b/22830798

Change-Id: I164b1fe21d3e7b675420c9688f8cffc03dc27517
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
b3dd8fb7956874fa23f4095d065fd665b3772aa2 06-Aug-2015 Mitchell Wills <mwills@google.com> Add wake lock that is acquired during full wifi scans

Bug: 22832222
Change-Id: Ia69dc251aa54c1aee9c319c686dd1c88ae7f5f19
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
851a49c67efe70b090e8d8f2572ac1f66fbe2730 06-Aug-2015 Vinit Deshpande <vinitd@google.com> Merge "Start scan immediately after disconnect is noticed" into mnc-dev
ee0a0132ebb0d7e9baf42e778ea9c094966ffb14 04-Aug-2015 xinhe <xinhe@google.com> WiFi tethering AP says I can't use 5g in this country while in the US

b/22871989

Change-Id: I63c458c7353ecf84aa716118924364bb8f0f2844
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
d8ce388d48cc171307a588cf955acae687ecef69 05-Aug-2015 Vinit Deshpande <vinitd@google.com> Start scan immediately after disconnect is noticed

We are waiting some 15 second to do this; which can cause
lots of problems - including device going to doze mode.

Bug: 22922868
Change-Id: I654700d053591f463fef876199c7756f103373bc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
1c95611caf52644154f6c5ddd6cde843b63c5231 01-Aug-2015 Vinit Deshpande <vinitd@google.com> Merge "Remove more spammy logs" into mnc-dev
eef1bd1f89c70d561e7e4ac4299c16e4bd9ef696 01-Aug-2015 Vinit Deshpande <vinitd@google.com> Merge "Fix incorrect network selection despite enableNetwork(disableOthers)" into mnc-dev
807f6a8502cc35bd250b903e2315bcdc34c49a92 31-Jul-2015 Vinit Deshpande <vinitd@google.com> Remove more spammy logs

Bug: 20416721

Change-Id: I2ddcc405d120208271e3a4740053987538924690
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
9b82dc749dc3bcb5c9fb57ec35d8030ae7098192 29-Jul-2015 Paul Jensen <pauljensen@google.com> Merge "Disable WiFi autojoin when user decides via "Stay connected?" dialog" into mnc-dev
bd139462d94f581f8e2e9c906c10ffec0bc18aa9 29-Jul-2015 Vinit Deshpande <vinitd@google.com> Fix incorrect network selection despite enableNetwork(disableOthers)

App selection is overridden by auto-join selection, if network isn't
connected to. This change fixes the problem by adding a timeout during
which auto-join selection isn't allowed to be made.

Bug: 22127532

Change-Id: Ief78b6bf6e69d38ea8f43021e2a5316d52f8809f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
312c60d9779c200e8250b8a7ae32eaea01b08b42 13-Jul-2015 Paul Jensen <pauljensen@google.com> Disable WiFi autojoin when user decides via "Stay connected?" dialog

If the user selects "No" in the "Stay connected?" dialog box:
1. Disable autojoining that network in the future, and
2. Disassociate from that network.
Also, correct the name of a constant that was misleading.

Bug:22187193
Change-Id: I14dc9236c57e3ab7d3ec95edc906787cbfbf3c9f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
c28e026a27212c867d0b863ec65c71b67513b429 22-Jul-2015 xin He <xinhe@google.com> Merge "Angler Should Not Use Channel 11 for SoftAP" into mnc-dev
52b6d4cbf2815d18f35c64af955bf3859907b5c1 17-Jul-2015 xinhe <xinhe@google.com> Angler Should Not Use Channel 11 for SoftAP

b/22541346

Change-Id: I300605d8d305214e81803d5d54549e7c3e5bc5bb
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
a8647b8cb29de22765062714cb265247234c3d32 10-Jul-2015 xinhe <xinhe@google.com> Add API to turn OFF "best network selection" feature

b/14990268

Change-Id: Ifa96a08f4bf9868afc8ddc88e178fc6375e70f8b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
588e4ba694aba1b5b34aa2596809d8fa80ecb59d 14-Jul-2015 xinhe <xinhe@google.com> Need to disable 5GHz bands for WiFi tethering in Japan
Also fix the wificontroller dose not update state if Softap
start failed. This will block further enable STA or
re-enable AP.

b/22396383

Change-Id: Idb920a79bba7078cda3493211fd4108560dd261d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
9a41261e4f688411a7038781ca959b2007965f06 09-Jul-2015 Vinit Deshpande <vinitd@google.com> Capture an additional report when user captures a bugreport

Currently, all ringbuffer data and memory dump are captured when
an error is discovered. But that leaves a lot of scenarios
where we don't have this data. This change captures this data
on each dupmsys operation as well.

This change also captures firmware memory dump to debug
additional problems.

Bug: 22390445

Change-Id: I1fab1dacc4b11287697e9b7d97670bebc4c4bac5
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
3d7490b9b4dadffb7d5e70736108d39db0cf504f 29-Jun-2015 Ravi Joshi <ravij@codeaurora.org> wifi: Fix softAP turn-ON issue in statically linked driver

SoftAP fails to turn-ON on some statically linked driver architectures
in which the interfaces are not available until firmware is reloaded
in the AP mode. The change provides the fix for this issue by loading
the firmware ahead of time to enable to driver to create wlan0 interface.

b/22236507

Change-Id: Icf13184df315c4be8b63024fafe772f0d9c8718b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
b9766f51bcbd50f178d2c20d61f3d631c699b836 01-Jul-2015 Pierre Vandwalle <vandwalle@google.com> Merge changes I03899867,I225e875d into mnc-dev

* changes:
restart PNO/AutoJoinOffload when a network gets disabled Bug:22062116
add HS20 event strings to the WifiStateMachine logs
1816209b3c52f1debacd275aec2148cd89ff3444 01-Jul-2015 Pierre Vandwalle <vandwalle@google.com> restart PNO/AutoJoinOffload when a network gets disabled
Bug:22062116

Change-Id: I03899867b1ecfa6985ad57e0ccba8c4e1c9aa5b6
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
b908419110e3fce25632e27da1c577a345ec01fd 30-Jun-2015 Erik Kline <ek@google.com> Merge "Prune unreachable DNS servers during makeLinkProperties()" into mnc-dev
36c1dce4cc0a26b456a17becb7b0745f533d2b58 30-Jun-2015 Pierre Vandwalle <vandwalle@google.com> add HS20 event strings to the WifiStateMachine logs

Change-Id: I225e875dce6b63df872f32c7b0525560f65e4027
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
2a4b11b86792fc9092daf0f685d29820ee44ea19 29-Jun-2015 Pierre Vandwalle <vandwalle@google.com> Merge "print kernel time for all messages" into mnc-dev
f4c48cbf965d334f319393707b59c6a19149a87c 29-Jun-2015 Erik Kline <ek@google.com> Prune unreachable DNS servers during makeLinkProperties()

Bug: 20733156
Change-Id: Idc61376f25d7b51e2a649f3bc1d8a229cb4a7f95
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
1efb8a06775f612c57603a8107ffe87f0ae90b29 26-Jun-2015 Shirish Kalele <kalele@google.com> Merge "Surface ephemeralness of connection in WifiInfo." into mnc-dev
473b3bc83b29d6ded68e57e28b66a426903a24eb 26-Jun-2015 Pierre Vandwalle <vandwalle@google.com> print kernel time for all messages

Change-Id: Ibae85a2d182b7d7d7246956d0f96afcbc477eaf6
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
86b1b52530bba4a35e81bd7c5d7d52139fa0c822 25-Jun-2015 Shirish Kalele <kalele@google.com> Surface ephemeralness of connection in WifiInfo.

Bug: 21960219
Change-Id: I3d63633fcb30785328d030660951f9e96f0e53ad
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
b724ba818fa8ba5c2887de16250ff46193b0d9ea 23-Jun-2015 Zoltan Szatmary-Ban <szatmz@google.com> Merge "Respect all factors in determining editability of a WiFi config" into mnc-dev
b4ece4e093647267e9b57a5eee2754fa0fc6ae09 23-Jun-2015 Vinit Deshpande <vinitd@google.com> am 364f83d..034205e from mirror-m-wireless-internal-release

034205e Added config_wifi_hotspot2_enabled.
883e4cb Merge "dont optimize the pno set/clear commands since framework and driver can get out of sync Bug:21734054" into m-wireless-dev
2f1c1c7 dont optimize the pno set/clear commands since framework and driver can get out of sync Bug:21734054
d565262 add creation/update time to WifiConfiguration fix carry over of validatedInternetAccess Bug:21390908
40c87db Merge "Support 32 channels from different band per bucket for scanning" into m-wireless-dev
7ee84d8 make sure ephemeral config are written to file Bug:21293078
28fc233 Support 32 channels from different band per bucket for scanning
3baa176 Separated auth checking from SP matching.
486cc89 call setWifiLinkLayerStats Bug:21617639
7a94f84 Missing final keyword.
c465290 ANQP cache sweeping.
890e70d make sure validatedInternetAccess boolean is written to disk right away Bug:21390908

Change-Id: Ibacd79799465f11bd82311391f7a9420e0c50927
83c06fccd3bb8f3ac748aeee7b774d601f6f54e0 22-Jun-2015 xinhe <xinhe@google.com> Merge "fix SoftAP start failure on deb device" into mnc-dev
71d0be16c79791a005d60f9d5fa7d2d81e1f8c80 19-Jun-2015 xinhe <xinhe@google.com> fix SoftAP start failure on deb device

This is due to there is no HAL for razor and start softAp
codes need HAL API support

b/21869900
Change-Id: Ibd82dede184dc2fc80aa26961014dc68d837eff8
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
365f5e3b7221137391949391bde8401e117a0923 19-Jun-2015 Pierre Vandwalle <vandwalle@google.com> Merge "make PNO autojoin retries exponential, use elapsedTime instead of upTime for aging out networks Bug:21856344" into mnc-dev
cb59612d2af82044ee74e8f595c9a40498db14b4 19-Jun-2015 Pierre Vandwalle <vandwalle@google.com> make PNO autojoin retries exponential, use elapsedTime instead of upTime for aging out networks
Bug:21856344

Change-Id: I99ed09467aba757eb09ceb8e0fe8eaff3fbf5e67
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
bbb9dfd2f4382665d245052693c82a6e0126415f 19-Jun-2015 Adam Lesinski <adamlesinski@google.com> Merge "Don't report internal UIDs to BatteryStats" into mnc-dev
d9dcc7c6d03a0d93c50bada805ad4047aab8642a 19-Jun-2015 Pierre Vandwalle <vandwalle@google.com> reload the wifi config when autoconnecting, after updating the config
Bug:20299767

Change-Id: I41f60c1c91778570d63262c608052eb57e99e3d0
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
1a86f1f7c11aaa9070a356ed2606c2a5d8d19adb 27-May-2015 Zoltan Szatmary-Ban <szatmz@google.com> Respect all factors in determining editability of a WiFi config

Also, use creatorUid instead of lastUpdateName in determining
modifiability of config.

Bug: 21427528
Bug: 21150087
Bug: 21612565
Bug: 21887465
Change-Id: I0f8fb72bf9da1597e08d3dfc631d37b6b4178ff5
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
e3e4fad6e9b2022018a33507e93a39c6446f9916 19-Jun-2015 Pierre Vandwalle <vandwalle@google.com> use the scan result timestamp for aging out networks
Bug:21936726

Change-Id: Icfbae91053663fc7a2ad26a649e2764f5cd5b884
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
f0dacfe3c7f894166e87c8a90ef0a645cebc8996 19-Jun-2015 Adam Lesinski <adamlesinski@google.com> Don't report internal UIDs to BatteryStats

Wifi uses special UIDs in the WorkSource for scanning operations
done on its own accord. BatteryStats has no idea what these are,
so just report the WIFI UID when these special UIDs are encountered.

Bug:21929283
Change-Id: Icd81ae0fec049da1f0cdf0a552aae124212af6f1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
0510c350db16f6bd2930f0a5ace483efbfa681d5 18-Jun-2015 Pierre Vandwalle <vandwalle@google.com> retry autojoin to pno network after a minute
Bug:21740448

Change-Id: I50b91da5f7fb23f5e3366c7e7b79811c89314f72
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
c97b98d6877f6603a6a0eee820576f59e7da5e52 18-Jun-2015 Pierre Vandwalle <vandwalle@google.com> dont optimize the pno set/clear commands since framework and driver can get out of sync
Bug:21734054

Change-Id: Ib9646bb871a6cccba6cf77715d7c47b3e0b4b9c1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
2f1c1c7fec9ebc2ca73c05a479a7669bcc922cf3 18-Jun-2015 Pierre Vandwalle <vandwalle@google.com> dont optimize the pno set/clear commands since framework and driver can get out of sync
Bug:21734054

Change-Id: Ib9646bb871a6cccba6cf77715d7c47b3e0b4b9c1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
d745a52dc4f929d4a4030f205ed173bdf60eaf10 12-Jun-2015 Pierre Vandwalle <vandwalle@google.com> call setWifiLinkLayerStats
Bug:21617639

Change-Id: Idf7d066a20b96ed1e39cdd164b7159d5843c2f99
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
39ca3a2fff1e2f7dd8613b094984199b95931671 11-Jun-2015 Pierre Vandwalle <vandwalle@google.com> make sure validatedInternetAccess boolean is written to disk right away
Bug:21390908

Change-Id: Ia64068bccb84973aac6c26de96c074ffc6f4fae4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
b53a183e0284025e11b4304c50d18c3f80f66e85 10-Jun-2015 Pierre Vandwalle <vandwalle@google.com> dont keep bad link score due to txerrors for too long

Change-Id: I181eabc72ca93d29470d46017e9f34df2e71093e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
486cc89df3277ce7c7ace55fdfd02ae24ce0d665 12-Jun-2015 Pierre Vandwalle <vandwalle@google.com> call setWifiLinkLayerStats
Bug:21617639

Change-Id: Idf7d066a20b96ed1e39cdd164b7159d5843c2f99
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
c465290772b735d97cba451c9bc5b6cc76db9147 11-Jun-2015 Jan Nordqvist <jannq@google.com> ANQP cache sweeping.

Bug: 21786417

Change-Id: I44b44dd09c00364b0dc7d21640d5e803ffa6263c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
890e70d78c91e884b00da947cb14841d3186ad90 11-Jun-2015 Pierre Vandwalle <vandwalle@google.com> make sure validatedInternetAccess boolean is written to disk right away
Bug:21390908

Change-Id: Ia64068bccb84973aac6c26de96c074ffc6f4fae4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
364f83d061817e3632e8259da47a6c39500947b8 10-Jun-2015 Pierre Vandwalle <vandwalle@google.com> dont keep bad link score due to txerrors for too long

Change-Id: I181eabc72ca93d29470d46017e9f34df2e71093e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
352875034165d338738ded4b7b1f1d997e413262 10-Jun-2015 Vinit Deshpande <vinitd@google.com> am 05d1550..05d1550 from mirror-m-wireless-internal-release

05d1550 Dont enable legacy pno if state is not Disconnected or scan is ongoing Bug:21368736
05d155034b789d0bcc73deefb29ab6db90e57ddf 09-Jun-2015 Pierre Vandwalle <vandwalle@google.com> Dont enable legacy pno if state is not Disconnected or scan is ongoing
Bug:21368736

Change-Id: I5b87e77b814cda0c1202d647e6ceb2d2e706f223
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
c85fd892c72e7d15f7e092f29f6cf095b46783a0 09-Jun-2015 Vinit Deshpande <vinitd@google.com> am 5bee0e4..7ec7de9 from mirror-m-wireless-internal-release

7ec7de9 Fixed PLMN ANQP parsing and added Runtime guard on parsing.
54fcb6c Prevent repeating EAP connection forever

Change-Id: I3006e488d5c422330f4cc2aee0d366351ecc36e1
4a9e6c6f8bd09082e928ae2fbd9d600b9086d3de 09-Jun-2015 Lorenzo Colitti <lorenzo@google.com> Merge "Get rid of the CAPTIVE_PORTAL_CHECK state broadcast." into mnc-dev
448dfc1761ccf6e5bc0aeb29ee585b5c07e02e56 06-Jun-2015 Vinit Deshpande <vinitd@google.com> Capture alert data; and require verbose to capture firmware dump [DO NOT MERGE]

This change starts capturing data on firmware alert. Alerts by
default capture FW memory dump.

It also requires 'wifi verbose debugging' to be enabled to capture
firmware dumps; they are taking too much space.

Change-Id: I9bf8c274eef263be4c2fda62bed128048f36b972
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
5bee0e4616e2f8025d60cbfe3eec3e274a68a452 06-Jun-2015 Jan Nordqvist <jannq@google.com> ANQP caching cleaned up.

Disabling all HS2.0 logic with no SPs.

Bug: 21306404
Bug: 21660552

Change-Id: I080e99b5e41ead0b718c9e14514fba3108f19ac9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
f7db07b9cc88ceef2ca3d77414834d0d75b4ece7 06-Jun-2015 Vinit Deshpande <vinitd@google.com> Capture alert data; and require verbose to capture firmware dump

This change starts capturing data on firmware alert. Alerts by
default capture FW memory dump.

It also requires 'wifi verbose debugging' to be enabled to capture
firmware dumps; they are taking too much space.

Change-Id: I9bf8c274eef263be4c2fda62bed128048f36b972
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
6eb4db053766557a4ebd2a969e0605b0eb6d68fc 04-Jun-2015 Vinit Deshpande <vinitd@google.com> Shut up a noisy log from WifiStateMachine [DO NOT MERGE]

Bug: 20416721

Change-Id: I675942232f2120a203c531d7ed8f214c3322d7dc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
e0f45adde26bd4d238ff157e6769650a99dc5261 05-Jun-2015 Vinit Deshpande <vinitd@google.com> am 70b75cd..09f267b from mirror-m-wireless-internal-release

09f267b prevent false wifi roaming signal Bug:21617059
0bf150b Enable ring buffer logging and auto-logging of failures
550ae08 Merge "fix overflow bug in WifiManager reportActivityInfo Bug:20232188" into m-wireless-dev
7ab5189 Merge "Make autojoin parameters configurable" into m-wireless-dev
7ff782a Make autojoin parameters configurable
f49a59b Issue start/stop HAL along with load/unload driver
9ef23e4b9b75270b052f9abeea9d00edfefa1e6d 05-Jun-2015 Lorenzo Colitti <lorenzo@google.com> Get rid of the CAPTIVE_PORTAL_CHECK state broadcast.

This broadcast is useless, because:

- It is guaranteed to be immediately followed by a CONNECTED
state broadcast.
- The CAPTIVE_PORTAL_CHECK doesn't actually do anything - in
fact, since L CAPTIVE_PORTAL_CHECK happens only after we
transition to CONNECTED state.

The broadcast results in ConnectivityService logspam and makes
the wifi icon flicker on DHCP renew because CAPTIVE_PORTAL_CHECK
is mapped to CONNECTING and not CONNECTED, and we don't display
the wifi icon in CONNECTING.

Bug: 21352084
Change-Id: I70bff6ad98709512388b0b234443bc00a9fc2546
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
09f267b3bc61f3f472516a406fd64be81dc5ccd5 05-Jun-2015 Pierre Vandwalle <vandwalle@google.com> prevent false wifi roaming signal
Bug:21617059

Change-Id: I3ed85339d177c2c15831c59662f693ba4882919b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
0bf150b2d69ec62df905bc6f8603437dc4caee1f 01-Jun-2015 Vinit Deshpande <vinitd@google.com> Enable ring buffer logging and auto-logging of failures

This change extracts ring buffer data from firmware; and
automatically logs driver/firmware logs when any failure
is detected.

Change-Id: I20c8cc00e8ac1d1b4f35da6d309e972cd8ea5d19
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
800f0bd2fd9ef6886a9d2d3fd08e14ec32fa9066 04-Jun-2015 Vinit Deshpande <vinitd@google.com> Shut up a noisy log from WifiStateMachine

Bug: 20416721

Change-Id: I675942232f2120a203c531d7ed8f214c3322d7dc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
3f6620290d7462f3642c82e535146ce9de5e20b3 03-Jun-2015 Vinit Deshpande <vinitd@google.com> am a40265e..7ab5189 from mirror-m-wireless-internal-release

7ab5189 Merge "Make autojoin parameters configurable" into m-wireless-dev
7ff782a Make autojoin parameters configurable
f49a59b Issue start/stop HAL along with load/unload driver
cbda71c Merge "make WiFi No Network Periodic Scans Interval to 5 minutes Bug:21274132" into m-wireless-dev
c538878 make WiFi No Network Periodic Scans Interval to 5 minutes Bug:21274132
f49a59bda006b13e0118d144e0a4a5f569b2251e 27-May-2015 Vinit Deshpande <vinitd@google.com> Issue start/stop HAL along with load/unload driver

This ensures that HAL is enabled when driver is loaded; and
HAL is torn down when driver is unloaded.

Change-Id: Ia7a3e0a485a37b137750040aaecde7cb92eb59e4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
cd0af1c9ddcac881f49c815fb9da45433eb50736 02-Jun-2015 Vinit Deshpande <vinitd@google.com> am 21d43c4..9a270a7 from mirror-m-wireless-internal-release

9a270a7 Merge "Removed cert verification from ConfigBuilder." into m-wireless-dev
31891af Minor fixes from comments.
fce249d Merge changes I1da47e51,I5d6b0cbe into m-wireless-dev
0600b63 Removed cert verification from ConfigBuilder.
03a529a Fixed incorrect mnc-mcc matching.
6f3626f dont use wifiscanner pauseScan/restartScan
a203056 fix crash in autojoincontroller Bug:21495346
07a3f9d Fixed sequencing issue for Hotspot 2.0 IMSI matching.
ea748f7 Merge "update current configuration based on wifi SSID whitelist roam" into m-wireless-dev
f71c259 Fix bad logs and a crash while reading configs [DO NOT MERGE]
605c327 Fixed bad network history saving and reading. [DO NOT MERGE]
6dd83f1 Merge "fix handling of command for bssid hot list" into m-wireless-dev
a63da80 fix handling of command for bssid hot list

Change-Id: I1ba36f5939f44551946b4756c2074e02f71cedc9
f72f48afc909bd4b7371559aa034054da979942d 02-Jun-2015 Vinit Deshpande <vinitd@google.com> am 22fd854..6dd83f1 from mirror-m-wireless-internal-release

6dd83f1 Merge "fix handling of command for bssid hot list" into m-wireless-dev
a63da80 fix handling of command for bssid hot list
b090f62 make sure unblacklist thresholds are initialized Bug:21161557
4c94fc6 Wifi: Disable PNO (if enabled) only when the scan is allowed to trigger
be2981a fix enabling autojoin offload based on tx/rx counters
a3e4c84 Move Halutil to vendor/google_testing/comms

Change-Id: I9663436ad92094b1cde0e00d217b1fd9ca728351
c5388781595174cb9d8e055bc846da8056f56346 02-Jun-2015 Pierre Vandwalle <vandwalle@google.com> make WiFi No Network Periodic Scans Interval to 5 minutes
Bug:21274132

Change-Id: I307f08e38edb6729a318d6cfa1f9310141970c3f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
483cef98baaff3d4de18dc29aa5e5cce2ccd9716 02-Jun-2015 Vinit Deshpande <vinitd@google.com> am 9ccffbb..5a091fb from mirror-m-wireless-internal-release

5a091fb Wifi log spam is still a thing The root cause is that inner class WifiScanningStateMachine of WifiScanningServiceImpl use the log from WifiStateMachine rather than from WifiScanningServiceImpl. Reanme log to logLocal
b66b29a turn off WifiNative DBG
98dca33 FW memory dump should be compressed
e5c48b5 wifi: Do not kill the supplicant on a request to stop it
5caa43b add ssid white list for roam offload
a8e38ba111bac40e374412253fc6b6a542c7714f 02-Jun-2015 Erik Kline <ek@google.com> simplify processing DhcpResults LinkAddress data

Bug: 20451261
Change-Id: Ie95d430da58b94ee8b26e79442a35614cb86e78e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
6f3626faf50499dd95aa299bb1011c27ab05776d 29-May-2015 Pierre Vandwalle <vandwalle@google.com> dont use wifiscanner pauseScan/restartScan

Change-Id: Ie73fafdde61a9ff218bf6a96e5f3741f98706fad
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
a20305612380c956fa84b1e80523eb7719f62fd1 28-May-2015 Pierre Vandwalle <vandwalle@google.com> fix crash in autojoincontroller
Bug:21495346

Change-Id: Ib99c9c996bba78369c358a33829269d93b11d324
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
21d43c487ca1f719cd2c170e1fac88c7b62a836a 23-May-2015 Pierre Vandwalle <vandwalle@google.com> update current configuration based on wifi SSID whitelist roam

Change-Id: If5d2010740b5d11749aeb82b825a248566c16aaf
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
21e50f97f3a6e8b08b73e0266204eae3e6351742 26-May-2015 Vinit Deshpande <vinitd@google.com> Fix an ANR in WifiSettings

getMatchingPasspointConfig doesn't return any value in
some states; this change fixes that by returning default
value.

Bug: 21362013
Change-Id: Ib63d5fa12cce318482cee8781ce4fb97a23e92ef
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
610b648ee56dc5c4accddb4522cb5fd927e9fa10 22-May-2015 Erik Kline <ek@google.com> Merge "Do some DNAv4/DNAv6 -style probing on roaming." into mnc-dev
49dfc6768889a33eb67102b16faf21667af2a60d 20-May-2015 Vinit Deshpande <vinitd@google.com> Indicate failed scans with EXTRA_RESULTS_UPDATED

This flag indicates if scan was successful and results were
updated. It will be set to false if a scan is not performed
(intentionally) or if it failed to produce any results.

Bug: 20642015

Change-Id: I06a1fdd684932db68891ee28d5a049980f483f0f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
4c94fc6a884fc17424c76d791a42c3c263b390b2 20-May-2015 Sunil Dutt <usdutt@codeaurora.org> Wifi: Disable PNO (if enabled) only when the scan is allowed to trigger

In WiFi's disconnected state and when a PNO is enabled, a scan
request through an alarm source shall disable the PNO, though
the scan fails to trigger (if cancelled due to cancelDelayedScan).
This commit ensures to disable the PNO only before the scan request
succeeds to trigger.

Change-Id: Ie462011d99644e83314c55e8135f8cbf2b8de5c7
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
c4a5807e031412bd4529daa46baa8b1bdb06295f 19-May-2015 Erik Kline <ek@google.com> Do some DNAv4/DNAv6 -style probing on roaming.

Bug: 18581716
Bug: 19866451
Bug: 20944464
Change-Id: Id2b2c9755fea8b9c9b6a2760949919bc3fb1abde
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
0ac0f5b76c61707aededb5f959d6df2b2cead3a4 21-May-2015 Erik Kline <ek@google.com> Factor out code that makes a new LinkProperties object

Change-Id: Ia6a0ccb10da62efc261e6ea6d862e4617b9df739
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
be2981ae2e3d7d8325fa7815731e45bc64e17f2f 21-May-2015 Pierre Vandwalle <vandwalle@google.com> fix enabling autojoin offload based on tx/rx counters

Change-Id: I2fa7970d249638b17f06763246af15f5308d4d55
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
22fd854ef9c1fd6df6542c87e1e26e88a66e1fc3 20-May-2015 Pierre Vandwalle <vandwalle@google.com> enable SSID whitelist

Change-Id: I59e8acb0ea0224bc3c365041913f4f375fb03606
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
04d29dfffd4c64bc0eb3f109269c1ad2bde6e363 19-May-2015 Vinit Deshpande <vinitd@google.com> Interpret scan-failed event from wpa_supplicant [DO NOT MERGE]

(cherry-picked from 9057c94158c31e040583617bbce19313adf2e58d)

Scans can fail if there are other scans going on in the
firmware. We can only find out about such failures from
supplicant (it prints out a failure event).

Bug: 20192693

Change-Id: I03fe60bb569430c041258c3a4ab8da2d6b5e9ff2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
9057c94158c31e040583617bbce19313adf2e58d 19-May-2015 Vinit Deshpande <vinitd@google.com> Interpret scan-failed event from wpa_supplicant

Scans can fail if there are other scans going on in the
firmware. We can only find out about such failures from
supplicant (it prints out a failure event).

Bug: 20192693

Change-Id: I03fe60bb569430c041258c3a4ab8da2d6b5e9ff2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
e5c48b5cd1325f4cd67a798de4028f2a5567bc10 15-May-2015 Sunil Dutt <usdutt@codeaurora.org> wifi: Do not kill the supplicant on a request to stop it

Supplicant is killed on obtaining the first TERMINATE event when
requested to stop from the framework. This shall result in improper
shutdown of the supplicant without proper cleanup of the resources
allocated for all the interfaces.
Moreover, there is no point in killing the supplicant when the
request itself is to to stop the same. Thus, do not kill the
supplicant on the TERMINATE event.

Change-Id: I9a86e725c83374ed8f9b8f203d75928a5deed851
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
cbe99401672e263d6043cd1bc0c37d2dd871cac0 19-May-2015 Svet Ganov <svetoslavganov@google.com> Merge "Do not report WiFi and Bluetooth MAC addresses - wifi" into mnc-dev
fab7a7bb20990d4792f00a30eca9be307792b79a 13-May-2015 Svet Ganov <svetoslavganov@google.com> Do not report WiFi and Bluetooth MAC addresses - wifi

As a part of the new runtime permissions work we are limiting
the PII apps can access. BT and WiFi MAC addresses are PII and
based on our research there is no valid use case for app dev
to get these addresses aside of user tracking which we are
trying to limit.

bug:21078858

Change-Id: Id0524ba068ad53542f9904314ac4c8581e98cc5d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
5caa43b34e0445ff08bff5931b84ffbc850b2a66 16-May-2015 Pierre Vandwalle <vandwalle@google.com> add ssid white list for roam offload

Change-Id: I9fad659cc6527a271251c7403852dc87ef460207
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
6a95e83c7e411a21cf6f6d912ab8498d2de858c9 18-May-2015 xinhe <xinhe@google.com> Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into merging

Change-Id: Iec12d73f244bc58e7fcf1154ea8047a03925c241
9ccffbb6c3fe8eaa7d70cc3076d0dc3c6a9073e7 16-May-2015 Pierre Vandwalle <vandwalle@google.com> add BSSID blacklist to autojoin/roam offload

Change-Id: I7eced80f7406de44e96bebc9a3ac3dc648a23eef
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
c3a4a8936ce4b473f89ee130baed34afc8f3186a 15-May-2015 Craig Lafayette <craiglafa@google.com> Check for null return from getRingBufferStatus [DO NOT MERGE]

Bug: 21165036
Change-Id: I4f4fb468b66e233fe88f8dbeda5d1a780bdb0cbe
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
bffd83b768c3f34305bd61cd857a8c0d2f49bab9 15-May-2015 Craig Lafayette <craiglafa@google.com> Check for null return from getRingBufferStatus

Bug: 21165036
Change-Id: I4f4fb468b66e233fe88f8dbeda5d1a780bdb0cbe
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
12aeea8779cc4ee74ce390460e9dc4f2a6a94021 14-May-2015 Erik Kline <ek@google.com> create IpReachabilityMonitor only in L2ConnectedState

- revert some previous null avoidance hacks
- create IpReachabilityMonitor only in L2ConnectedState

Bug: 21147252
Bug: 21165241
Change-Id: I648852e358a5165621bcb1c33384d783bac0c9f2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
76f41991291f2141f256f06efb3746fa0e1b7974 15-May-2015 Erik Kline <ek@google.com> If the interface at start-up isn't valid don't NPE on missing IpReachabilityMonitor

Bug: 21165241
Change-Id: I2348d6e07daf2a910078b2413d70e711d34a1630
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
b0b0cc202b7d7aaad7b3f69d73e9b58ea2968b05 06-May-2015 Pierre Vandwalle <vandwalle@google.com> hal based Pno and lazy roam implementation

Change-Id: Ib814ff6d29c8d7f1b579f7c088cd4eb104e5b637
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
b1c872f0353647b658742376709e0060fd025040 15-May-2015 Erik Kline <ek@google.com> Merge "Only notify of new link properties if they are non-null" into mnc-dev
ec3b75eb1487ec4423abc132cebc3ce6efd6d094 14-May-2015 Erik Kline <ek@google.com> Only notify of new link properties if they are non-null

Bug: 21147252
Change-Id: I5552a167425b0d54b22003a3675b560ee0b0da19
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
a6a56c98a21a07d874abbed2b5f83d8a9be7f2f7 14-May-2015 Lorenzo Colitti <lorenzo@google.com> Merge "Keep track of lastConnectUid in more cases." into mnc-dev
ab99a7a345781a9f3ff07335744c1f2073c44ac6 13-May-2015 Lorenzo Colitti <lorenzo@google.com> Keep track of lastConnectUid in more cases.

1. When we switch from a different network, and the connect
happens via AutoJoinController sending us CMD_AUTO_CONNECT.
2. When we interpret SAVE_NETWORK as a request to connect.
3. When we interpret CMD_ADD_OR_UPDATE_NETWORK as a request to
connect.

We were already keeping track of lastConnectUid when receiving
CMD_ENABLE_NETWORK because WifiConfigStore.enableNetwork takes
care of that.

Bug: 20081183
Change-Id: Icb9873057c30e73ad5a105083aa3d60d31d2ce32
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
347a9779b10304865e478af01ab95871c7614b29 14-May-2015 Vinit Deshpande <vinitd@google.com> am d7cbebf..6111ff7 from mirror-m-wireless-internal-release

6111ff7 minor fix for warning
e026d53 Added cert path validation for CA cert.
9a64375 Changed SSID consistency check to deal with hidden SSIDs (logging only).
1c03d75 Changed log tag, and fixed a NPE.
7d5357a Disable PDBG in WifiStateMachine

Change-Id: I0100a9e48f383266487c43426a55509cf8868f47
e5bf4b884cbbb435dc9268dff61955bcc2b81471 14-May-2015 Vinit Deshpande <vinitd@google.com> am 03ba4a5..ed3f1dd from mirror-m-wireless-internal-release

ed3f1dd Fix permissions check on WifiScanner APIs
f4b30aa Don't pause/restart scans across network connections
ad99846 Remove old (KK based) batched scan API support
fc42a2c Introduce battery blaming for WifiScanner
87df79e make autojoin more deterministic
d79bb0e Merge "enable background scan as soon as screen is off Bug:20909311" into m-wireless-dev
9ac124e enable background scan as soon as screen is off Bug:20909311
6d0cd10 change wifi Logging header
d4c25fd 5GHz roam configuration

Change-Id: Ib7621b11ca851236f9003947c24c5d84670fac94
f8229a4bc77f2f8cf23a00ba0930a9bbb520d424 10-Apr-2015 Erik Kline <ek@google.com> Incorporate IpReachabilityMonitor into WifiStateMachine

The IpReachability Monitorcallback sends a new CMD_IP_REACHABILITY_LOST.
This is handled by all L2ConnectedState (sub)states.

Bug: 18581716
Change-Id: Ic107574f954e23545a8ad2b73f5c67f823b20bc9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
9a64375bfb3431ef8d4ec1f2e97349c106c9c5f0 29-Apr-2015 Jan Nordqvist <jannq@google.com> Changed SSID consistency check to deal with hidden SSIDs (logging only).

Change-Id: I80ef72d6a209571643b49c9fd144144e333f6486
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
1c03d75c73b9f5fa24a795a0d546f4f56b82ab9b 27-Apr-2015 Jan Nordqvist <jannq@google.com> Changed log tag, and fixed a NPE.

Change-Id: I216a9df2397427a1175ea930c501f47cd843b742
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
7d5357abafeb8b4a8510cf944685a521996a3940 12-May-2015 Vinit Deshpande <vinitd@google.com> Disable PDBG in WifiStateMachine

Bug: 20416721
Change-Id: I60b177d5e078fe5e11101a114cb368bd3dab915d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
de1bebe09457d4c54c81c0ad3a3fd3bf7b0d43a4 12-May-2015 Erik Kline <ek@google.com> Don't spuriously fail link properties comparisons.

Set the TCP buffer size appropriately before checking for equality.

Bug: 18581716
Change-Id: Iaa1e8a14bdfea02d2e610772a27e267eb7359c5e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
f4b30aacbaf31865c7f31e4902d40ff7fdfe9e41 08-May-2015 Vinit Deshpande <vinitd@google.com> Don't pause/restart scans across network connections

These are to be handled by the firmware; so there is
no need to be proactive.

Bug: 20153728

Change-Id: Id13de1fa2edb06cff4b44f9623967f30d3c5beb6
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
ad9984607c007b15b9eb6601facf821cb57e1555 11-May-2015 Vinit Deshpande <vinitd@google.com> Remove old (KK based) batched scan API support

Bug: 18000475

Change-Id: I0b6054f291cadefb1d153692b61f1c3d2ddab0c1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
9ac124e3b281e356ceb5d2faab7932fd77dbe63f 08-May-2015 Pierre Vandwalle <vandwalle@google.com> enable background scan as soon as screen is off
Bug:20909311

Change-Id: Ibb2a0650dbf8e0f56743f9cd4a94b6e39fcc191c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
d4c25fd76644d5490700ae69fada4669de5193a1 17-Apr-2015 Pierre Vandwalle <vandwalle@google.com> 5GHz roam configuration

Change-Id: I34a59b6de90bda5198e42c3ecf24e978efc73c93
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
49ec3641622a34f4102d57d2b2ae44d52b9e6426 05-May-2015 Prerepa Viswanadham <dham@google.com> Merge changes from topic 'mwd-merge-050415' into mnc-dev

* changes:
Merge commit '5199fba' into master_merge
Merge commit 'b77b98d' into master_merge
Merge commit '624b4e2' into master_merge
5b3b6f748060cc831d52df06d5456d70d6e7ff9e 04-May-2015 Sanket Padawe <sanketpadawe@google.com> Merge "Add new API for getting netId of current wifi network" into mnc-dev
03ba4a5b108ab2bbdb5d0e7be46ac45c00a6d9ff 28-Apr-2015 xinhe <xinhe@google.com> Initial bring up for debug framework

Change-Id: I0e78897d1440f0b7c56740ff7890e2f3d6a0d951
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
9846078598c3468f8813dbfa58238a1846bd81ef 02-May-2015 Sanket Padawe <sanketpadawe@google.com> Add new API for getting netId of current wifi network

Bug: 17380953
Change-Id: I44030e5ffb32322667e729303487f66af39c665c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
5fdecb4165634b27b024ece39d488791532d1658 01-May-2015 Vinit Deshpande <vinitd@google.com> Fix unhandled CMD_GET_MATCHING_CONFIG

This causes ANRs, since the request may not get completed
in certain cases (such as scan only mode).

Bug: 20747903
Change-Id: I40388c16bed7d14386c1c3808ceaccb850ad2a13
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
c308372401d89ad7a4ec1e04e72d25f3fc34ddb4 01-May-2015 Prerepa Viswanadham <dham@google.com> Merge commit '5199fba' into master_merge
5199fba99dccfcd89ee7a1a43e4dd545b4106902 21-Apr-2015 Vinit Deshpande <vinitd@google.com> Fix indentation on state chart

Change-Id: I50ea10f375ea215373e11f49a5fd4c1937acf3cf
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
54d65cf6fa73fd5717ff3791cedb7a1a7d7fa9a0 24-Apr-2015 Lorenzo Colitti <lorenzo@google.com> Merge "Add logging to the "no internet access detected" prompt."
56286fb3e8823d461e899f621587ea0782a98086 24-Apr-2015 Lorenzo Colitti <lorenzo@google.com> Add logging to the "no internet access detected" prompt.

Bug: 20081183
Change-Id: Ic53745a4742c6dd93804e8fb8e70c2506d790e08
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
f3bc3c6dcde09a8e39f0a30febf6ae47e882ce90 24-Apr-2015 Vinit Deshpande <vinitd@google.com> Fix more logspam from HAL and WifiStateMachine

Bug: 20416721

Change-Id: I00eef7c9fbbed1403e73e8184de8956677649b8c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
8366a82ee1bff4c66d3f3642bf0a60538de5d9da 22-Apr-2015 Jan Nordqvist <jannq@google.com> Clearing ANQP cache when stopping WiFi service, moved ANQP result handling to DriverStartedState.

Change-Id: I8b9aa953cbf1309ff2d0174c8a23946b3f7086a8
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
965101c0a9af6e9194a04b77c22b0e7fcad481a8 16-Apr-2015 Pierre Vandwalle <vandwalle@google.com> Merge commit '5040e99' into mg

Change-Id: I133038f35817681a74664d0ad66594615d35f6e9
c67323bf72e65c3d4d38e99d39bcaedf88683df0 10-Apr-2015 Lorenzo Colitti <lorenzo@google.com> Don't allow apps to trigger explicitlySelected.

Instead, rely on WifiManager to pin these apps to their chosen
network using setProcessDefaultNetwork.

Bug: 20081183
Change-Id: Ic9ae3d4f97ae6dcc0e38fcf8fb5bccfcc02407a5
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
4f04c06ae450834328d8f5467d19e9d54b16371f 16-Apr-2015 Lorenzo Colitti <lorenzo@google.com> Merge "Fix WifiStateMachine message numbers."
340b59c0d6f9f46c2fd128946f4346277f437c31 15-Apr-2015 Lorenzo Colitti <lorenzo@google.com> Fix WifiStateMachine message numbers.

This fixes two issues:

1. The values here conflict with the values in m-wireless-dev.
2. The 149 was assigned to CMD_ACCEPT_UNVALIDATED, thus hiding
the previous assignment of CMD_REMOVE_USER_CONFIGURATIONS.

Change-Id: I96a305b11a3e1b32984e2a83252e6326fbca7d78
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
a4a473dfad55b2b9edfe5058779531daf01c82f5 16-Apr-2015 Vinit Deshpande <vinitd@google.com> Merge "am f24e3d7..a547460 from mirror-m-wireless-internal-release"
dd490cf1df37b70a8625dc4ec8e712f740dd1e4a 21-Mar-2015 Pierre Vandwalle <vandwalle@google.com> epno initial implementation

Change-Id: I47ede001aa22089bab099072810d648999104091
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
3e351b0c2da2d53bf5b21ffb57df83813d6cc219 06-Apr-2015 Lorenzo Colitti <lorenzo@google.com> Wifi changes for "No internet access detected" prompt.

1. Only set explicitlySelected (which causes ConnectivityService
to display the "No internet access detected, use this network
anyway?") if the connection request came from the system and
not from an app.
2. Don't display the dialog if the saved configuration specifies
that this network is not expected to have an Internet
connection.
3. Save the response of the "no Internet access" dialog in the
wifi configuration.

Bug: 20081183
Change-Id: I4f80245e3aee5075c0833749a28755d20f4da5d6
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
5ee18dc63952ff80f4ea21296a0df4f7b27eafe6 15-Apr-2015 Vinit Deshpande <vinitd@google.com> am f24e3d7..a547460 from mirror-m-wireless-internal-release

a547460 Fix incorrect matching of Passpoint networks
93a1dbd fix RTT crashes runtime This is due to local referencs have been used up Bug:20143987
5faa29d changes to support wifi_logger.h API changes
a7ead3d Corrected and tightened up MO tree and mapping from/to configs.
71cd814 Merge "Use PasspointMatchInfo to select good passpoint network" into m-wireless-dev
0c14982 Merge "Store PasspointMatchInfo in ScanDetailCache" into m-wireless-dev
8eefaf2 Use PasspointMatchInfo to select good passpoint network
4d381bc Store PasspointMatchInfo in ScanDetailCache

Change-Id: If9ce95af4968cee4a458dddf21151eaf015880dc
f7afe8414224cb9a959c18763a489ef33a8265fe 06-Apr-2015 Lorenzo Colitti <lorenzo@google.com> Make connecting to a wifi network set config.lastConnectUid.

Bug: 20081183
Change-Id: I2add0cfe870f18dd3ef98e7a311b5ac75e5438d9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
6aef95a3cfa0b825ff93c45e95f89cc8c5c85164 11-Apr-2015 Prerepa Viswanadham <dham@google.com> Merge commit '70deeca' into merge_work

Change-Id: I77fdf057818f0bc2742e923e71b248648e152e1a
b2ee665db50bad2a0df9b495fc5d6b1dc40a5328 11-Apr-2015 Prerepa Viswanadham <dham@google.com> Merge commit 'bed4746' into merge_work

Change-Id: Ie8a9a1e34650e8b177b99acd2fbf17b5f70be592
4d381bc39f5263effdae73ec99065eb299b806ca 09-Apr-2015 Vinit Deshpande <vinitd@google.com> Store PasspointMatchInfo in ScanDetailCache

This change moves ScanDetailCache as a stand alone class; since
it has lot of logic related sorting and finding candidates.

This will get used in network selection going forward.

Change-Id: If039779f4274dca64fa7aceae62dca26caeae2d4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
d33dc0d01f16ef7c338c3e3c82eaefa9e914ff83 03-Apr-2015 Jan Nordqvist <jannq@google.com> Refined SSID parsing in NetworkDetail.

Change-Id: Iaf5d796df472a501ce188755061600b255181c46
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
a1edc185d46d85e04930a5e12b465de9fea64afe 19-Mar-2015 Jan Nordqvist <jannq@google.com> Various fixes for Passpoint.

A couple of fixes in AnqpCache, better logging.

Fixed BufferUnderdflowException in NetworkDetail.

Bug: 19888749

Modifications to support WiFi config app.

Rework to fit config builder into apps framework.

API for WiFi config app, 3GPP matching, BufferUnderflowException bug fix and some other fixes.

Fixed a log statement.

Clean up.

Change-Id: I763d47b9c7943a8aa4c94afd2678ccea2dd915cc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
f10f5212bf1b6d35f36509e4c72f8bdd21c5e3bb 06-Apr-2015 Vinit Deshpande <vinitd@google.com> Handle potential buffer underflow when parsing beacons

Bug: 20046298
Change-Id: I7a1dd0caf99131c622ea84fd65883b57eaf8bd41
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
ccbe820337a230f0827f734aca2c51a244a0837f 04-Apr-2015 Vinit Deshpande <vinitd@google.com> Implement 'Available via Passpoint' feature

This also fixes the issues related to explicit connection
to passpoint AP, and fixes occassional mention of
'connected via Wi-Fi Assistent'

Change-Id: Ib4de956f2ea29709d0212fbcb392815644800e78
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
1b707e1788e3a2be6f341b3d02e4c5700efd7fee 02-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit '78d94b8' into merge_yet_again
05d04f448d8e2d44f9eae8e54f17a7bdf57ca1f7 02-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit 'b151395' into merge_yet_again
33f9ad2442844df078dde3ae67961e7132a8a48d 31-Mar-2015 Vinit Deshpande <vinitd@google.com> When user preference doesn't exist, use built-in security preference

This change implements wpa-personal/enterprise over passpoint over
open network preference by including it as default user preference.
If user preference is present, then it is used, when it is not
present this peference is used.

Change-Id: Iae9e9dd0c33baed85f43361514fd42f34533c5f4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
25ee2d5d30434712b28aef6eec9460035101e493 31-Mar-2015 Vinit Deshpande <vinitd@google.com> Stop using scanResultCache, and move to ScanDetailCache

Change-Id: I28898eb8f1dfc0b8d6a8f9029e94784e99565fa1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
1d38d75ab764e0d1f89154e34a3fab5b95f2c618 27-Mar-2015 Vinit Deshpande <vinitd@google.com> Fix a crash in WifiStateMachine

Bug: 19949563

Change-Id: I8fc910154783028b57ea3239a79af3376cb1edd9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
e9f41b0c0220c689f7468c1b2149db7ec1995e32 11-Dec-2014 Jean-Michel Bachot <jean-michel.bachot@intel.com> EAP-AKA' : Implementation in WiFiStateMachine

Use external SIM processor:
retrieve AKA' challenges responses from Telephony stack
Inject AKA'challenges responses to wpa_supplicant

Change-Id: Ic103b25ad58807eebd5e0f8eefe3bfc02397aedc
Signed-off-by: Jean-Michel Bachot <jean-michel.bachot@intel.com>
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
ea1222cb493a909abdf7066195284efe0d39533a 13-Nov-2014 Honore Tricot <honorex.tricot@intel.com> fix EAP-SIM End-to-End issue

- fix connection issue when sim type is SIM
- avoid challenge attempts when RAND is empty that cause telephony exception

Change-Id: I71dd1f4804e406731d5b84fc792acabc0ee60e8d
Signed-off-by: Honore Tricot <honorex.tricot@intel.com>
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
f97140d51d14ce0659d381f443c08dbd94dfea28 12-Nov-2014 Honore Tricot <honorex.tricot@intel.com> WIFI: EAP-AKA End-To-End

- Decode UMTS-AUTH form of CTRL-REQ-SIM request
- manage UMTS authentication
- cleanup useless code
- make Native API simAuthResponse usable for both
EAP-SIM and EAP-AKA

Change-Id: Ie24c59d87ba2e6a17a0da25fa3d58803aab423f9
Signed-off-by: Honore Tricot <honorex.tricot@intel.com>
Signed-off-by: Abdelmajid MLAYEH <abdelmajidx.mlayeh@intel.com>
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
ad607d99c372160c7d4b38e755e1b47d6419856e 07-Nov-2014 Honore Tricot <honorex.tricot@intel.com> EAP-SIM: handle dynamic identity request [DO NOT MERGE]

Manage the identity creation based on IMSI and 3gpp realm

Change-Id: I4e9c9e23886729592af941d11c798f2583444925
Signed-off-by: Honore Tricot <honorex.tricot@intel.com>
Signed-off-by: Abdelmajid MLAYEH <abdelmajidx.mlayeh@intel.com>
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
f9f7c4ceed78d380a78c2d79a2af3d0cf473e065 25-Mar-2015 Prerepa Viswanadham <dham@google.com> Fix build after m-wireless-internal-release merge

Change-Id: I79ad5b380c06d2096c19328c4f4258abe110c8d8
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
84a11a3d54b7c6f043dcf7a874b7c0d45709677a 24-Mar-2015 Pierre Vandwalle <vandwalle@google.com> add WiFi energy calculation

Change-Id: Ic368558be45eed7c1c49096966917166b641d1ac
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
e9418ca9dd1975f84260e491a041cac87381693c 24-Mar-2015 Prerepa Viswanadham <dham@google.com> Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge

Change-Id: Id9033b0a7d6bd3c8ecab1648fc8c67feae18c41c
939177ff615062ec826601d536466875d8457375 23-Mar-2015 xinhe <xinhe@google.com> add Framework for set country code through HAL

Bug:19896389
Change-Id: Idc92e11b75db71ab6b9bc7ee54889bd41c68b9ce
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
418d56ca82dbb35f51c866d4d1069979859ecf3e 20-Mar-2015 Vinit Deshpande <vinitd@google.com> Handle bad IEs coming from APs more gracefully

Bug: 19788443
Change-Id: I0c781c74878b57933777171e3c6230d88cb42a1a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
0047ccf563baa288777e06c6fe95d3681fcf5ccd 18-Mar-2015 Vinit Deshpande <vinitd@google.com> More bug fixes to enable passpoint

Change-Id: Icbf65a731c93deecc49178f9628b1ee3a9c91a00
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
7f3218ac0469ec2064253325708fe17550b43dfa 19-Mar-2015 Vinit Deshpande <vinitd@google.com> Disable user consent for connecting to app-added networks

Bug: 19829426
Change-Id: I6d19600fdf5e2707be0cb11d57c22de2170f04c2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
a0d34d3626bd9631039a485d2d428b1b7de390e2 19-Mar-2015 Pierre Vandwalle <vandwalle@google.com> initial logger stuff

Change-Id: Ie08d4184efe40c91969914ce84a1a6f1d255ec21
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
398823d45a240ff90ff2ffab3ff4a8b8646f24c9 19-Mar-2015 Jan Nordqvist <jannq@google.com> Fixed bug in IE parser.

Change-Id: I607081f2a651a7859b53f4b5cdda46c48e1e6480
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
d3fb9cbb12d013dd70e672ace5c41ab18a3679a0 18-Mar-2015 Vinit Deshpande <vinitd@google.com> Connect to passpoint end-to-end

Change-Id: I9bdec486b2a5963ce8858ad1ed322f6d62e6349f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
f5d683bceb3aff47282636e425425f3733c0b45f 18-Mar-2015 Pierre Vandwalle <vandwalle@google.com> export API to disable autojoin scan initial implementation
automerge: e2614ba

* commit 'e2614ba1b774529ee68cc4ac189f7492cff89db3':
export API to disable autojoin scan initial implementation
fea443b1b8807443544dfdb29a9c237b3ccf964a 17-Mar-2015 Jan Nordqvist <jannq@google.com> Tightened up and moved IE parse syntax checking.

Change-Id: I5e764dfb4f4d2d83466ee9659da86679bed403e7

Fixed up previous check in.

Change-Id: I8ef944b23d3cb6c8c426377442890bc366593e47
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
660c10ba84cfa370896750855511d81b50759313 05-Mar-2015 Lorenzo Colitti <lorenzo@google.com> Support using the Java DHCP client.

Change-Id: I296d1481d79cc22420b98a9455f86fd80d02e694
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
8401b58cd0198a8068cd6ad90215e3cd7fb2c5d0 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "add 2 side RTT support on scan"

merged from goog/mirror-m-wireless-internal-release
243931f add 2 side RTT support on scan
8b63d114d1cbfd270f6d2f07675fafa3183b38c7 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "HS20: Selection code moved to WifiAutoJoinController"

merged from goog/mirror-m-wireless-internal-release
ef1567e HS20: Selection code moved to WifiAutoJoinController
494ea3f652ebb1f5fd626848000a7e52fa1260fe 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "break missing for P2P_CONNECTION_CHANGED"

merged from goog/mirror-m-wireless-internal-release
8433fd1 break missing for P2P_CONNECTION_CHANGED
3346645330acde6a938289c47654b0a524205100 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "country code setting broken"

merged from goog/mirror-m-wireless-internal-release
80d14d6 country code setting broken
ec544b277cb2444f66fa1738027874e057048061 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Integrate passpoint with existing Wifi infrastructure"

merged from goog/mirror-m-wireless-internal-release
77f2b82 Integrate passpoint with existing Wifi infrastructure

Change-Id: If4e54914a5c2c37733e488969e85a3a8312bb71d
a4decb57ff612b21dade7c732f0a73dd4081947a 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Unable to see Tethering/portable Hotspot SSID"

merged from goog/mirror-m-wireless-internal-release
b830d76 Unable to see Tethering/portable Hotspot SSID
9b5fbb7be00bbd41d4efdb1ac6c641f4628b0cd9 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "get channel list from driver for SoftAP channel selection"

merged from goog/mirror-m-wireless-internal-release
8262822 get channel list from driver for SoftAP channel selection
0f7a675fa6a6d12db478d0ddb413cbe9e151a478 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "send network state changed broadcast when BSSID change"

merged from goog/mirror-m-wireless-internal-release
e7c2a0e send network state changed broadcast when BSSID change
e2614ba1b774529ee68cc4ac189f7492cff89db3 13-Mar-2015 Pierre Vandwalle <vandwalle@google.com> export API to disable autojoin scan initial implementation

Change-Id: I504f135ab91c5e483a92306a9b96d70b80f11362
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
a7992ef326a670a5a3ae7ccfe6da41649f672104 13-Mar-2015 Vinit Deshpande <vinitd@google.com> am "add 2 side RTT support on scan"

merged from partner/m-wireless-wifi-dev
243931f add 2 side RTT support on scan
2b4e16a18872d4fd2d562aa3196641b07218ef50 10-Mar-2015 Vinit Deshpande <vinitd@google.com> Merge "Workaround multiple onClick events"
4f5ea4c36f490f9427b49b7818deda15a8ef9b94 09-Mar-2015 Vinit Deshpande <vinitd@google.com> Workaround multiple onClick events

User consent dialog box's onClick() event may get called multiple
times on certain occassions. This results in newMessage being sent
twice; which isn't correct.

This change works around that problem by making onClick() work only
on first try. Subsequent onClicks() are ignored.

Bug: 19641226
Change-Id: I6e6ff8cf6921c53670db1f4dfca28b45dd384268
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
a5c1a1d6af3ce2586f41cf44477837a7488d600c 07-Mar-2015 Vinit Deshpande <vinitd@google.com> am "HS20: Selection code moved to WifiAutoJoinController"

merged from partner/m-wireless-wifi-dev
ef1567e HS20: Selection code moved to WifiAutoJoinController
5268e39bcc84eca60a42c98a623583cb3e89206e 07-Mar-2015 Vinit Deshpande <vinitd@google.com> am "break missing for P2P_CONNECTION_CHANGED"

merged from partner/m-wireless-wifi-dev
8433fd1 break missing for P2P_CONNECTION_CHANGED
e1e919cdd71dc4ec0d852e0ba62a1901e6c51e33 07-Mar-2015 Vinit Deshpande <vinitd@google.com> am "country code setting broken"

merged from partner/m-wireless-wifi-dev
80d14d6 country code setting broken
171bc9b46cd9443088412dd3234b220f4d757524 07-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Integrate passpoint with existing Wifi infrastructure"

merged from partner/m-wireless-wifi-dev
77f2b82 Integrate passpoint with existing Wifi infrastructure

Change-Id: I20355d2554ee38509c21aa954d21435c6b9a3716
b67b04466e7b85e9d8150d473088a9a59784220d 07-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Unable to see Tethering/portable Hotspot SSID"

merged from partner/m-wireless-wifi-dev
b830d76 Unable to see Tethering/portable Hotspot SSID
26a5c2826a5a00aa4ed577b038fb34eabf767df5 07-Mar-2015 Vinit Deshpande <vinitd@google.com> am "get channel list from driver for SoftAP channel selection"

merged from partner/m-wireless-wifi-dev
8262822 get channel list from driver for SoftAP channel selection
3241c8afcaaed22eb33f9f2aa9e8a6e25ddde335 07-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Enable DFS"

merged from partner/m-wireless-wifi-dev
0465ff5 Enable DFS
f959e53fa53b108a093cfb88f545f14d2ee92fc7 07-Mar-2015 Vinit Deshpande <vinitd@google.com> am "New Additions to WifiScanner APIs [DO NOT MERGE]"

merged from partner/m-wireless-wifi-dev
83a674a New Additions to WifiScanner APIs [DO NOT MERGE]
243931f3474f6235cfcf5c1a55fa2f192ee264ae 02-Mar-2015 xinhe <xinhe@google.com> add 2 side RTT support on scan

Bug:19533713
Change-Id: I3076cba3c7c7d5f234caa7e35ab96dd3f7471aa2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
1e6b232eb572189f976a7813c3b770752be8e3b7 03-Mar-2015 Vinit Deshpande <vinitd@google.com> am 9dadadf7: Resolved conflicts for merge of commit \'c8d832c4\'

* commit '9dadadf7087f9226817712156ce0fe09f350196b':
EAP-SIM: handle dynamic identity request
6cf462d04c29b789f1dd9ce58f966e9a65b70f74 05-Feb-2015 Pierre Vandwalle <vandwalle@google.com> send network state changed broadcast when BSSID change

Change-Id: I1920d8656a9db0aead90787b5049106a5e7ab538
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
9dadadf7087f9226817712156ce0fe09f350196b 02-Mar-2015 Vinit Deshpande <vinitd@google.com> Resolved conflicts for merge of commit 'c8d832c4'

Change-Id: Ic887b530f9e73cc25249d9b380581712392241fb
ef1567e413c9ed5f5c4fdb9e354861632f7b2f87 25-Feb-2015 Jan Nordqvist <jannq@google.com> HS20: Selection code moved to WifiAutoJoinController

Change-Id: Ic2f713758ec20f98f63d55b4a610e4dca07742fb
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
8433fd1fc75809033bdd207e80a044b1badfa7b7 26-Feb-2015 xinhe <xinhe@google.com> break missing for P2P_CONNECTION_CHANGED

Bug:19517516
Change-Id: I4368b81b8e757c7223f686070ecdbb0be312a191
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
80d14d67a956e6c69433470aaa73100898166efa 24-Feb-2015 xinhe <xinhe@google.com> country code setting broken

On branch xin_country_code_opt

Bug:19462483
Change-Id: I18ff2d4d5dc16049386d1e60b82da13a97bb887f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
77f2b82a2e80af8da52c22d69a76def6d4209757 14-Feb-2015 Jan Nordqvist <jannq@google.com> Integrate passpoint with existing Wifi infrastructure

This change hooks passpoint with rest of the wifi infrastructure.

It includes changes related to passing ANQP and other passpoint
information along with scan results and various fixes to parsing
and selection logic.

Change-Id: Id15ef1aea65dedab3e8e3df0c8a7515974c94021
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
b8cb150b17b7453d240bbbeb02a0a74353b11b23 07-Nov-2014 Honore Tricot <honorex.tricot@intel.com> EAP-SIM: handle dynamic identity request

Manage the identity creation based on IMSI and 3gpp realm

Change-Id: I4e9c9e23886729592af941d11c798f2583444925
Signed-off-by: Honore Tricot <honorex.tricot@intel.com>
Signed-off-by: Abdelmajid MLAYEH <abdelmajidx.mlayeh@intel.com>
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
b830d76fbf5fa4077531b516066faa2fdbb92e81 12-Feb-2015 xinhe <xinhe@google.com> Unable to see Tethering/portable Hotspot SSID

Bug:19335638
Change-Id: I4b889841b341d3d9b24faab8bc5dd18b508070cd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
826282265badbd85c5386573fbced1755696fe83 05-Feb-2015 xinhe <xinhe@google.com> get channel list from driver for SoftAP channel selection

Instead of hard coding the available channel list, we should
get channel list from driver

Bug:19237543
Change-Id: Ibe1fbbdc39a6cf69a0b36cfb9c6b63025d0b914d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
e7c2a0e042faf1e617771d19b5055046658889a3 05-Feb-2015 Pierre Vandwalle <vandwalle@google.com> send network state changed broadcast when BSSID change

Change-Id: I1920d8656a9db0aead90787b5049106a5e7ab538
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
faa2ce7f93eef2c436796fb1ea3574e2d1412491 23-Jan-2015 Robin Lee <rgl@google.com> Remove wifi configs when secondary user is deleted

If any WiFi configs have been created for a secondary user then these
should be cleaned up when the user is deleted from Settings.

Bug: 18927999
Change-Id: If4a37085f1b82f30e5f4b44c7f597f4b2d620501
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
0465ff513cdccf7e883a505e14c5b78758e7e458 13-Oct-2014 Vinit Deshpande <vinitd@google.com> Enable DFS

Change-Id: I4a9bc8d6587063388ee763fe31e669cddcad24d0
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
b4536bc5963dec0b2a6ae0ece3518a62e8aff87f 29-Jan-2015 vandwalle <vandwalle@google.com> am e828e7a7: am 4fa99f57: aggressively blacklist WifiConfiguration for the purpose of switching network

* commit 'e828e7a7f186e57c7709fc30eb6e8dcb5fadab0b':
aggressively blacklist WifiConfiguration for the purpose of switching network
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/WifiStateMachine.java
2e53cbdfeb11c86efea51581b8c5645eff8b1fd5 16-Jan-2015 vandwalle <vandwalle@google.com> am 2f404382: am 80aa8fb1: Merge "prevent null BSSID being inject as scan results Bug:18917134" into lmp-mr1-dev

* commit '2f404382dc1deee76b00d0d03cad2fdf74d543ce':
prevent null BSSID being inject as scan results Bug:18917134
80aa8fb1a21a6df522235287d7b6835cc46310e2 16-Jan-2015 vandwalle <vandwalle@google.com> Merge "prevent null BSSID being inject as scan results Bug:18917134" into lmp-mr1-dev
2f05eff93e2503c9f29a0d7ede62c71c430ccf5f 12-Jan-2015 vandwalle <vandwalle@google.com> prevent null BSSID being inject as scan results
Bug:18917134

Change-Id: I0c4d0a2bd5383bac473a588af89589bf70f47c6c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
15bdc5956c2d949e4ea549586903bae87134d8da 13-Jan-2015 Erik Kline <ek@google.com> am d593afb2: am e98d4c27: Merge "Disconnect if we had IPv4 and lost it." into lmp-mr1-dev

* commit 'd593afb2ed618cf456c53a27f18dcf68a92abd8a':
Disconnect if we had IPv4 and lost it.
e98d4c2729d25123d6b6063e8f1b05e9ce3ca0da 13-Jan-2015 Erik Kline <ek@google.com> Merge "Disconnect if we had IPv4 and lost it." into lmp-mr1-dev
83a674a18c84ff4f01377bbfd8988699dec93bc2 31-Oct-2014 Vinit Deshpande <vinitd@google.com> New Additions to WifiScanner APIs [DO NOT MERGE]

Added single shot scan, and maxScansToCache. Also fixed getScanResults()
to report scan results to listeners.

Bug: 18087596
Bug: 17694040
Bug: 18059273

Change-Id: Id623ab9ee2ab89c86a35082279331fa609016347
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
ac9667902d52ef3efdb53125080419fbbdc7ba80 07-Jan-2015 Erik Kline <ek@google.com> Disconnect if we had IPv4 and lost it.

More specifically, the DHCP_FAILURE case is entered when a
DHCPv4 RENEW fails. Even though we would connect to a network with
no IPv4, when roaming to a "same network" and losing IPv4 it's
probably better to disconnect and start afresh.

Bug: 18867306
Change-Id: Ie667b4f0481ae0510d0dc00db819f4e5d43d98a9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
97f6c1c10eef560abd8843282bb6de60d8b499f2 06-Jan-2015 Jeff Davidson <jpd@google.com> am 938e29e7: am 1456ea5d: Merge "Split untrusted NetworkFactory from regular one." into lmp-mr1-dev

* commit '938e29e7c973cb209904e78f2a73f503fa2984c9':
Split untrusted NetworkFactory from regular one.
1456ea5d08ed5a4e697b58ededde4b5a90809d76 06-Jan-2015 Jeff Davidson <jpd@google.com> Merge "Split untrusted NetworkFactory from regular one." into lmp-mr1-dev
e01c64d3cef3561489915a59c756b505690bb7a9 06-Jan-2015 vandwalle <vandwalle@google.com> am 84d31d03: am 104a9803: Keep AutoJoin enabled when user has manually selected a network Bug:18865214

* commit '84d31d03871672ca4ca28c5c8df33d9710d70163':
Keep AutoJoin enabled when user has manually selected a network Bug:18865214
104a9803187593ab25d3784b420077022686dbe4 29-Dec-2014 vandwalle <vandwalle@google.com> Keep AutoJoin enabled when user has manually selected a network
Bug:18865214

Change-Id: Iae9297cd50ebaf12217d12e4c5d55ae05316e917
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
ebe870ef4051da2fc307114ed3c14927f548d9d4 20-Dec-2014 Jeff Davidson <jpd@google.com> Split untrusted NetworkFactory from regular one.

This ensures that we see all requests for untrusted networks.

Bug: 18815795
Change-Id: I9aaba6095b934fee27a27b20fa3adb2a10648e80
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
40b037205b28f5a257f0f690a0c39001ffabebfb 19-Dec-2014 vandwalle <vandwalle@google.com> am e25ab227: am e0230c82: Merge "add debug logs to confirm network flapping issue is fixed Bug:18706288" into lmp-mr1-dev

* commit 'e25ab227ca1c9f660dc5b464e28dbe01545a469d':
add debug logs to confirm network flapping issue is fixed Bug:18706288
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/WifiStateMachine.java
481e24957680f083af7d235a5bebd678b673b6bd 15-Dec-2014 Vinit Deshpande <vinitd@google.com> Merge changes I8a6da542,I9f51a282,I4a9bc8d6,I84c31743

* changes:
New Additions to WifiScanner APIs
WifiScanner: Fix typo that generates events too quickly
Enable DFS
Introduce onLost event on bssid hotlist
cb4fcdd41d22ee8733e60aa8ce96f9cbaafeae9f 15-Dec-2014 Prem Kumar <premk@google.com> am 0a9e097e: am 4ff7838d: Merge "autojoin scanning + P2P - discard autojoin scan when both infra and P2P are connected - reduce autojoin scan period when P2P is connected and infra is disconnected Bug:18692653" into lmp-mr1-dev

* commit '0a9e097e3b67bd54d1c405d93786a80031f71ec6':
autojoin scanning + P2P - discard autojoin scan when both infra and P2P are connected - reduce autojoin scan period when P2P is connected and infra is disconnected Bug:18692653
c591ab3b5ff4ac8dade1c7eb88ec83f3572f999b 31-Oct-2014 Vinit Deshpande <vinitd@google.com> New Additions to WifiScanner APIs

Added single shot scan, and maxScansToCache. Also fixed getScanResults()
to report scan results to listeners.

Bug: 18087596
Bug: 17694040
Bug: 18059273

Change-Id: I8a6da5426561e22e72d1e99c5537205b893077dd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
90b902d2b5c02af02edd7e60f385196af8823128 13-Oct-2014 Vinit Deshpande <vinitd@google.com> Enable DFS

This change enables DFS channels on the underlying device
if background scanning features (GScan features) are supported.

Change-Id: I4a9bc8d6587063388ee763fe31e669cddcad24d0
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
a1c02f0a73ee35e198e2652cd65b8830a163d9dd 10-Dec-2014 vandwalle <vandwalle@google.com> autojoin scanning + P2P
- discard autojoin scan when both infra and P2P are connected
- reduce autojoin scan period when P2P is connected and infra is disconnected
Bug:18692653

Change-Id: Id1891e6a9f2863d8876915cfefd158fb1712b8fe
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
5ced0cedc941433da1e73e256138feba621fe7b5 10-Dec-2014 Prem Kumar <premk@google.com> am e3f48c70: am 4724608d: Merge changes I0d49fa29,I0acacd3f into lmp-mr1-dev

* commit 'e3f48c70338438ddcf9542b92032e966f84ca5a3':
rework scan logic so as to make use of delayed messages instead of scan alarm
reenable disabled config after a few minutes
03ffb1fd6ac5c8791e993b8a7864824a5660f63d 10-Dec-2014 Jeff Davidson <jpd@google.com> am d3a842ad: am a63fbdbb: 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

* commit 'd3a842ad0052903fe94b745630dc20cb70ea4058':
- keep track of ephemeral configurations that are deleted by user - make sure we cleaned up prior ephemeral WiFiconfiguration from wpa_supplicant.conf Bug:18525241
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/WifiStateMachine.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/WifiStateMachine.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/WifiStateMachine.java
b7f4073305a57c4705de7a2c7518865d79f7bbc9 01-Dec-2014 Dianne Hackborn <hackbod@google.com> am 973a14c6: am 935a9c0c: Work on issue #18118255: StateMachine aggressively keeping its own logs...

* commit '973a14c6ec978860dc173225c15894fdb38cc270':
Work on issue #18118255: StateMachine aggressively keeping its own logs...
935a9c0c9e091829ac359a6d99ae3bd69fe9041b 26-Nov-2014 Dianne Hackborn <hackbod@google.com> Work on issue #18118255: StateMachine aggressively keeping its own logs...

...(512KB RAM, 10K objects)

Pull this back to 300 entries on Svelte devices... we also need to reduce
this on non-Svelte devices, but at least right now we desperately need it
fixed on Svelte.

Change-Id: I301bf8a4637c066166a5a69c178d581c072b8dc5
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
48a7f5e6dc66c4aae8a12f2d745440b52a11b859 26-Nov-2014 vandwalle <vandwalle@google.com> am ebc42f07: am 0eae6501: Merge "remove dfs channel from location restricted scans" into lmp-mr1-dev

* commit 'ebc42f079714a576e302d228a7278e89bb8bb44d':
remove dfs channel from location restricted scans
304a92524235e70e52023eb9c48bbdb167ebe03f 26-Nov-2014 vandwalle <vandwalle@google.com> am 41ec35fc: am 9f2b1162: register network factory before processing scan results Bug:18512598

* commit '41ec35fc3a0a924a451a2d32b0a4695cd906fe28':
register network factory before processing scan results Bug:18512598
0eae6501fd8144806ab5598bc8e3210f2b18769f 26-Nov-2014 vandwalle <vandwalle@google.com> Merge "remove dfs channel from location restricted scans" into lmp-mr1-dev
5363eb4d62eb9da63021f5b4d07c5ee5d62353b9 26-Nov-2014 vandwalle <vandwalle@google.com> am 8ecac289: am 833dcce8: - dont loose explicitely selected bit when autojoining same network - use scorer only for untrusted networks Bug:18490330 Bug:18368125

* commit '8ecac289ffb059d419a8da62d412641684b748b5':
- dont loose explicitely selected bit when autojoining same network - use scorer only for untrusted networks Bug:18490330 Bug:18368125
9f2b11623eec3b20edc93e30f94b263f287a4ca3 26-Nov-2014 vandwalle <vandwalle@google.com> register network factory before processing scan results
Bug:18512598

Change-Id: I79aa972f686f2c4090012a36dcad13a9e53d5566
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
9086afccf6938a49eb9a2cd248917c1cb0943942 22-Nov-2014 vandwalle <vandwalle@google.com> remove dfs channel from location restricted scans

Change-Id: I387816c8682e9f595229ecbb20c35711ea1f069b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
69ca60b59dcaa83a40252615dc11e3bb06f72ee0 20-Nov-2014 vandwalle <vandwalle@google.com> am 98c7b2d0: perform regular autojoin when turning wifi on Bug:18451553 automerge: 68fee36

* commit '98c7b2d0a913c281893b54a43016a66f00006ea1':
perform regular autojoin when turning wifi on Bug:18451553
8d2fd4c1adfb5ab6466d12cbbd21cf6ce9aeddbe 19-Nov-2014 Vinit Deshpande <vinitd@google.com> am bf7ed9bb: am f5a84fcd: Trigger auto-join from WifiManager.reconnect()

* commit 'bf7ed9bbca430d1a38e345240033ad8695611239':
Trigger auto-join from WifiManager.reconnect()
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/WifiStateMachine.java
f5a84fcd66298ee6e96b781d2645422a1571ac07 18-Nov-2014 Vinit Deshpande <vinitd@google.com> Trigger auto-join from WifiManager.reconnect()

Bug: 17397676

Change-Id: I0356c363b90a40a9f9424cf9c50e0d9f1c370414
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
4aee7baf77559f7476f21f074cecc08108893eaf 15-Nov-2014 Vinit Deshpande <vinitd@google.com> am 5c1d284b: Merge "Fix connections to unintended networks" into lmp-mr1-dev automerge: 1d1a18d

* commit '5c1d284ba7969107f0b3b6cdb2374623f2458819':
Fix connections to unintended networks
1da241d9e9330e9be2bcbed47bbfa4fbc88e205c 15-Nov-2014 Vinit Deshpande <vinitd@google.com> am ffaf3736: Merge changes I578e0d92,I248695b2 into lmp-mr1-dev automerge: 69f6bd2

* commit 'ffaf3736ec197b62e38d2b248cbed494f4ec70d4':
Handle bad WifiHAL implementation
Don't allow SCAN_REQUEST broadcast to launch apps
1d1a18d00e2dfd8b29aee3e3ea48d188c5b630ff 15-Nov-2014 Vinit Deshpande <vinitd@google.com> Merge "Fix connections to unintended networks" into lmp-mr1-dev
69f6bd2ac21ce836de0aa728b887f74addaf8caa 15-Nov-2014 Vinit Deshpande <vinitd@google.com> Merge changes I578e0d92,I248695b2 into lmp-mr1-dev

* changes:
Handle bad WifiHAL implementation
Don't allow SCAN_REQUEST broadcast to launch apps
6defffe263ba70f966477068cb05808672fe4188 14-Nov-2014 vandwalle <vandwalle@google.com> am e7c1afb7: Merge "check for null pointers when processing CMD_START_SCAN" into lmp-mr1-dev automerge: db65f52

* commit 'e7c1afb724650c9bdfcc35e0e3f1fb886ffa49dc':
check for null pointers when processing CMD_START_SCAN
db65f5219f9664b64a9ba40e042c9283c5a4f985 14-Nov-2014 vandwalle <vandwalle@google.com> Merge "check for null pointers when processing CMD_START_SCAN" into lmp-mr1-dev
9ac6950280ea6cefb8f9f3be9cc98d00d8b91585 14-Nov-2014 vandwalle <vandwalle@google.com> fix broken build

Change-Id: I2d0cf58361b7b7b723d2e09d4c6a53c0b5d4e24b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
26c480abf7155ea69feea08a4e2a44f481aa3a90 13-Nov-2014 Jeff Davidson <jpd@google.com> Fix call to startScan for untrusted setting change. automerge: d406991
automerge: 828be4f

* commit '828be4fca5e2f51dc481a3188f64663f4e4d05cc':
Fix call to startScan for untrusted setting change.
43f539138be53a3884ce7b97b4d961ce6edee957 13-Nov-2014 vandwalle <vandwalle@google.com> resolve merge conflicts of 75b687a to master.

Change-Id: I1647a8be129a71bef2fcf2b3cad001a2d7c183b3
12ecdb7b85152b47a5469f0942f3e9d811d6d90b 13-Nov-2014 vandwalle <vandwalle@google.com> check for null pointers when processing CMD_START_SCAN

Change-Id: Icc3bcb37d181e6f28673808d5c3239d18c6a482f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
d406991cea796c4b75e484bd0d47a85a0f8a4dae 13-Nov-2014 Jeff Davidson <jpd@google.com> Fix call to startScan for untrusted setting change.

Bug: 18221007
Change-Id: Idb526b1f275100ab2a004e7923a032f2e98db6de
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
cce5b9e0eded28096991578e020883484ece8c54 11-Nov-2014 Vinit Deshpande <vinitd@google.com> Fix connections to unintended networks

This change fixes a bug in Wifi state machine - it unintentionally
enables all the networks and results in connecting to a network that
may not have been chosen by AutoJoinController.

Bug: 18266514

Change-Id: I0d5d274819194c0eea4f3812d506a92899f3eb54
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
cc9395f7b604c626e8c45021b52dad3abff9bd18 07-Nov-2014 Vinit Deshpande <vinitd@google.com> Don't allow SCAN_REQUEST broadcast to launch apps

This change sets the package to Wifi package for all the timer
broadcasts it schedules. This way, the alarm manager won't wake
up any other apps.

Bug: 17611296
Change-Id: I248695b2c4763c799b730a236945e91757dfde16
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
13672de1d2124fcfb5bd03ebc962eae1ac75816b 12-Nov-2014 vandwalle <vandwalle@google.com> am 56c30f09: Merge "dont blacklist wifi config that have had validated internet status in the past" into lmp-mr1-dev automerge: f93f774

* commit '56c30f0998360fb4690538b90393eb92bb9a8ad3':
dont blacklist wifi config that have had validated internet status in the past
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/WifiStateMachine.java
9dac0da5b0c6fefa7f8b4e182faac955df9ff9b3 06-Nov-2014 Jeff Davidson <jpd@google.com> resolved conflicts for merge of 67930f53 to master

Change-Id: I7ec4cd0db477678376dd0cd605bfcd529651be8d
6b7f403e4cef10029159c75bc311142a56099aef 06-Nov-2014 Jeff Davidson <jpd@google.com> Merge "Support conversion of untrusted networks to trusted." into lmp-mr1-dev
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/WifiStateMachine.java
d15374d956a4143ebb851f9ca4910651bd47d7a8 04-Nov-2014 vandwalle <vandwalle@google.com> am 8ae8e251: am 917a6ea4: Merge "propagate noInternetAccess flag and network status" into lmp-mr1-dev

* commit '8ae8e251bf521e8eeb5ad65467cc4e37c42a3c6f':
propagate noInternetAccess flag and network status
917a6ea431a8137e7ceba46ec9efc84c68882dc0 04-Nov-2014 vandwalle <vandwalle@google.com> Merge "propagate noInternetAccess flag and network status" into lmp-mr1-dev
cdc5b747a9c6ff40a38a66bdd8f86dbf11852a7a 04-Nov-2014 vandwalle <vandwalle@google.com> propagate noInternetAccess flag and network status

Change-Id: I7a1ac684c11c3ef93462e02cfc9d6fde3c9b81d7
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
d2005e9fa1097b19857aa92dda5e658a07167cc5 31-Oct-2014 vandwalle <vandwalle@google.com> am 727b9213: am efad8ec6: read packet counters before and after DHCP

* commit '727b9213ba72cd2fc45811ef72d25966f70add9a':
read packet counters before and after DHCP
e50ba6f0a30a4e02618b3c9f9d5ad0320a5c264e 30-Oct-2014 Erik Kline <ek@google.com> am 371b6415: Merge "Make isProvisioned() use LinkProperties\' concept of same." into lmp-mr1-dev automerge: cfa3bfe

* commit '371b6415f3fca768373ec340fb6a78a21f6badb5':
Make isProvisioned() use LinkProperties' concept of same.
6d98e3970d8263f7694ad621d755e72c74c9c468 30-Oct-2014 vandwalle <vandwalle@google.com> am 9130e936: print both uptime and milli since boot in the wifi state machine logs automerge: b512032

* commit '9130e93659b974b20756145b0064623c02ed45c5':
print both uptime and milli since boot in the wifi state machine logs
500ab3844f536a8c577a0025266bafb493e4789f 30-Oct-2014 vandwalle <vandwalle@google.com> am 7a05688a: am f9715cc1: 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

* commit '7a05688a05b34ae33c0a305f3d3b3fc78ce0b00f':
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
efad8ec6cb12e5658ee0288cc7e5aa755267aeb6 30-Oct-2014 vandwalle <vandwalle@google.com> read packet counters before and after DHCP

Change-Id: I0c1d94a6d687c2788b71523adae01cde59d34aa7
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
cfa3bfefdaebf6213a067fa2fc6e377b4f25605a 29-Oct-2014 Erik Kline <ek@google.com> Merge "Make isProvisioned() use LinkProperties' concept of same." into lmp-mr1-dev
b5120326b58f35217dcedc5f19e8cf3eb42b28d0 29-Oct-2014 vandwalle <vandwalle@google.com> print both uptime and milli since boot in the wifi state machine logs

Change-Id: I5521b59efcf1c3fb6d0e2dc62b3db92a27c49ebd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
553f8e37a484fdda61281a0993da59c36de6d26c 28-Oct-2014 Lorenzo Colitti <lorenzo@google.com> am a851b6fc: Merge "Don\'t connect if the NetworkFactory has not requested it." into lmp-mr1-dev automerge: 27fec00

* commit 'a851b6fcb7601d6dd9dcc5793383faafbe8d924e':
Don't connect if the NetworkFactory has not requested it.
0af9c80053bd2736d5bea095b363d6a0c8ce71d0 22-Oct-2014 Lorenzo Colitti <lorenzo@google.com> Don't connect if the NetworkFactory has not requested it.

This fixes persistent oscillations that occur if Ethernet is
plugged in, where wifi connects, gets torn down because its
score is too low, reconnects, ...

Bug: 17632610
Change-Id: Icfeed9b46d97a8868b64a0be3cb83ac2884f3228
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
6d66b5730446fa4df96c6dcda8612a64ed5bf383 24-Oct-2014 Erik Kline <ek@google.com> Make isProvisioned() use LinkProperties' concept of same.

Change the concept of provisioned to rely on LinkProperties#isProvisioned,
unless a static configuration (possibly incomplete) is in effect.

Bug: 17769720
Change-Id: Ie45e45016d3b33d98097727d49b9c09349fc9021
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
9e0e2c97dc7be69ebb76017e6d3846e8fff130c6 23-Oct-2014 vandwalle <vandwalle@google.com> am 749c23d2: am c1bcb778: 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

* commit '749c23d2d7dc04dcdb8076ce81a213a86499cc72':
- 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
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/WifiStateMachine.java
be84b5394d1aefbf408a2b52aa8cb9633d9368d9 18-Oct-2014 vandwalle <vandwalle@google.com> am 327a5a8b: am dd0c5587: Taking into account user join preference more aggressively; add debug info for roaming Bug:17669859 Big:17651877 automerge: 0fd84c2

* commit '327a5a8b601a87fb565385884146ede95b444d4f':
Taking into account user join preference more aggressively; add debug info for roaming Bug:17669859 Big:17651877
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/WifiStateMachine.java
552b5e4984e7b1331e3c0f0d262196d98e49eb3c 16-Oct-2014 vandwalle <vandwalle@google.com> am 55323f85: am 0e89e053: am 6db73827: Merge "fix bssid blacklisting Bug:17960587 Bug:17966377" into lmp-dev

* commit '55323f85677f3c6aed2188fbae68154de61b1589':
fix bssid blacklisting Bug:17960587 Bug:17966377
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
6db73827acdedb707dd3e0f2fa2add833380a3b6 16-Oct-2014 vandwalle <vandwalle@google.com> Merge "fix bssid blacklisting Bug:17960587 Bug:17966377" into lmp-dev
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/WifiStateMachine.java
8a5d615e95c6e71b1db7536fb28f3142b63649cb 15-Oct-2014 Jeff Davidson <jpd@google.com> resolved conflicts for merge of fd93b4ce to master

Change-Id: I1c81c9d9a9b8d3709473ee585b5b741624babf7a
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/WifiStateMachine.java
ad9bd6cf22f910acff81b7f29e2b7ed8e6cb71b8 15-Oct-2014 vandwalle <vandwalle@google.com> am af106831: am 85f2d77b: In case of driver roaming and auth failure, allow for fast reconnect Bug:17747008

* commit 'af1068317050f861fab0c5f097cc311942c13a69':
In case of driver roaming and auth failure, allow for fast reconnect Bug:17747008
85f2d77b1b858c063471951f3a5f93c96bd5e72b 14-Oct-2014 vandwalle <vandwalle@google.com> In case of driver roaming and auth failure, allow for fast reconnect
Bug:17747008

Change-Id: I87eefc5a0952dd5f7159385aa180c02a38d92432
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
e0aacc7755f2ab48b081a1f119c05382779f306a 12-Oct-2014 vandwalle <vandwalle@google.com> am d2c137ad: am a5283c01: 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

* commit 'd2c137ad25e6e7f15570b989709b9ea9c3ff701a':
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
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/WifiStateMachine.java
6879b31beb6d899a178a3c7c10a5a37470179648 08-Oct-2014 vandwalle <vandwalle@google.com> am 7a693362: am a0708b09: 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

* commit '7a6933624b11c833632f34750e454331e0b06f96':
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
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/WifiStateMachine.java
c5199fd4dc2e0a90f7c5fd0d65185e6b2f8916ef 04-Oct-2014 vandwalle <vandwalle@google.com> am da247360: am e0ba94ba: - 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

* commit 'da2473601be1e8917868d16af96f3243516e2a2d':
- 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
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/WifiStateMachine.java
3231164e4229c4ea1ea6c26ddf9d89176c84ec61 29-Sep-2014 Vinit Deshpande <vinitd@google.com> am 21478be9: am fb097411: Merge "Don\'t fire SCAN_RESULTS_AVAILABLE broadcast for partial scans" into lmp-dev

* commit '21478be94eb0ea3dacc2bd8a8c84ca190d2edb3c':
Don't fire SCAN_RESULTS_AVAILABLE broadcast for partial scans
e487a4648dd41881e754f1224aaedead78a0777d 23-Sep-2014 Sky Faber <skyf@google.com> Separate wifi AP added by applications.

-Add dialog before connecting to an app added network
-Remove applicationss APs on uninstall
-Ban apps from modifying networks they don't own.
-Ensure app connections don't modify user preference.

Change-Id: I12943563ef714c4287e13488578f020d136d006d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
fb09741166b68bf69dbd0afb22f83a699c5f8a7e 26-Sep-2014 Vinit Deshpande <vinitd@google.com> Merge "Don't fire SCAN_RESULTS_AVAILABLE broadcast for partial scans" into lmp-dev
30165fda6725e82774dc459d006febdcda5f569a 26-Sep-2014 vandwalle <vandwalle@google.com> am 8f92aa6e: am 7736c07a: drop score more aggressively based on link speed, Bug:17514346

* commit '8f92aa6ef6a6563637ea5af4d05a00217a31f1ec':
drop score more aggressively based on link speed, Bug:17514346
765b9dc1c45bbeed87243d21cc5938bd5f1ba0d4 26-Sep-2014 Vinit Deshpande <vinitd@google.com> Don't fire SCAN_RESULTS_AVAILABLE broadcast for partial scans

This ensures that apps don't get partial scan results

Bug: 17612695

Change-Id: Id5d7b9831a54c9fc430f329b4b83b8342f5063ea
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
7736c07a4cad4e2d86e1ec2f4221c7f788c18d3a 25-Sep-2014 vandwalle <vandwalle@google.com> drop score more aggressively based on link speed, Bug:17514346

Change-Id: Ib7a09adc961d76bc5da49cfff2edd4120175562c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
429d1663e81abb122ea8f88a4e1974215bac7e45 25-Sep-2014 vandwalle <vandwalle@google.com> am 8ddd466a: am 5b56b259: Merge "- make rssi poll and wifi scan when associated configurable - fix regression when forgeting network - fix NPE in calculateWifiScore Bug:17564108" into lmp-dev

* commit '8ddd466aaf03fb8fed3f059708ae388109fdfcc4':
- make rssi poll and wifi scan when associated configurable - fix regression when forgeting network - fix NPE in calculateWifiScore Bug:17564108
df69eb27a02b72f7040ad526deacbc7fb91fa581 25-Sep-2014 Vinit Deshpande <vinitd@google.com> am f690498d: am 099e3179: Merge "Introduce config setting for scanning mac OUI" into lmp-dev

* commit 'f690498d0e5b3ec7760b05869d71c5b062b0559d':
Introduce config setting for scanning mac OUI
fc5a12a8ec685c4de2fbb67109d881b175b10898 25-Sep-2014 Sky Faber <skyf@google.com> Merge "Defer CMD_ENABLE_ALL_NETWORKS while doing WPS"
5b56b25942679fa7a608691e70d210c1032d9e4b 25-Sep-2014 vandwalle <vandwalle@google.com> Merge "- make rssi poll and wifi scan when associated configurable - fix regression when forgeting network - fix NPE in calculateWifiScore Bug:17564108" into lmp-dev
099e31798ed1c675a9ad654debac96f975ebcc82 25-Sep-2014 Vinit Deshpande <vinitd@google.com> Merge "Introduce config setting for scanning mac OUI" into lmp-dev
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/WifiStateMachine.java
65d19a33f71d729b3fab570e5f7ea49211b30cd1 24-Sep-2014 vandwalle <vandwalle@google.com> am cec01e05: am 9d082c38: inconditionally issue the reassociate command in the case of linkdebouncing, dont treat AUTO_SAVE commands coming from autojoincontroller as user triggered WifiManager.SAVE_NETWORK commands Bug:17624613

* commit 'cec01e0566bec2101f9487e7dcb67d93a051d58e':
inconditionally issue the reassociate command in the case of linkdebouncing, dont treat AUTO_SAVE commands coming from autojoincontroller as user triggered WifiManager.SAVE_NETWORK commands Bug:17624613
bbcd5def01d06d260350edaab2af5ebc38545fe3 24-Sep-2014 vandwalle <vandwalle@google.com> am 5a99c7ae: am e0aa0a00: - 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:1648

* commit '5a99c7ae08a6c8e9d74fcca19b0064145d480d24':
- 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
9d082c381274f27dad1e344223189e00148e2124 24-Sep-2014 vandwalle <vandwalle@google.com> inconditionally issue the reassociate command in the case of linkdebouncing, dont treat AUTO_SAVE commands coming from autojoincontroller as user triggered WifiManager.SAVE_NETWORK commands
Bug:17624613

Change-Id: I2c586646bd967cb2d699433b0c228210647f4ee3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
eedd70ee3fa7f161ea1f4ae26543ac927e82a681 23-Sep-2014 Vinit Deshpande <vinitd@google.com> Introduce config setting for scanning mac OUI

This setting will allow an OEMs to override the default Google OUI
for scanning.

Bug: 17468465
Change-Id: I3d9a6cf6451bcc98d0cad158bc52c7b3a52cb0ea
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
88e3bdb713f9805cf06beff662cd78a9f1d640aa 18-Sep-2014 vandwalle <vandwalle@google.com> am f125d5b5: am f17f8070: Merge "various fixes:" into lmp-dev

* commit 'f125d5b5918a18d11334fdd0f69cc9bbe63ecd81':
various fixes:
f17f8070a966778bf9e405ed50757ea929bbb545 18-Sep-2014 vandwalle <vandwalle@google.com> Merge "various fixes:" into lmp-dev
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/WifiStateMachine.java
07a875dc76b3f07afdc521ddf59d7a6774995ac5 17-Sep-2014 Robert Greenwalt <rgreenwalt@google.com> am 8a2fafdf: am fc797cf4: Merge "Add NetworkAgent event for ExplicitlySelected" into lmp-dev

* commit '8a2fafdf1fce098989044f432689d8c7f341bee0':
Add NetworkAgent event for ExplicitlySelected
fc797cf48feed42a76fccef73eeed535e1848702 17-Sep-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Add NetworkAgent event for ExplicitlySelected" into lmp-dev
892c69ee79493f381890010dcaacc01de51fb18a 17-Sep-2014 vandwalle <vandwalle@google.com> am 4999461c: am 99d385e3: set proper link quality thresholds

* commit '4999461cf9ac0097de22ab4032460408c4d81f76':
set proper link quality thresholds
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/WifiStateMachine.java
0ba396aa7f0382b369b89a55773c4e8289ab3f3a 16-Sep-2014 Vinit Deshpande <vinitd@google.com> am 5919271b: am 4d29f96e: Merge "Fix conditions that my leave ScanAlarm running in background" into lmp-dev

* commit '5919271ba37a0a7301c5302487936be3a8a94b93':
Fix conditions that my leave ScanAlarm running in background
3c935adcb556daabd6a660991de421a9e3dfe035 16-Sep-2014 vandwalle <vandwalle@google.com> am 475b44ed: am 9e806a8d: improve debugging messages & logging

* commit '475b44ed2844754d32a539127fde00004cf6ab63':
improve debugging messages & logging
4d29f96e9085b71b01edb4c3dfd2d5b0bb621fea 16-Sep-2014 Vinit Deshpande <vinitd@google.com> Merge "Fix conditions that my leave ScanAlarm running in background" into lmp-dev
7c8a4effa2442b9d00fd421b443ea9645f8651c8 16-Sep-2014 Vinit Deshpande <vinitd@google.com> Fix conditions that my leave ScanAlarm running in background

This can happen because of race - you could get DISCONNECTED from
supplicant between CMD_SCREEN_STATE_CHANGED (for screen off) and
CMD_ENABLE_BACKGROUND_SCAN - which sets the background scan. This can
cause Disconnected state to leave a scan alarm running.

This change removes that possibility by combining processing of
CMD_ENABLE_BACKGROUND_SCAN into CMD_SCREEN_STATE_CHANGED.

RTC_WAKEUP alarm is also changed to RTC when PNO is supported; so
we shouldn't wake up the AP anymore.

Bug: 17261586

Change-Id: Ic7c3dbf6ed5e042f9ed6b96349bf5ec50e509552
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
611e252f9d7ed68b65e3a921420489315781f149 14-Sep-2014 vandwalle <vandwalle@google.com> am c506481e: am 17e82884: make wifi cellular handover params configurable

* commit 'c506481edc3bf673ef9cee5816024860e3efe1ee':
make wifi cellular handover params configurable
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/WifiStateMachine.java
f9b857e8d434bf7a48b01e283c85f6662b817b34 13-Sep-2014 vandwalle <vandwalle@google.com> am 37a82283: am 0eebae73: various fixes:

* commit '37a82283cf4e4a3e27aac9b4afa38fe23fee08e2':
various fixes:
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/WifiStateMachine.java
fb7268e9a14ba1620abe12fbc702bd0bd16cb9c5 12-Sep-2014 vandwalle <vandwalle@google.com> am aa5a2e6d: am 448c9536: dont accept CONNECTION_EVENT until roaming is complete

* commit 'aa5a2e6d55625e1a910b0b336721384cb5aeddd1':
dont accept CONNECTION_EVENT until roaming is complete
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/WifiStateMachine.java
98f1919232faf062f15e28dd2ec231a483b617bb 11-Sep-2014 vandwalle <vandwalle@google.com> am 9808208c: am 2f2cf216: make autojoin configurable, clean up BSSID info that may be stake in WifiConfiguration

* commit '9808208c55150f17a7540e86350d275fa68c9a3c':
make autojoin configurable, clean up BSSID info that may be stake in WifiConfiguration
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/WifiStateMachine.java
2f53f4577684ba6e5c53c7405cae3bd8fab2a323 10-Sep-2014 vandwalle <vandwalle@google.com> am 037dd0a1: am b6defc9d: Merge "various fixes:" into lmp-dev

* commit '037dd0a1507797eea3e9a2e85cecfd32d8da0c1d':
various fixes:
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/WifiStateMachine.java
2dbf6c027271518d868ae52ad90789eb2bc3c363 08-Sep-2014 Robert Greenwalt <rgreenwalt@google.com> Add NetworkAgent event for ExplicitlySelected

Lets Wifi tell us when the user selected this AP vs auto-connected.

bug:17396168
Change-Id: I6e067ab62ed49040629aa31fe07ff880d3d542f0
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
d5eb2cb8bea63e038dfe7c406e313295cba5c3aa 08-Sep-2014 vandwalle <vandwalle@google.com> Merge "adding debug logs"
7963ee6b79a83690ee44ff53d9dbd7c192f2be47 04-Sep-2014 vandwalle <vandwalle@google.com> adding debug logs

- add debug status to WifiStatemachine message handling
- tracking scan requests: add scan request counter and addl debug information
- clean wifi packet stats when we disable RSSI polling
- count home network as >=6 BSSID for the purpose of calculating wifi score

Change-Id: Ic13ef303fdcfe60c0e27f225af4e233b9a2cffaa
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
da33411be39042247b672b854688c31a5dfbdd01 08-Sep-2014 vandwalle <vandwalle@google.com> am 823c46a0: am c9b047b4: dont debounce on locally generated disconnect

* commit '823c46a08fb8617df8e5164305785ccf761dbe3f':
dont debounce on locally generated disconnect
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/WifiStateMachine.java
35a127a1fefece50f8906cc534b24915efdd0660 08-Sep-2014 vandwalle <vandwalle@google.com> am ef302ff4: am 9f3349fa: various fixes:

* commit 'ef302ff47dac49276682ed0335189cf5b951962b':
various fixes:
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/WifiStateMachine.java
a696b72d45c777bc6ce5e3e7a98cd450b1c12579 18-Aug-2014 Sky Faber <skyf@google.com> Defer CMD_ENABLE_ALL_NETWORKS while doing WPS

Bug: 15003359
Change-Id: I3fa0dad30926ed02d9b3f8eff51a200bc5f95c5d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
2ee4ecdffaf73ed7070c3b63db1f6fc6367a26a8 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

Conflicts:
service/java/com/android/server/wifi/WifiStateMachine.java
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
ebb7e0cb4572f73325a749539d589ebdefb8635c 04-Sep-2014 vandwalle <vandwalle@google.com> adding debug logs

- add debug status to WifiStatemachine message handling
- tracking scan requests: add scan request counter and addl debug information
- clean wifi packet stats when we disable RSSI polling
- count home network as >=6 BSSID for the purpose of calculating wifi score

Change-Id: Ic13ef303fdcfe60c0e27f225af4e233b9a2cffaa
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
35b1f31d5d44c2476c475483d1b89ca5c510ce31 04-Sep-2014 vandwalle <vandwalle@google.com> am 4950bc23: am 82199a28: help debugging scan issues: - adding additional logs - make handleSCreenStateChanged a message - track sender of the CMD_GET_CONFIGURED_NETWORKS message

* commit '4950bc232d787b68a490fe4e2534719f33fcb6d3':
help debugging scan issues: - adding additional logs - make handleSCreenStateChanged a message - track sender of the CMD_GET_CONFIGURED_NETWORKS message
f4c6a897fbb61e8bb31646db6fed78b579d10574 03-Sep-2014 vandwalle <vandwalle@google.com> Merge "fix processing of CMD_SAVE_NETWORK" into lmp-dev
0ff9728ea843a291b2665c705cfe6f0357e1aa44 03-Sep-2014 vandwalle <vandwalle@google.com> fix processing of CMD_SAVE_NETWORK

Change-Id: Ia42e6f3e983f69b38f899c56afd07da1e78a10b3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
79d8f4f1e91e2315724d4d91725f865a7631b487 03-Sep-2014 Vinit Deshpande <vinitd@google.com> am 9eb8a226: am cbdd4310: Merge "Address API Council feedback for WifiAdapter/WPS APIs" into lmp-dev

* commit '9eb8a2269e1021fff345521ef980bbb4b759e186':
Address API Council feedback for WifiAdapter/WPS APIs
82199a285f4a45a46b44eb8253999aa918534753 03-Sep-2014 vandwalle <vandwalle@google.com> help debugging scan issues:
- adding additional logs
- make handleSCreenStateChanged a message
- track sender of the CMD_GET_CONFIGURED_NETWORKS message

Change-Id: I5717d07850ed563193b694a74d236bb8795fbd38
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
cbdd43105d9c12041a0b9edea714526c64542caf 03-Sep-2014 Vinit Deshpande <vinitd@google.com> Merge "Address API Council feedback for WifiAdapter/WPS APIs" into lmp-dev
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/WifiStateMachine.java
048dc8df2bd9394979dbb090b0cfe8d6627d23e3 29-Aug-2014 Vinit Deshpande <vinitd@google.com> Address API Council feedback for WifiAdapter/WPS APIs

This change addresses concerns from the API review. Things that
are fixed are -

1. WifiAdapter is removed, until we have 'real' support for it
2. All the methods from WifiAdapter are moved to WifiManager
3. Changed WPSListener API names to be onFailed/onSucceeded et al

Bug: 16403303
Bug: 17115004
Change-Id: Ie886334f9381b678deb5f0248b9a5ec21f446949
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
641219d820142a9acae8348ff33fd8c3dfcf18b1 29-Aug-2014 vandwalle <vandwalle@google.com> am 321afd3f: am f143875a: Merge "autojoin fixes:" into lmp-dev

* commit '321afd3fc55247e0e10f94b058f01fd2c705e063':
autojoin fixes:
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/WifiStateMachine.java
10ab519ea2e4a3c5665ac047fe0239939512fa6d 26-Aug-2014 vandwalle <vandwalle@google.com> Merge "remove passpoint - DO NOT MERGE" into lmp-dev
cc0016886f5cd1afeb9fbf90b6a26e8bba3aa339 26-Aug-2014 vandwalle <vandwalle@google.com> am b92bc78f: am fdde6bf4: Merge "add radio stats to link layer" into lmp-dev

* commit 'b92bc78feb4112177f28445264a93c9479576469':
add radio stats to link layer
fdde6bf4dc075b4f2807a4940edc2be694b326b6 26-Aug-2014 vandwalle <vandwalle@google.com> Merge "add radio stats to link layer" into lmp-dev
200e8ee5097134010a6edee8d031bb02ff7eeb5a 19-Jul-2014 vandwalle <vandwalle@google.com> add radio stats to link layer

This CL is dependent on I3d2a230b0362520b9f1b2bc3792260116971e106

Change-Id: If7e73ae9813ea79a98744d7f0096316d241998fd

halutil updates for link layer statistics

Change-Id: I00ea13b1a932f40891a0d65026a1c87f01f09587
Signed-off-by: Chilam Ng <chilam@broadcom.com>
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
4ae496d2dd90896e1f5b36546a27c0103bf5b6d8 26-Aug-2014 Vinit Deshpande <vinitd@google.com> am c803d224: am 042c54bf: Set scanning mac OUI for mac address rotation

* commit 'c803d224234af1debfe76142f3aefc5de281d8de':
Set scanning mac OUI for mac address rotation
3e883d5461ec819b7db51470e387c4bf0b09ce1f 25-Aug-2014 vandwalle <vandwalle@google.com> remove passpoint - DO NOT MERGE

Change-Id: Ia399d98fa7d1ecff5c06bf4802f70dc22c8e5713
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
042c54bfd5144ce8e720585b2093796e7e28de5e 21-Aug-2014 Vinit Deshpande <vinitd@google.com> Set scanning mac OUI for mac address rotation

This change enables mac address rotation feature if it is
implemented. The OUI being set is Google's OUI; which should
prevent from scanning mac addresses colliding with infra mac
addresses.

This change also stops from linking to Qualcomm's and Marvell's
WifiHAL implementation - since none of the new features are
expected to work with this HAL

Change-Id: I50979a8b20c59f5d40007eb4e0ff945e529cbb49
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
1a8a78bb228e4515fe57250baf75205048187824 23-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> am 92a4f801: am 1d799fd8: Merge "Use new config resource for tcp buffersize" into lmp-dev

* commit '92a4f8010f048d93ffd913bc37153a39b5ed0b48':
Use new config resource for tcp buffersize
1d799fd875b604be33d2aa0a879d93b4b1f79735 23-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Use new config resource for tcp buffersize" into lmp-dev
84f35d45bc81b552c89ba671951242d8422516de 22-Aug-2014 vandwalle <vandwalle@google.com> am 7b3b84c0: am 56d01781: fix spurious disconnect while associating, dont set AP configuration with NULL SSID

* commit '7b3b84c05e838552433a77919b1af4a9fdeea6bd':
fix spurious disconnect while associating, dont set AP configuration with NULL SSID
3c3c5b64726f04920109e4c8f20a1c58ea7050aa 22-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Use new config resource for tcp buffersize

bug:16549611
Change-Id: I01ecca0a2a7893c1911cead503594ce9e17fa69e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
0c97b2ae7ca30b9bcb3a0ed81fff43cd87700452 21-Aug-2014 vandwalle <vandwalle@google.com> am 34142b7c: am 0d616ef3: add roam state watchdog.

* commit '34142b7cf3f65e57e674ad41fceefd6091c341c9':
add roam state watchdog.
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/WifiStateMachine.java
f923196b37dea0cc3dee2cca1bd8537ad552232e 20-Aug-2014 vandwalle <vandwalle@google.com> am 3598326d: am 1fd74be7: Merge "debug messages for link loss issues" into lmp-dev

* commit '3598326d44e37cbd0a6ddfab7117fa9e3afa2a30':
debug messages for link loss issues
622f75aff3a3c39969ef960b549b16f11388f24f 20-Aug-2014 Lorenzo Colitti <lorenzo@google.com> am 3820aff5: am 24adb818: Merge "Clear IPv4 addresses when switching from DHCP to static." into lmp-dev

* commit '3820aff51e94d70e0c0f730a710ec89ca7e6d579':
Clear IPv4 addresses when switching from DHCP to static.
9fdd28a93db1188cfbc207a1c48cc0ecd33590a0 20-Aug-2014 Brian Williammee <bwill@google.com> am 4a6672f9: am 0e916560: Fix copy/paste error in 5GHz connection count

* commit '4a6672f9b14da6a1f937263d88d96b7d963e85e9':
Fix copy/paste error in 5GHz connection count
0e916560ab551ac44e6ce0324bdc511f66268944 20-Aug-2014 Brian Williammee <bwill@google.com> Fix copy/paste error in 5GHz connection count

Change-Id: Ic377c5b4b0ab7db060b3b6ec86a3b0a862c32b28
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
6feefc14ba05895b7107fd4029c26add98d81a1f 19-Aug-2014 Lorenzo Colitti <lorenzo@google.com> am 7c236918: am 3b26801d: Stop using LinkProperties for static configuration.

* commit '7c236918b1a9c1329f9f3b79d6fafe806cb5b1e2':
Stop using LinkProperties for static configuration.
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/WifiStateMachine.java
f152a69a5a83eae7b3a8700f6f9257583bf916b8 19-Aug-2014 vandwalle <vandwalle@google.com> am d0c6d2f4: am 8c0a54e9: provide autojoin config threshold, fix bug16990104

* commit 'd0c6d2f436806baf3cd885d38f3f7d4846a4a44f':
provide autojoin config threshold, fix bug16990104
24adb81839865a6f27fceb8ef709f5c23973cb47 20-Aug-2014 Lorenzo Colitti <lorenzo@google.com> Merge "Clear IPv4 addresses when switching from DHCP to static." into lmp-dev
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/WifiStateMachine.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/WifiStateMachine.java
e778c763e2b7af0a0b6318a63a5dbb60a85ab031 18-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> am a68451ed: am 0c3dfa47: Merge "Add tcp buffer size data for wifi" into lmp-dev

* commit 'a68451ed609a5b5a8df90f6427f30bd029febe0e':
Add tcp buffer size data for wifi
0c3dfa471750e99231c9bf4d9a53f1e4a2d0daa4 18-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Add tcp buffer size data for wifi" into lmp-dev
e693d9490d27bcd91bb1f012bb88ef4c95cdaee3 07-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Add tcp buffer size data for wifi

bug: 16549611
Change-Id: Ia3819da9d85863a273b93e30c8a9d223ddc7d667
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
9ac1f0a388ab3cf1b0da6a5e98803cf14ab3b5e1 15-Aug-2014 Vinit Deshpande <vinitd@google.com> am 455c3a7e: am ccd5bdb2: Merge "EAP-SIM End-To-End" into lmp-dev

* commit '455c3a7e9e4198a36f56b98f1026ee54f8c0ada4':
EAP-SIM End-To-End
dbd6933aae99302b75683f8463cd17df554dc599 14-Aug-2014 Vinit Deshpande <vinitd@google.com> EAP-SIM End-To-End

This change fixes all remaining issues with EAP-SIM. It now handles
multiple challenges coming from supplicant and corrects supplicant
command syntax.

Change-Id: Idc47b454863aa1990d4f53138f00f312622792d2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
610685b32b831b1065449c52f5bc15cdc82d94e7 14-Aug-2014 Vinit Deshpande <vinitd@google.com> am 736c9583: am 981e9669: Fix getAdapters() hang

* commit '736c95830e263d71c9f9fcf57bbde7119aa7b876':
Fix getAdapters() hang
981e966999f4448a682084d6657d07bab2bbc13e 14-Aug-2014 Vinit Deshpande <vinitd@google.com> Fix getAdapters() hang

getAdapters() hangs in certain Wifi states because there is no code
to generate a default reply. This change adds default reply so it
returns something in all states.

Bug: 16982058

Change-Id: I07cae455c6335e622fbd9a79f3837128e73e302c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
911d6087e0e037c8f401f4c3464977f70e18621a 12-Aug-2014 vandwalle <vandwalle@google.com> am 10e28d77: am 68a6d9ba: Merge "handle supplicant disconnected state change in roaming state + make roaming less erratic" into lmp-dev

* commit '10e28d777a352e341e0734fcebf82f007e3d3465':
handle supplicant disconnected state change in roaming state + make roaming less erratic
68a6d9ba04f68ec4c76edc049ac827331d10e707 12-Aug-2014 vandwalle <vandwalle@google.com> Merge "handle supplicant disconnected state change in roaming state + make roaming less erratic" into lmp-dev
a089077f42c27922872631ccc2c77e1e036bb3a5 10-Aug-2014 Vinit Deshpande <vinitd@google.com> Merge commit '3c3fcca5' into manualmerge

Change-Id: I045c50aa69e4f233516493f8abb31aff27ac38a6
33b575ca6bee66183929f9474b5a161432918604 09-Aug-2014 Vinit Deshpande <vinitd@google.com> EAP-SIM End-to-end

Change-Id: I9478e6a492c469d57bb020b8f858e523ea6a92d1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
0a0694d89195ac361a02bf73d5bf35b1e9050c6c 07-Aug-2014 Chelsea Derrick <chelsead@google.com> Revert "Broadcast wifi credential change from WifiStateMachine. [DO NOT MERGE]"

This reverts commit a618f986e12b0f68f7b4cdfff51c6fa8baed22d5.

Bug: 16871063
Change-Id: I93623be92f2de41789b16827867f3f95bf0480c5
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
c7af335ba2adbb95fffacf99828287f93b4b2d38 06-Aug-2014 vandwalle <vandwalle@google.com> Merge "check null pointer on mNetworkAgent" into lmp-dev
6e51388c5b7d7840644570de5bc61edbd173b203 06-Aug-2014 vandwalle <vandwalle@google.com> check null pointer on mNetworkAgent

Bug:16776614

Change-Id: I6af588a0bc7f9048174d359f41f63ac9acb98147
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
badd604178e757a65dcff91ab1ff818e3527c8e3 01-Aug-2014 Lorenzo Colitti <lorenzo@google.com> Unbreak WifiStateMachine IP provisioning logic.

The change from switching to CONNECTED based on DHCP to
switching to CONNECTED based on link properties, necessary to
support IPv6-only networks, broke some of WifiStateMachine's
IP provisioning logic. Among other things:

1. DHCP success when roaming would get stuck in ObtainingIpState
state because the updateLinkProperties would see that nothing
had changed and take no action.
2. DHCP timeout would not cause a disconnect. The code to handle
that was just not there. :-(
3. Wifi would notify ConnectivityService that it was ready as
soon as it had an IPv4 address, but before DHCP completed, at
which point the network was unusable because it had no
default route and no DNS server. The network was fixed
immediately afterwards, but it caused a 5-second switching
delay because NetworkMonitor immediately tried to validate,
failed, and waited 5 seconds.
3. Wifi would not reconnect to the current network after a
runtime restart, because the IP address was already there.

All these problems happened because we changed the code from
edge-triggered to level-triggered, but that doesn't work well
in IPv4, because it's not possible to tell from LinkProperties
alone whether IPv4 configuration succeeded on the interface.

This change switches IPv4 provisioning back to being
edge-triggered, which should hopefully fix all the above
problems in the right way. Testing so far includes:

1. Connecting to GoogleGuest works.
2. Connecting to a network without a DHCP server (and without
IPv6) disconnects after 30 seconds, and gives up completely
after 9 tries.
3. Connecting to an IPv6-only network works.
4. Configuring a static IP on GoogleGuest works.
5. Wifi disconnects if a DHCP renewal times out.

I'm not sure how to test roaming.

Bug: 16269674
Bug: 16631731
Bug: 16663980
Bug: 16667349
Change-Id: I8e28c630c54a5f3f66bf0feb9fd328ab452de740
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
08b2a6f380652e7836687632a10e5183fd7ac689 31-Jul-2014 Lorenzo Colitti <lorenzo@google.com> Clear IP addresses before starting the supplicant.

This is necessary because if the runtime crashes when the
interface has an IPv4 address assigned to it, and wifi reconnects
and gets the same IPv4 address, NetlinkTracker won't tell us
about the address, because nothing has changed. This causes us to
think that we have no IPv4 address, when in fact we do.

Bug: 16631731
Change-Id: I4878408d5fb4c0128657aabb7670e48c689021d8
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
326120045502363422cf5c52a467163d4bcb703a 30-Jul-2014 vandwalle <vandwalle@google.com> add debug log for RSSI_PKTCNT_FETCH

Change-Id: I54f920e7373febf3874deb194011e98c05eb1a23
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
c25ff5183d509e8a2ecaf1b52f83cbd7023e6a79 29-Jul-2014 vandwalle <vandwalle@google.com> Merge "add verboser logs for network scorer" into lmp-dev
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/WifiStateMachine.java
2f3b6d4a82bfb828ba7ce5f7cf4e54ff57821888 29-Jul-2014 vandwalle <vandwalle@google.com> treat all dhcp completion without provisioning as errors

Change-Id: I4f27e166491006a3432e73a490653c6252fbb95d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.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/WifiStateMachine.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/WifiStateMachine.java
82d20190c3ec3a080d928a581c40311c66345cc8 24-Jul-2014 vandwalle <vandwalle@google.com> handle IP address loss if DHCP fails

Bug:16525514

Change-Id: I367a024835acf06cf4dda7f357b70494b9981e03
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
f01a9c36967a56d0d042e63984c2c17d978d50e3 22-Jul-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Clean up Verifying state so we don't churn." into lmp-dev
4dd46ff3cff8e4e66516600ffdac98601e8bf73d 18-Jul-2014 Robert Greenwalt <rgreenwalt@google.com> Clean up Verifying state so we don't churn.

If it goes to disconnected we will actually get unwanted and
do an L2 disconnect. Instead, rely on down scoring.

Change-Id: I87dc52957fd6515920482ba929331567cf7b8253
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
7b051c83f9bb0855ba5442f0dcd471002832c62c 17-Jul-2014 vandwalle <vandwalle@google.com> Merge "fix connecting to OSU server" into lmp-dev
52e79f112225e158c5de12685e55906de5e222b9 17-Jul-2014 vandwalle <vandwalle@google.com> fix connecting to OSU server

Change-Id: I93d50dac9a052736d63300d1cdd3d72d90614e7f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
a618f986e12b0f68f7b4cdfff51c6fa8baed22d5 08-Jul-2014 Chelsea Derrick <chelsead@google.com> Broadcast wifi credential change from WifiStateMachine. [DO NOT MERGE]

Bug: 15703353
Change-Id: I62f582ac8cbfd8748c35d73daa2f733665cc0fa8
(cherry picked from commit 09295c2d809d1c7f797eafe039b6b68e7a49c82f)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
e0e491671f348cceb6e20fdc55438d8cfd2f07f1 15-Jul-2014 Robert Greenwalt <rgreenwalt@google.com> Fix 2.4/5 wifi roaming.

The redesign of wifi ip address optaining assumed we would never
go from have-ip -> have-ip, ie we must lose our ip config before we can
gain an ip config. Unfortunately at least one condition does just this:
Our inter-band roaming
To leave OBTAINING_IP_ADDRESS we need to tweak the code to generate
the success signal even if the new address is the same.

bug:16269674
Change-Id: I340b24839565fa62fd3c7d9d373695d1d4007412
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
a632d8a6edd350c7644b593b18eceaa5b368505b 01-Jul-2014 Vinit Deshpande <vinitd@google.com> Introduce Wifi Adapters

This change extracts all the wifi interfaces on the device; and provides
its supported features.

Change-Id: I7fbdbec684d653a6e4bf851797e3065ce222e873
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
8b2bd657976c86e0909ad792f6f96ad94db45c28 24-Jun-2014 Lorenzo Colitti <lorenzo@google.com> Keep IPv6 enabled whenever L2 is connected.

Currently we only enable IPv6 (which starts IPv6 configuration)
when DHCP succeeds. This obviously will not work on networks
that don't have IPv6.

Instead, enable IPv6 when we start DHCP, so IPv4 and IPv6
configuration proceed in parallel. Also don't disable IPv6 when
verifying poor link. I believe the reason for doing so was that
the captive portal detection code was IPv4-only, but now with the
multinetwork APIs we can support captive portal detection over
IPv6.

Bug: 9180552
Change-Id: I52c8776f1c910255784981ed77a14693ad52d674
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
da2ec427a621afecd800f59b8004542d083be92b 10-Jul-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Get DNS configuration from Netlink too."
12bc7aa45700513cace98ab43f309121c39780ed 10-Jul-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Decide if IP configuration is complete independently of DHCP"
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/WifiStateMachine.java
a43d6d71ad51ce7fe54198d9b60d554208054eb8 24-Jun-2014 Lorenzo Colitti <lorenzo@google.com> Get DNS configuration from Netlink too.

This is required to learn IPv6 DNS servers, which come in from
netlink via RDNSS options in IPv6 Router Advertisements.

Bug: 9180552
Change-Id: I035f4c3cac6d8edd94ff1b3d586d6bd40e0889b1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
14be3cde626bd5935f599cd6e0fca72cf1c4695d 23-Jun-2014 Lorenzo Colitti <lorenzo@google.com> Decide if IP configuration is complete independently of DHCP

Currently, WifiStateMachine assumes that IP configuration is
complete and transitions to VerifyingLinkState when it receives a
DHCP_SUCCESS message. This won't work if there no IPv4. Instead,
decide whether IP configuration is complete by examining the
actual configuration inside LinkProperties.

Bug: 9180552
Change-Id: I4499b59030e8e581cce620b57bc4e58b7b7d1ab1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
2c141fc79e1e66c5b5f7dd7307ad7cb8d1e9aaac 02-Jul-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Simplify the network transition wakelock."
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/WifiStateMachine.java
5394340995ed67c8da3f00b7aae886aec47d6bcc 26-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Simplify the network transition wakelock.

Make it all internal to ConnectivityService - we know when a network
is lost, so grab a wakelock then.
Moves the call out of WifiStateMachine which was grabbing at bad times
like every dhcp renewal or corp-network roam. These would always
go the full 1 minute and chew up battery.

bug:15595155
Change-Id: I80157a818cc149072cc7706d78c1e79c6e679ab3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
dbfe9e532b02797d08c8bdf9915659aef55fff64 25-Jun-2014 vandwalle <vandwalle@google.com> Merge "improve link flapping"
b07da189850a4bfa268f8ab9be7867935eb2ecb5 24-Jun-2014 vandwalle <vandwalle@google.com> improve link flapping

Change-Id: Ie378dde318dccaa566f660c9497bae31d4a9f1ab
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
51991e784c605a7432a90c9e9a91b080fb106197 20-Jun-2014 Dianne Hackborn <hackbod@google.com> Add tracking of some wifi stats to battery stats.

Change-Id: I50cbd480b8c3ddc4cc8ccbe78b1fe6de98efd9e6
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
4b50786546ce4c4fee555d66028991fe257b8811 20-Jun-2014 vandwalle <vandwalle@google.com> add home network boost, better hadling of 5GHz configurations

Change-Id: I2417844b58e1839cb22649565404d76b792cdc65
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
ec474c010a79c12d24c34e79383b328cc53d5ece 13-Jun-2014 Lorenzo Colitti <lorenzo@google.com> Read IPv6 routes from netlink as well.

Bug: 9180552
Change-Id: I926e1ea0ff59a258da2472d8a1d8b4c80727e87e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
d60cf2efc576f016506ebe6d8a83b4a6217b2e0e 10-Jun-2014 Lorenzo Colitti <lorenzo@google.com> Move netlink updates to a new NetlinkTracker class

This will allow us to use this logic on other link types such as
Ethernet, and will also avoid increasing the complexity of
WifiStateMachine as we get more information such as routes and
DNS servers from netlink.

Bug: 9180552
Change-Id: I79034827cb0c5f24d783d7243e04b69e12aa3cc6
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
810ab83f336a6406220ef73b69377290671d6419 13-Jun-2014 vandwalle <vandwalle@google.com> Merge "auto-roam fixes, disable scanning based on traffic at interface"
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/WifiStateMachine.java
a0d0db0e9e39b04613e4b5c1d9cf51c488fc9af0 12-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> am 1d838f7a: Merge "Make NetworkCapabilities publicly immutable." into lmp-preview-dev

* commit '1d838f7a55fa178d2ab12716b889ad4e381c852f':
Make NetworkCapabilities publicly immutable.
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/WifiStateMachine.java
1d838f7a55fa178d2ab12716b889ad4e381c852f 12-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Make NetworkCapabilities publicly immutable." into lmp-preview-dev
937be0625eb1daa1b9d5a0991a3fe6ab2f4804c7 10-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Make NetworkCapabilities publicly immutable.

Applying API council comments.

bug: 15142362
Change-Id: Ie0bde68b72656a676d90c0343b9756fe9268d8d6
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
4b1c8e0159c021f0ae1b53b6ec7431b050d6a899 08-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Apply LinkProperties API change.

bug:15142362
Change-Id: I1457111da7d3bd09998f7e010febb8bb4c45c8bc
(cherry picked from commit 82d1c6aeadfa24797b314ae2b2a55717df064b57)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.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/WifiStateMachine.java
5c2d5c27293a6df796e56f57b14c2a9aced675bd 28-May-2014 Robert Greenwalt <rgreenwalt@google.com> Apply refactored NetworkFactory.

Make NetworkFactory a concrete class and divide responsibilites between it and NetworkAgent.
Factory will track requests and by default give a single connect/disconnect api for ease
of use. Then NetworkAgent is created and destroyed as needed with very simple logic.

Change-Id: I401c14a6e5466f2fc63b04219b97ff85bb9af291
(cherry picked from commit 7d6e0b86655bf9862ae81fe37c9c8dc3f70d51f9)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
8f679e3b9db68bcd29bb33f430ed11ef21065208 03-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Apply refactored NetworkFactory."
aff01c338585f4411f61a9aa7ea35201f924ec6c 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/WifiStateMachine.java
511a412adce5a46c41e61f90c0df6de5fb4e491c 31-May-2014 Yuhao Zheng <yuhaozheng@google.com> WifiService and WifiPasspointService hook up

- add a reference to passpoint service in wifi state machine
- break dependency loop at boot phase

Change-Id: I0acdf02dcb4a62a4e27af8bb3640784ee2691e26
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
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/WifiStateMachine.java
7d6e0b86655bf9862ae81fe37c9c8dc3f70d51f9 28-May-2014 Robert Greenwalt <rgreenwalt@google.com> Apply refactored NetworkFactory.

Make NetworkFactory a concrete class and divide responsibilites between it and NetworkAgent.
Factory will track requests and by default give a single connect/disconnect api for ease
of use. Then NetworkAgent is created and destroyed as needed with very simple logic.

Change-Id: I401c14a6e5466f2fc63b04219b97ff85bb9af291
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
1a325e10086cfdb9e9f9fa7e3f0283ba7839dd37 02-Jun-2014 Vinit Deshpande <vinitd@google.com> Merge "DO NOT MERGE: Fix the stopping of scan after Wifi connection" into lmp-preview-dev
f07ad104ae5e538ad009f1f168c834edab016d18 01-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> am 59c5355a: Don\'t tear down early wifi.

* commit '59c5355a48a3311f07d2d8d6c685bf8de734d200':
Don't tear down early wifi.
59c5355a48a3311f07d2d8d6c685bf8de734d200 01-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Don't tear down early wifi.

This was adding 10 or so seconds to getting on wifi at first boot.
Note this delay goes away with the changes to NetworkFactory later today anyway.

bug: 15363153
Change-Id: Ic764db7288696d697be0db4817fb816861984ef2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
368b164d5511e105c95d490e250640edd61045d0 31-May-2014 Vinit Deshpande <vinitd@google.com> DO NOT MERGE: Fix the stopping of scan after Wifi connection

We have code that stops kitkat batch scan while we get a new IP address
via DHCP; this exists because ARP multicast packets may be lost if the
wifi radio is off channel for scanning.

We need to do something similar for GScan as well - to avoid getting in
the same problem. This change accomplishes that.

This change also makes all HAL methods static, getting WifiNative closer
to the 'SupplicantManager' role.

cherry-picked from klp-wireless-dev
SHA1 8f343d40a55bc638872a3bb3453b95062bf838ef

Change-Id: Id2b500e37b71ea21a6bca162011abecbd41d90ec
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
b0b1d59786de7ff1fc98e31a16a7d710458bf549 30-May-2014 Vinit Deshpande <vinitd@google.com> Fix the stopping of scan after Wifi connection

We have code that stops kitkat batch scan while we get a new IP address
via DHCP; this exists because ARP multicast packets may be lost if the
wifi radio is off channel for scanning.

We need to do something similar for GScan as well - to avoid getting in
the same problem. This change accomplishes that.

This change also makes all HAL methods static, getting WifiNative closer
to the 'SupplicantManager' role.

cherry-picked from klp-wireless-dev
SHA1 8f343d40a55bc638872a3bb3453b95062bf838ef

Change-Id: Id2b500e37b71ea21a6bca162011abecbd41d90ec
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
6f1f2a48fe6e88179062760b1075af31ab46822b 23-May-2014 vandwalle <vandwalle@google.com> DO NOT MERGE: lose the STOP_DRIVER command

Change-Id: I8e1ff28d5b79ef53778e0b4d083156cf748a4886
(cherry picked from commit 4a21193ee63c72919e7ead45e1de0643c7abe554)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
a37a204ce03e0ee2da68306a1bac58fc4bb8352c 17-Apr-2014 Vinit Deshapnde <vinitd@google.com> Don't reset country code once it is persisted

This change simply ignores resetting of country code by cellular
networks to avoid disconnecting existing wifi connections. It also
defers setting newly found country code until after existing Wifi
connection is torn down.

Also removes some dead code related to resetting of country codes.

cherry-picked from klp-dev
SHA1 b5ee95edf97f83e31e44f72e1b0f95a0c71a97ed

Bug: 13894807
Change-Id: Ie2fcfdd4b3be8ba94542772c132fb1acb6a2c683
(cherry picked from commit f449336da3fc8f8f9b65de3ba359129779511199)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
4a21193ee63c72919e7ead45e1de0643c7abe554 23-May-2014 vandwalle <vandwalle@google.com> lose the STOP_DRIVER command

Change-Id: I8e1ff28d5b79ef53778e0b4d083156cf748a4886
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
c84f2cac12c1ee9a5b2d220a620e0bf5e79987c2 22-May-2014 Vinit Deshapnde <vinitd@google.com> Merge "Don't reset country code once it is persisted"
f449336da3fc8f8f9b65de3ba359129779511199 17-Apr-2014 Vinit Deshapnde <vinitd@google.com> Don't reset country code once it is persisted

This change simply ignores resetting of country code by cellular
networks to avoid disconnecting existing wifi connections. It also
defers setting newly found country code until after existing Wifi
connection is torn down.

Also removes some dead code related to resetting of country codes.

cherry-picked from klp-dev
SHA1 b5ee95edf97f83e31e44f72e1b0f95a0c71a97ed

Bug: 13894807
Change-Id: Ie2fcfdd4b3be8ba94542772c132fb1acb6a2c683
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
04c9a7c99c2ec86636ab43edceb84a2eceaadd04 22-May-2014 vandwalle <vandwalle@google.com> Merge "various autojoin fixes"
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/WifiStateMachine.java
82b91fd1a87ae9000bac54fb44981d5003958de1 21-May-2014 Vinit Deshpande <vinitd@google.com> Make Wifi WPS API available on application layer

Un-hide WPS methods (and required interface classes, etc.) of WifiManager.java to
enable Apps to start/stop the WPS procedure, add a patch for WPS method KEYPAD to
avoid early failure callbacks. (Methods PBC, DISPLAY, KEYPAD tested on 4.4.2_r2.)

Change-Id: I25aafdc4b637c87d754d4fdb70e40a34a569b738
Signed-off-by: Olaf Stoyke <o.stoyke@avm.de>
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
9ae6b45c038fa74a9e7285ef4834551dd93da332 20-May-2014 Yuhao Zheng <yuhaozheng@google.com> Fix a boot failure due to Wifi / Wifi Passpoint

Bug: 15060373
Change-Id: I8341a39c849d4135a0549c481cb3327cfca14567
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
911a89d6a1e8abb3c3167e9b6d23499aec1b19ef 16-May-2014 Robert Greenwalt <rgreenwalt@google.com> Add a name for the wifi NetworkFactory.

Used only for debugging purposes.
bug:15003007

Change-Id: I717d63363f25c446f8ecf38d933b1a35d744af6e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
9882ff94b6e8bc218461ddb1f838f59fe181f9f7 18-May-2014 Robert Greenwalt <rgreenwalt@google.com> workaround wifi runtime crash

This is not a long term fix, but until the wifi folks fix it this should be sufficient.

bug:15060373
Change-Id: I150ba375046c48066150f3d78438efc316e4c84f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
aabe7a9f2f32915fd1f25416a6d2034a844005d6 10-May-2014 vandwalle <vandwalle@google.com> introducing link layer
cherry-picked from klp-wireless-dev-mirror
SHA1: eb8de645540caa6076c34854d8a4e7c22341783f
Change-Id: I5c736c697d38ec17dcde81bdee638048fd688073
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
446db2d5457456743e4476029e14d7c3bb9f5bcc 10-Apr-2014 Yuhao Zheng <yuhaozheng@google.com> Hotspot 2.0 framework support -- inital implementation

Bug: 5485670
Change-Id: I48a63f5a45e0c217f5b73b4b3c45ea1acee76034
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.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/WifiStateMachine.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/WifiStateMachine.java
3831a926f6762a3b4c398da51cc67e9d81572458 17-Apr-2014 Robert Greenwalt <rgreenwalt@google.com> Switching to NetworkAgent API

Change-Id: I8c820a17a6b64b8376930ba85ab507e07ce38d36
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
f656eeed604bdcf2e78fb9fb97b0610a0f19ca99 13-May-2014 vandwalle <vandwalle@google.com> Merge "fix crash on null string in AUTH_FAILURE message handling"
e57857d829f670c62e8d53ffed580681271a272b 13-May-2014 vandwalle <vandwalle@google.com> fix crash on null string in AUTH_FAILURE message handling

Change-Id: I657951f8bb37af778f8d4ab2c9b9d2ab2956220c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
66f8e08b668ebdc4c9b180f90e71cbb4f3e1c37f 13-May-2014 vandwalle <vandwalle@google.com> disable autojoin associated scanning on molly

Bug: 14696701

Autojoin associated scan can interfere with real time streaming (mpeg RTP), hence for now we want to disable those scans on a molly product.

Change-Id: If056032cca91dd47f6fab0c56b4df4c90bc42571
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
d33eac369db516e6fc05ac930e66510e957c12d6 08-May-2014 Vinit Deshpande <vinitd@google.com> Merge "Fix un-intended exposure of P2pStateMachine messenger"
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/WifiStateMachine.java
f933721551d39adc4924e5f69dcc51c16c520850 12-Apr-2014 Navtej Singh Mann <navtejsingh@google.com> Fix un-intended exposure of P2pStateMachine messenger

Fix un-intended exposure of P2pStateMachine messenger in
WifiP2pServices, added ClientHandler for request from app

Bug: 13931972

Change-Id: I9ebcdfd82ab66f1b843560758b3f3da8cf7c797b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.java
f9dba8db09a3a74a47ef076ca0b225bb70052df1 02-Apr-2014 Wei Wang <weiwa@google.com> Merge "Fix stopBatchedScan not working. cherrypick ag/436843"
9bd0507bf45c39dcb6beca7ae885bc790352eda8 02-Apr-2014 Wei Wang <weiwa@google.com> Fix stopBatchedScan not working.
cherrypick ag/436843

Change-Id: I325ea5965bc3863f1fe1179a404c2fa39b3c998e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
3c194cb908060978f65ae168ea0ed0606127b422 27-Mar-2014 Vinit Deshapnde <vinitd@google.com> Merge "Explicitly set update_config on supplicant"
785c09f2ae609a580a620d1a45529881ea958f84 11-Mar-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Debounce wifi country code info"
9c22c8ea193360f50ad490368ca6a11af0684362 06-Mar-2014 Robert Greenwalt <rgreenwalt@google.com> Debounce wifi country code info

We're getting signals from the radio and it sometimes drops out for a while.
This change will delay applying an empty country code for 15sec but apply
non-empty country codes immeditately. It uses a sequence number so we only apply
the most recent change, even if it's delayed.

bug:11062898
Change-Id: I9d3a870f3b66296d4b3cbc10c730c9a043c0da96
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
ff2a397afcc14a60ed70f109318a2ee799fed692 04-Mar-2014 Vinit Deshapnde <vinitd@google.com> Merge "Fix an inadvertent change in WifiNative"
0a696d168d7ad98ab5084d2a16e3d02c545a85aa 03-Mar-2014 Vinit Deshapnde <vinitd@google.com> Explicitly set update_config on supplicant

This is to ensure that supplicant always saves network information. It is
possible for this flag to be turned off because supplicant couldn't read
wpa_supplicant.conf; but we never want supplicant to not save new networks.

Bug: 13233891
Change-Id: Ia7273dd65d01c9786be2e7dedfb39d3abe9b56c2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
64e65668e36bfeb0b634e9a678020ed04434f365 27-Feb-2014 Yuhao Zheng <yuhaozheng@google.com> Merge "Implement new API to scan a given channel set"
a0009d14075b5345b8f916c3fb3f2260c938cb9d 06-Feb-2014 Yuhao Zheng <yuhaozheng@google.com> Implement new API to scan a given channel set

Framework implementation for the new scan APIs. Besides implementing the API,
this CL does 2 additional changes:

1. Only count battery consumption if a scan request is accepted by supplicant,
i.e. it won't be counted if it's rejected due to another ongoing scan.

2. If a scan request is rejected, we may buffer the scan request and do it
later, to make sure the specified channels are eventually scanned. On the
other hand, we will try to combine scan requests to avoid repeated scans.
For example, a full scan serves all scan requests.

Bug: 12610436
Change-Id: Ia9edc58c7ddd7a535bfaa0f906f6faaaf5f5d439
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
ae0b5cce21686ad00fd0a3d5aab35fe2152c4737 05-Feb-2014 Vinit Deshapnde <vinitd@google.com> Fix an inadvertent change in WifiNative

wifinative.closeSupplicantConnection() closes sockets that were opened
to talk to supplicant. It was accidentally removed when we moved to
single socket connection to supplicant.

Bug: 12344420
Change-Id: I4242aff17baa91f3cdffaffb264c3bf4f93aaca3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
74b0804ef846b9b4888025092dd5c75143b559dc 03-Feb-2014 Felipe Leme <felipeal@google.com> Rename fetchRssiAndLinkSpeedNative() into fetchRssiLinkSpeedAndFrequencyNative() and changed it to also set the WiFi frequency.
Bug: 12767819

Change-Id: Icc5b702475f9047311246da3440d220c67875a4c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.java
3f7ef65ab71619040032aee96b5599849881d6fd 23-Jan-2014 Andres Morales <anmorales@google.com> piping supplicant commands for WPS token setup

Supplicant exposes a command for generating
NFC Wifi tokens as per the Wifi Simple Configuration
specification. This CL export this command to the
framework.

Change-Id: If34e6a71888bfb2b420048eed4fe373566835611
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiStateMachine.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/WifiStateMachine.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/WifiStateMachine.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/WifiStateMachine.java