History log of /system/connectivity/wificond/scanning/pno_settings.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/scanning/pno_settings.cpp
08882f8250a87732734a12991963cc91316102ca 24-Jan-2017 Ningyuan Wang <nywang@google.com> Handle leading number before an object in parcel

Java writeTypedList() implementation uses a leading number
with either 0 or 1 before an object in parcel.
0 means this object is null.
1 means this object is not null.
C++ code should handle it accordingly.

Bug: 34359499
Change-Id: I2e107ffa00573d4ffa31041a14dbec581e09a23a
Test: compile, unit tests, manual tests.
/system/connectivity/wificond/scanning/pno_settings.cpp
072c61998e3e504dc96a2ca86a6ea1d68e1b6e2f 08-Dec-2016 Ningyuan Wang <nywang@google.com> Add parcelable class PnoSettings

Bug: 33011588
Test: compile, unit tests

Change-Id: I16fab137cd6a9d60bea96955997a43b0674ed709
/system/connectivity/wificond/scanning/pno_settings.cpp