History log of /system/connectivity/wificond/scanning/offload/scan_stats.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8043a56883bfb32333b4f007ff52bb880a75cd70 27-Jul-2017 Sohani Rao <sohanirao@google.com> Wificond: Address bugs in handling Offload scans

This CL addresses the following issues in handling of Offload HAL scan
results from the Offload HAL service
- Make cached scan results member variable a pointer so that the memory
for the vector can be allocated on the heap
- When an Async Error occurs in the Offload HAL service, switch to
performing PNO scans over netlink instead of letting it decide again.
- OffloadScanUtils convertToNativeScanResults() now needs to take in a
pointer to the vector that will store the scan results for retrieval.
- Populate tsf field fo the scanResult so that it doesn't get filtered
out by the framework
- Add logging to scan stats

Bug: 63148974
Test: Unit tests, on-device testing for ensuring we connect to an
available access point from screen off disconnected mode.
Change-Id: Ida507d857faa8ea6dbee362cf0116f8ca858963f
/system/connectivity/wificond/scanning/offload/scan_stats.cpp
16b75e6e37fa9567be23e18c8a98e4132fc9d91c 18-May-2017 Sohani Rao <sohanirao@google.com> Wificond: Offload HAL calling code formatting fixes

Clang formatting for all files introduced, Also move "using" to
source files from header files.

Bug: 32842314
Test: Unit tests
Change-Id: I913fced31568a61d4ae1a78ceeec5a43d300904b
/system/connectivity/wificond/scanning/offload/scan_stats.cpp
f33517d79737dd96e5d86ed45ab095be3a4c4773 15-Apr-2017 Sohani Rao <sohanirao@google.com> WifiCond: getScanStats() API in OffloadSCanManager

Introduce new API in OffloadScanManager getScanStats() to get scan stats
from Offload HAL. Created a parcelable NativeScanStats struct to export
this data and corresponding unit test coverage. Also included unit tests
to verify conversion from ScanStats in Offload HAL format to Wificond
format.

Test: Unit tests
Bug: 32842314
Change-Id: I82bec2cc42635588ef8cb3fd0ad3206242349645
/system/connectivity/wificond/scanning/offload/scan_stats.cpp