b97757e4930ae6e9a5319e071d383c464fcb5546 |
|
08-Jun-2017 |
Roshan Pius <rpius@google.com> |
WifiMonitor: Connect to wpa_supplicant more aggressively Instead of waiting 1 second between retries, check if wpa_supplicant's HIDL interface is up every 100 ms after starting wpa_supplicant. Bug: 62439299 Test: Verified from logs that the time for wifi enable is reduced now. Change-Id: Ibb8acf3bbe794b6ee2e9fa7b1cdb41e66f023d71
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
098640f533f3fc04cb49cb860f9dc45ad8a19e69 |
|
02-May-2017 |
Randy Pan <zpan@google.com> |
Fix how WifiMonitor/WifiP2pMonitor sends a message A message can potentially have multiple handlers. Looper recycles the message after one handler is done with it. Sending/copying the recycled message to another handler is problematic. Fix the issue by always sending a copy of the original message. Bug: 37714369 Test: runtest.sh Change-Id: I2f4a4903ac8da94816341def969878f888154b6c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
efab6719309021b890dc39b1a7434ea6b7f7bb64 |
|
06-Feb-2017 |
Sohani Rao <sohanirao@google.com> |
Send Auth failure reason in broadcast intent SupplicantStateChange broadcast intent for authentication failure doesn't capture the reason for authentication failure. To indicate this reason to the user, use the newly defined (but hidden), auth failure codes to make the intent richer. Bug: 33245941 Test: Unit test Change-Id: I76496cfc7365103d9ec74b12d60bde772fcba801
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
448eded66cf274be7cad14b9d40c342175b6c4b2 |
|
21-Mar-2017 |
Roshan Pius <rpius@google.com> |
WifiStateMachine: Remove unused code Remove the deprecated events/API handling in WSM: 1. WifiMonitor.SSID_TEMP_DISABLED 2. WifiMonitor.SSID_RENABLED 3. WifiMonitor.DRIVER_HUNG Also, Removed the pingSupplicant handling as that API has now been removed. Bug: 36404409 Test: Compiles Change-Id: I3762bea36f682eac0694e667addc919e7db6fcaa Merged-In: I3762bea36f682eac0694e667addc919e7db6fcaa
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
51493e199ebf1e1191ccf652f0081d229018a11f |
|
21-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Separate single scan and sched scan result handling Bug: 36479602 Test: compile, unit tests, integration test Change-Id: I066619ca7c53cf7e8e53ce776c1b419201d522f1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
35c9c7f7a2f83d81b8d61da834b3960f5b9ffe19 |
|
21-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Broadcast bssid change event Bug: 36451639 Test: Unit tests Change-Id: Id4dc17fc9b0af1145a264406bf5d540c60c511f2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
163f9765f9e4c3f868b1e0d630b6adeaa115fb4a |
|
17-Mar-2017 |
Roshan Pius <rpius@google.com> |
Split up WifiNative/WifiMonitor into STA-AP/P2P With HIDL, there isn't any dependencies between the STA & P2P WifiNative's. So, split up WifiNative/WifiMonitor into 2, one for P2P & non-P2P cases. The WifiP2pNative, WifiP2pMonitor & SupplicantP2pIfaceHal classes are now moved to p2p package. Also, added couple of missing methods in SupplicantP2pIfaceHal from SupplicantStaIfaceHal. Bug: 36371256 Test: Compiles, device boots up and connect to wifi networks. Change-Id: I85ea84355ab2a1803053f663f207b42b793c552c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
b8b3fb8228a1f90106bad8c59ce006b81ef7921c |
|
09-Mar-2017 |
Roshan Pius <rpius@google.com> |
Remove all legacy HAL usage from framework WifiNative now just becomes a module to route calls into the appropriate native module: WifiVendorHal, WificondControl, SupplicantStaIfaceHal, SupplicantP2pIfaceHal. Changes in the CL: 1. Cleanup WifiNative to remove the legacy HAL usage. 2. Remove the |HIDL*| flags in WifiNative. 3. Remove static instance of WifiNative/WifiMonitor. 4. Remove WifiMonitor code parsing the string events from wpa_supplicant. 5. Remove all unused jni code used for legacy HAL interactions. 6. Remove dependency of libwifi-hal & libwifi-system from framework. Notes: a) We can now potentially split up WifiNative into separate chunks: WifiStaNative, WifiP2pNative, WifiRttNative, etc instead of having a monolithic WifiNative instance. b) We may have to add back the local log in WifiNative (b/36059665). Bug: 35702893 Bug: 34457880 Bug: 34884202 Bug: 35421721 Test: Compiles, existing unit tests pass. Test: Device boots up and connects to wifi networks. Test: Verified with wifi regression (b/36068282) Change-Id: I3e13522c912242af8023471e029edb1ce47fd3e9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
6680c62f91f61660d47c34ae435113ca5846b79d |
|
07-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Add timedOut param in assoc reject Bug: 34280407 Test: Compiles Change-Id: I966da67dfd24b75ac90f63b71249df16e1cd0238
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
fdffec5da789c47a99dccdde29cbc6740e015f0b |
|
03-Mar-2017 |
Roshan Pius <rpius@google.com> |
WifiNative: Separate connect to supplicant Since we have separate interfaces for P2P & STA operations to supplicant in the HIDL world, separate out these initialization sequence. PS: This new flag (isStaIface) is currently unused in the legacy socket interface. Bug: 35915447 Test: Wifi comes up and able to connect to networks. Change-Id: Idf1df650670e9b329c11443223c9e177fd6b3b32
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
d3014b79dd46393cd22fc566937878a738c392a5 |
|
01-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Stop supplicant using wificond Bug: 35868809 Test: compile, unit tests, integration test Change-Id: Ied15d8d39c8c3a09f1917bf13afe3d2b1ed1b8dc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
d3c761e72a5f89c81bd74889a9fec663adcc491e |
|
08-Feb-2017 |
Tomasz Wiszkowski <ender@google.com> |
HIDLization of WifiDirect, stage 3: callbacks. Callback class crafted to be compatible with legacy code. Several calls currently generate no action (never used before). Change-Id: I1e1d94fd23dfb069cd387bc511c979ebeb2e72cf
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
70a9b25ee5d051660b8aeb15ffa97d36a181741d |
|
16-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Plumb through scan result/failure notification Bug: 34715459 Bug: 33398008 Test: compile, unit tests, integration tests Change-Id: I10726aac7c186ea277c9a169b37e1900e8420b71
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
24250365afbd9a20b2e03364eddf2025c8f1138a |
|
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiNative: Start supplicant HIDL integration Remove the |initializeSupplicantHal| call and use the existing |connectToSupplicant| call to initialize the SupplicantStaIfaceHal & SupplicantStaP2pIfaceHal. This will ensure that we keep the existing startup sequence. Also, don't start the wifimonitor thread if HIDL is enabled. Bug: 33383725 Test: Existing unit tests Change-Id: Id082eedb27d7d7dae1bd26f40da9b8e23ee2ce10
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
5317e7c11c99d5cc8417c65cc73cf548f8f52b87 |
|
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIface: Handle wpa_supplicant death Trigger the existing WifiMonitor events to indicate establishment/loss of contact with wpa_supplicant. Bug: 33383725 Test: Unit tests Change-Id: I394a3ed7dad4f201456e2aaa53ba380c7a130f33
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
bcf35be52f93d09a3f2ac8d4272a6d66467309b9 |
|
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Handle the remaining callbacks While there, Corrected a typo in one of the WifiMonitor methods. Bug: 33383725 Test: Unit tests Change-Id: I0bb8da7d2af468a419b595688286bc42e0f3d57f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
f56bacdb29215639cbfe0aef82b048c246e7a215 |
|
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiMonitor: Broadcast connection events Add methods to broadcast connection related events. Bug: 35357251 Test: Unit tests Change-Id: I372dfcaa63ce75e9bc0e7bb2f1b68b72549abc9f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
1e1381333657f0a02bf1b300d1e600f87e5aae38 |
|
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiMonitor: Methods to broadcast network requests These requests are sent from wpa_supplicant and needs to be handled by framework. Bug: 35357251 Test: Unit tests Change-Id: I4d5e151063ec1bc50260fe6f6f7f35b1394e2a7d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
7f21b7a68872183ae89545b07f716aafa7dc3674 |
|
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiMonitor: Method to broadcast Wnm event Bug: 35393853 Test: Unit tests Change-Id: Iada3425c26541181692d61f66f2cacfa79908761
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
773ef3483e18f1afbd9cdce1564add3d89cb21fa |
|
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
Passpoint: Change ICON response handling Currently, the ICON done notification from WifiMonitor is used as a trigger to fetch icon data in PasspointEventHandler. In the HIDL interface, the callback itself will contain all the necessary icon data. So, change the currently handling to prepare for integration with HIDL interface. Changes in the CL: 1. Move the icon data fetching to WifiMonitor away from PasspointEventHandler. 2. Change the params of the icon done event to include the icon data. 3. Add a new public method in WifiMonitor to send the notification out from WifiMonitor, which will be used by the HIDL interface in the future. Note: There are no unit tests for any of these changes because this CL is just moving things around and most of it is going to be removed when we integrate with HIDL. Bug: 35393853 Test: Connects to passpoint networks. Test: Will send for regression tests. Change-Id: I197180c8a8ec8673e5e8fa29ba8bb51b026d44fb
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
65d8ba5dd551cd132789e8feb270dfc7998dfbdc |
|
15-Feb-2017 |
Roshan Pius <rpius@google.com> |
Passpoint: Change ANQP response handling Currently, the ANQP done notification from WifiMonitor is used as a trigger to fetch anqp data in PasspointEventHandler. In the HIDL interface, the callback itself will contain all the necessary ANQP data. So, change the currently handling to prepare for integration with HIDL interface. Changes in the CL: 1. Move the ANQP data fetching to WifiMonitor away from PasspointEventHandler. 2. Change the params of the ANQP done result to include a newly created struct (AnqpResult) which would contain the bssid and the ANPQ results. 3. Add a new public method in WifiMonitor to send the notification out from WifiMonitor, which will be used by the HIDL interface in the future. 4. Remove the redundant PasspointEventHandler.parsANQPLines(). Note: There are no unit tests for any of these changes because this CL is just moving things around and most of it is going to be removed when we integrate with HIDL. Bug: 35393853 Test: Connects to passpoint networks. Test: Will send for regression tests. Change-Id: I7fdf8fbdba13d267eb986db3f8a5854c606bcd4c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
c626bc21f7ebac14daa31ca7014767970127efee |
|
15-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiMonitor: Methods to broadcast remaining Wps events Bug: 35357251 Test: Unit tests Change-Id: I27a3fb384dbb37fa6d1b8a4fd30f43be76e4e9aa
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
ef027b4240eb994976dc6173fa396fe10b45ae52 |
|
15-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiMonitor: Method to broadcast WPS fail event Bug: 35357251 Test: Unit tests Change-Id: Ieb5ea5383a80205df616f132e735bc90f40716a2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
1241ac94aa2f5d6c5f5c3e935c7f7baa8045ee5c |
|
24-Jan-2017 |
Sohani Rao <sohanirao@google.com> |
WifiMonitor doesn't handle incorrect password authentication failure This change updates dispatchEvent() in WifiMonitor, that parses native events, to handle auth failure due to incorrect password. The absence of this check causes the SupplicantTracker to send wrong authentication status in the broadcast intent for Supplicant state change. WifiMonitor also sends a message to subscribed interfaces with the authentication failure event. In case of a wrong password, the event SSID_TEMP_DISABLE is generated subsequently. WifiStateMachine, which recieves both events, will erroneously update the WifiConfigManager twice for the same authentication failure. To avoid this, this CL adds a reason code in the message which can be used to conditionally update WifiConfigManager. Bug: 30080982 Test: Functionality tests and unit tests Change-Id: I3154e6b52ace0b7c2295dc796325747439c0ac43
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
09044adabba28c56b48922d105994d30e7ab015e |
|
02-Sep-2016 |
Peter Qiu <zqiu@google.com> |
passpoint: refactor PasspointEventHandler Changes include: - cleanup the callback interface - remove dependency for ScanDetail - remove unused code - add unit tests BUG: 31264540 TEST: build and run unit tests Change-Id: Idab62a6e12bef7807e2ef8bc5aec4e46fbf965dc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
8249dec7f00e21218bcff6e16cf584ef37d87686 |
|
10-Aug-2016 |
Christopher Wiley <wiley@google.com> |
Rely on wificond to start/stop supplicant Bug: 30666540 Test: Still able to connect via WiFi Change-Id: Ia8a706db70be18b2d4b4687400d9a06d0819690e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
8812ab2ce5def57a6abe55719ee69892d27c70d7 |
|
12-Aug-2016 |
Christopher Wiley <wiley@google.com> |
Always start/stop wpa_supplicant service on request For a given product, P2P is either supported or not supported, depending on the product configuration and hardware support. Because of this, on a given product, we do not need to determine which wpa_supplicant configuration to run, we can just use "whatever the given product supports." We've changed init files to define a single service "wpa_supplicant". In places where there were both p2p_supplicant and wpa_supplicant services defined, we have removed the wpa_supplicant service, and replaced it with the definition of p2p_supplicant. Above the supplicant we choose for a given platform, we still keep the hooks that allow optional P2P support in the framework, since the framework needs to support hardware with P2P support, and hardware without. Bug: 30816535 Test: unit tests pass on bullhead Test: cts-tradefed run cts-dev \ --module=CtsNetTestCases \ --test=android.net.wifi.cts.ConcurrencyTest passes Change-Id: I6ea65fde1707f65e70b41c94ca823bb2318d81f0
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
259fb5a5265e0a2aa8a851d5e694d28afe9a87f2 |
|
28-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Move some of the SIM network code out of WifiStateMachine Also add unit tests TEST: Unit tests, boots and connects to open network Bug: 29776729 Change-Id: I79161f87cee55abce464fb1bdbc643a92c069ffb
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
eee8cb8bcecfa3b33ae03f7753359499a274e7a9 |
|
23-Jun-2016 |
mukesh agrawal <quiche@google.com> |
WifiNative: make getLocalLog() an instance method We want to add some tests that mock out WifiNative.getLocalLog(). To do that, we need getLocalLog() to be an instance method. Make it so. While there: add @NonNull annotation to getLocalLog(), to make the semantics clearer. BUG=29424414 TEST=unit tests Change-Id: Ifb224104cf54b42a945258967dcaf50541849abc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
7002981cd8cf4ed73e9bbb2c1a877c3594e0ab39 |
|
22-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Replace sVDBG and VDBG with mVerboseLoggingEnabled Replace all instances of the private static fields sVDBG and VDBG with the instance variable mVerboseLoggingEnabled. This new name better reflects how this field is controlled by the verbose debugging switch. This field is now an instance variable (rather than a static variable) since it is set by the enableVerboseDebugging() instance method of each class. Also: - Add a setter for mVerboseLoggingEnabled in WifiConfigStore, which is called from the same setter in WifiConfigManager. BUG: 28321397 Change-Id: Icc3a2bf31b8d4090b89d429e1a1329c703116160 TEST: 'runtest frameworks-wifi' passes.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
3267ef6d60838a4f0b94470adb1725a6b8dc0117 |
|
22-Apr-2016 |
Samuel Tan <samueltan@google.com> |
WifiMonitor: switch VDBG and DBG Switch the VDBG and DBG fields to adhere with the current convention in WifiConfigStore and WifiConfigManager, which is that DBG is a compile-time flag, and VDBG is a a flag settable at run-time. A forthcoming CL will give VDBG a more readable variable name. BUG: 28321397 Change-Id: I558e95f9d9dd7057b4634d1355e8319a5d5829c3 TEST: 'runtest frameworks-wifi' passes.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
68b71ea96facab2d5fadc89b12cc1198756f9e25 |
|
06-May-2016 |
Ningyuan Wang <nywang@google.com> |
Fix static variable and method access Static variables and method should be access from class name instead of a object instance. BUG=28606520 TEST=compile TEST=runtest frameworks-wifi Change-Id: I7c3990a3c11873a0b5e4ddefbdba88ee29f47199
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
18456db02b67d04d9e601aca68538b64c7a374f8 |
|
17-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Fix crash when wifi monitor dispatches a message with no handler Bug: 27705420 Change-Id: I68708215ccd0a0aa1b6f331122d3bcd54ce7669e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
7ce3d79fd3ed12a379d6abbe31c680d6fd8abf51 |
|
10-Mar-2016 |
Paul Stewart <pstew@google.com> |
Fix map reference in WifiMonitor.sendMessage() In the case where no interface is available, we should iterate over mHandlerMap and not depend on the possibly null variable ifaceHandlers. Bug: 27583666 Change-Id: I983972af593004262d939024f9e893f4867f2504 Test: Build and run unit tests
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
3c83d4783673c1e2fa64c56dc586c5f7c3ab73e0 |
|
09-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Allow multiple Handlers to be registered for a WifiMonitor event Bug: 26966049 Bug: 27569474 Change-Id: I07012b0e4ad2e3510e0a84368949b65d7b99507d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
2e814680f4dd27a5f825afab189843582235cedc |
|
24-Jan-2016 |
Jan Nordqvist <jannq@google.com> |
New System APIs for Passpoint r2 app. Change-Id: If23e6ab432e871a407cbff94292673524c6d72bd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
8f0f666c8bdaf508f191f8590755140b92d970ea |
|
01-Dec-2015 |
xinhe <xinhe@google.com> |
Initial codes for Quality network selection [DO NOT MERGE] In this change list, the old WifiAutojoin module is refactored initially. The old WifiAutojoinController is replaced with a new WifiQualifiedNetworkSelector. WifiConfiguration, WifiConfigureStore and WifiStateMachine have been modified accordingly. The new network selection logic is refactored with a more clear and deterministci one. To refer to thedescribed in details, in "Quality Network Selection and Connectivity Scan Management in N". The link of the document is: https://docs.google.com/document/d /1JPTa2NEk-PgjCJ16fIrR6ohV-kDKveDlYDOeiMCB2_c Also the initial unit test codes are added. Test case of 5GHz network over 2GHz network is added. Bug:26012244 Change-Id: I8dc240115c0625c0fae13a5b3965f70556040448
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
6dd42662e45750910d8743f7f154269c2755df93 |
|
19-Nov-2015 |
Jan Nordqvist <jannq@google.com> |
DO NOT MERGE Changed to use special "in-memory" icon command to wpa_supplicant. Hotspot2.0: Icon query changed to use new command. Cherry-picked from e511ec7a4f53f7204a85075b23318f9f11c46d94 Bug: 24681079 Change-Id: Iac65eddff82763d42193edfb683266e7b0b8d720
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
4e210ea1c7eb7d3a70792571651181e429b39582 |
|
29-Sep-2015 |
Mitchell Wills <mwills@google.com> |
Make WifiMonitor a singleton and add explicit event registration Change-Id: If99cf107abe381d2527a84f7e71c0c8363bff4db
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
18786eca942042388748b0d98979f21c9dff4a89 |
|
20-Nov-2015 |
Mitchell Wills <mwills@google.com> |
Turn WifiNative into a singleton for each interface Change-Id: Ida8225c1c8434f5cffbdfd2ebbc4a7b240976a15
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
1d5cd3938f9191184cd9aea3059a3b62bf3a0372 |
|
22-Jul-2015 |
Jan Nordqvist <jannq@google.com> |
Hotspot 2.0 relase 2 first cut. Policy provisioning. API methods. Timers for policy and remediation. Icon and friendly name checking. Channel bindings for EST. Change-Id: Ifa7125743ea93d7d4329cb53fd70c99b9b06fffe
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
086148f550b6e293ef3154265ec32317a10c7217 |
|
23-Jul-2015 |
Mitchell Wills <mwills@google.com> |
Removed old code to support PasspointStateMachine Change-Id: Ieb84b84848d42befe963ba5a9be96d508f02ed7d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
fb80c4e9859161ba3492b79f485b9e554177c8c1 |
|
29-Jun-2015 |
Vinit Deshpande <vinitd@google.com> |
Fix potential system crash beacuse of bad Wifi parsing WifiMonitor may throw an exception on some malformed events taking the entire system down. This change gauards against such crash. Bug: 17698782 Change-Id: Ib855419c5ed24ec174889185c4d0b450403778de
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
87e2455ee2a232db01029a93edea179528d1a5c2 |
|
09-Jun-2015 |
Amarnath Hullur Subramanyam <amarnath@codeaurora.org> |
Wifi: Exit the monitor thread when killSupplicant is issued. When Wifi is turned off, WifiStateMachine issues terminate command to the supplicant and waits for the event CTRL-EVENT-TERMINATING. On receiving this TERMINTING event, WifiMonitor stops further monitoring of events. In some instances, WifiMonitor fails to receive the event CTRL-EVENT-TERMINATING and subsequently when Wifi framework times out it kills the supplicant. But this recovery logic has an issue where even though the supplicant is killed, the monitor thread is not stopped from listening the events and WifiMonitor continues looking for the events. Since at the time of killing the supplicant monitor_conn is initialized to NULL, internally fabricated WPA_EVENT_TERMINATING event is issued by the framework. This again leads to the deinitialization of the wlan0 / p2p0 interfaces while the process of initialization is in progress. This leads to concurrent actions of supplicant connection closure and command execution on the control socket. But wpa control interface library is not designed to concurrently handle activities on the control and monitor sockets. To solve this issue, exit the monitor thread when Wifi framework kills the supplicant explicitly (mConnected is set to FALSE). b/21899315 Change-Id: Ie22447d5ce73fb0a22da309cca69a620f1974368
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
6ae1a88c51b9db16ce82b4f4752cca54e961be51 |
|
05-Jun-2015 |
Sunil Dutt <usdutt@codeaurora.org> |
wifi : Fix for Wi-Fi grayed out issue During the initialization, WiFiMonitor shall try to open the control/monitor socket interface with the supplicant.On a failed attempt to open the control interface, WiFiMonitor thread shall trigger an event SUP_DISCONNECTION_EVENT to WiFiStateMachine with the expectation that the connection attempt restarts.In addition,it also removes the interface from the mIfaceMap.During the restart,WiFiMonitor does not proceed to open the control interface with the supplicant if the mIfaceMap does not point to the interface. Thus,do not remove the interface from mIfaceMap on a failed attempt to create a control interface with the supplicant to provision a reinitialization attempt. b/18798914 Change-Id: Iefb8942a7561699557ea21cb87f4754da024139a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
54fcb6c0a81f6c025dc8574c95593da1c4eafb29 |
|
27-Feb-2015 |
Akihiro Onodera <akihiro.x.onodera@sonymobile.com> |
Prevent repeating EAP connection forever Android framework does not handle a message ("Authentication with timed out") for EAP connection and thus connection retry happens continuously in case of authentication timed out. Change-Id: Iadf99bacc9f89d8d18f91231d9263e5b890ba0b9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.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/WifiMonitor.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/WifiMonitor.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/WifiMonitor.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/WifiMonitor.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/WifiMonitor.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/WifiMonitor.java
|
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/WifiMonitor.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/WifiMonitor.java
|
f57f8918b8c5872ff4bb141fa9e407bec8442e8d |
|
16-Dec-2014 |
vandwalle <vandwalle@google.com> |
add debug logs to confirm network flapping issue is fixed Bug:18706288 Change-Id: I27a86aeb650a63511b667244b0138afbc1bc059e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.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/WifiMonitor.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/WifiMonitor.java
|
0eebae7334d6129f7ca1344e4b20199794994358 |
|
12-Sep-2014 |
vandwalle <vandwalle@google.com> |
various fixes: - add null pointer check to wifi watchdog state machine - correctly parse the REQUEST IDENTIY event sent by wpa_supplicant - make autojoining wificonfiguration more aggressive based on user input Bug:17469863 Bug:17426395 Bug:17475816 Change-Id: I1785c917c0e570de0edaa02bd0ca6536be9d7c0b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
9f3349fa2cd39d690d1e2b7c3b71ced412e24f2c |
|
05-Sep-2014 |
vandwalle <vandwalle@google.com> |
various fixes: - cleanup setWifiEnable transitions - dont scan right when entering connected and Disconnected state, instead startScan() adds a 200ms delay before starting the scans, so as to let the state machiine time to process deferred message - dont forget to send the NetworkStateChanged Broadcast when we set the network detailed state - autojoin dont attempt to join WifiConfigurations marked as noInternetAccess, unless explicitely selected by the user - keep stats of user triggered wifi state disabling requests - fix bad roaming situation when BSSID is specified in network block Bug:17193677 Change-Id: Ia103a93232f40519c7b4eef07254f32342ea5615
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
be3095ed758fca076b9ccb9fdae48f7f865c078a |
|
01-Sep-2014 |
vandwalle <vandwalle@google.com> |
AutoJoin fixes: - Additional logs - re-enable all network upon screen on and connection, even for blackliste networks due to auth failure - watchdog the DisconnectingState - remove mFrameworkAutoJoin which is not used anymore - dont remove WPA_PSK configurations, instead mark them as AUTO_JOIN_DELETED and loose their history and keys Bug:17261906 Bug:17330171 Bug:17339150 Bug:17063789 Change-Id: I12ea25142d0dcfc670d8970ed67624e8573d1ac2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
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/WifiMonitor.java
|
e6574ec7b6b2e7a678da7f77bdaaf31463852b2f |
|
19-Aug-2014 |
vandwalle <vandwalle@google.com> |
debug messages for link loss issues Change-Id: Icbea4bac528eac8f25b8d1f9f1fa79d1ecadb7da
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
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/WifiMonitor.java
|
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/WifiMonitor.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/WifiMonitor.java
|
40ff222cec1bd05879edb53abc75c6deead734ca |
|
01-Jul-2014 |
vandwalle <vandwalle@google.com> |
handle IDENTITY message and bssid blacklist Bug:15990551 Bug:15977507 Change-Id: I78b03915781bd6d5f9f5881c80324a2788b9e837
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
b57df70bdf17ba45ef4d18b11414cb24dcbe1fb9 |
|
28-Jun-2014 |
vandwalle <vandwalle@google.com> |
clean up the connect/disconnect procedure Change-Id: Iba87591e790106b882d465dbba3ddac120f044d9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.java
|
b07da189850a4bfa268f8ab9be7867935eb2ecb5 |
|
24-Jun-2014 |
vandwalle <vandwalle@google.com> |
improve link flapping Change-Id: Ie378dde318dccaa566f660c9497bae31d4a9f1ab
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.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/WifiMonitor.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/WifiMonitor.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/WifiMonitor.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/WifiMonitor.java
|
5d30d5c2e0eec4db2303da3f225f52da748e2060 |
|
12-May-2014 |
Yuhao Zheng <yuhaozheng@google.com> |
Hotspot 2.0 framework support -- more functionalities - WifiMonitor handles more HS20 events - Passpoint stack parses ANQP results Bug: 5485670 Change-Id: I5f8e7c80f8024379fe7a6c4394f1faae2040cfba
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMonitor.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/WifiMonitor.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/WifiMonitor.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/WifiMonitor.java
|
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/WifiMonitor.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/WifiMonitor.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/WifiMonitor.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/WifiMonitor.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/WifiMonitor.java
|