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/tests/wifitests/src/com/android/server/wifi/WifiMonitorTest.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/tests/wifitests/src/com/android/server/wifi/WifiMonitorTest.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/tests/wifitests/src/com/android/server/wifi/WifiMonitorTest.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/tests/wifitests/src/com/android/server/wifi/WifiMonitorTest.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/tests/wifitests/src/com/android/server/wifi/WifiMonitorTest.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/tests/wifitests/src/com/android/server/wifi/WifiMonitorTest.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/tests/wifitests/src/com/android/server/wifi/WifiMonitorTest.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/tests/wifitests/src/com/android/server/wifi/WifiMonitorTest.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/tests/wifitests/src/com/android/server/wifi/WifiMonitorTest.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/tests/wifitests/src/com/android/server/wifi/WifiMonitorTest.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/tests/wifitests/src/com/android/server/wifi/WifiMonitorTest.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/tests/wifitests/src/com/android/server/wifi/WifiMonitorTest.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/tests/wifitests/src/com/android/server/wifi/WifiMonitorTest.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/tests/wifitests/src/com/android/server/wifi/WifiMonitorTest.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/tests/wifitests/src/com/android/server/wifi/WifiMonitorTest.java
|