dfbe7e4e12824527fac840391f31d2b4a4578e3e |
|
19-Jul-2017 |
Ningyuan Wang <nywang@google.com> |
Support scan plan attribute for scheduled scan This adds the support of the scan plan attribute. With kernel updates, driver can no longer diffrentiate interval attribute from single scan plan attribute, so driver's pno scan back off logic cannot be triggered in that case. To solve the PNO back-off problem, this CL allows wificond to explicitly specify scan plans (if the driver supports it). With explicit scan plans, the driver will have the information it needs to back-off PNO scans. Bug: 63837760 Test: compile, unit tests Test: Manually test that pno scan works on multiple devices Test: Integration sanity test Change-Id: Ic7e38caa482a2d72f45bf3c8177fa656e534db08
/system/connectivity/wificond/tests/scan_utils_unittest.cpp
|
1aadd2c3781ee882e77dae2f4dc38fe3574fdca7 |
|
09-Jun-2017 |
Ningyuan Wang <nywang@google.com> |
Use new netlink attribute for scan result timestamp Bug: 37758502 Test: compile, manual test Test: integration test Test: manually test that on new and old devices, there should be only a small portion of scan results filtered out. Change-Id: I2cbcb6f4c5b58b6a56a746de97afe491a9e338ac
/system/connectivity/wificond/tests/scan_utils_unittest.cpp
|
793978cb7f2f227f1ab28135caeb75dd4ed48e6c |
|
15-Jun-2017 |
Ningyuan Wang <nywang@google.com> |
Restart wificond on ENODEV scan failure ENODEV scan failure implies that driver entered a bad state. In order to recover wificond, we should treat it as an fatal error. The crashing of wificond will trigger the restarting of framework, bringing everything back to work. Bug: 36894921 Test: compile, unit tests Test: manual test: Use "iw wlan0 del" to remove kernel interface. Observe that wificond restarts and wifi continues to work. Change-Id: I89f4403bcb570d7f413fa4cc9ca50378de428d3d
/system/connectivity/wificond/tests/scan_utils_unittest.cpp
|
ecb6bb205f5263c06570f14b148d6b171b1f74ad |
|
20-Jun-2017 |
Ningyuan Wang <nywang@google.com> |
Revert "Use new netlink attribute for scan result timestamp" This reverts commit 74db77ecd5314fa28ac2b78ccc3ca18788eeef60. Bug: 62818212 Bug: 37758502 Change-Id: Icd93d4caffab92a5bf79c8d6aa8fe4dceca3ec06
/system/connectivity/wificond/tests/scan_utils_unittest.cpp
|
74db77ecd5314fa28ac2b78ccc3ca18788eeef60 |
|
09-Jun-2017 |
Ningyuan Wang <nywang@google.com> |
Use new netlink attribute for scan result timestamp This CL prioritize the new netlink attribute NL80211_BSS_LAST_SEEN_BOOTTIME to the old NL80211_BSS_TSF because if driver supports the new attribute, the new attribute will carry more accurate data. If not, we still can fall back to NL80211_BSS_TSF. Bug: 37758502 Test: compile, unit tests, integration test Test: manual tests: 1. Test devices which have new kernel/driver supporting this attribute. Test that most APs still consistantly show up in scan result. 1. Test devices which don't support this attribute. Insert logs to test that wificond can fall back to the old attributes. Change-Id: I14226b77e8bf50f4e035679fff3313affb800e86
/system/connectivity/wificond/tests/scan_utils_unittest.cpp
|
8f62fdd7479506aa865560941d74dc4e4c77e1b3 |
|
08-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Remove StartFullScan() Bug: 35103495 Change-Id: I2004de17898b5c8f59eea88679fe60e6cb57dc87 Test: compile, unit tests
/system/connectivity/wificond/tests/scan_utils_unittest.cpp
|
13b4064f889935091b0d55bbb056ec143972a9a4 |
|
10-Dec-2016 |
Ningyuan Wang <nywang@google.com> |
Add support of randomized mac address to wificond ScanUtils Bug: 33218723 Change-Id: I81e3507f4cc46894b8ae35f0df0814006ddc1ead Test: compile
/system/connectivity/wificond/tests/scan_utils_unittest.cpp
|
65b365fe4b6a99f9dab98515c1b96bd725cb56a8 |
|
08-Dec-2016 |
Ningyuan Wang <nywang@google.com> |
Add unit tests for wificond ScanUtils Bug: 30915875 Test: compile, unit tests Change-Id: Ic8f913663110f64dfb0387502e60afdfb130b0b5
/system/connectivity/wificond/tests/scan_utils_unittest.cpp
|