No description
Find a file
Roshan Pius 76ff302d57 wifi: Add gscan API wrappers in WifiLegacyHal
The legacy gscan API's were designed to be used in the following
sequence:
a) Start the scan using |wifi_start_gscan|.
b) Scan Events are indicated to the caller via the provided
|on_scan_event| callback.
c) When one of the result events are received, the caller is expected
to retrieve the cached results via |wifi_get_cached_gscan_results|.
There are some extra knobs here to determine if the results need to be
flushed after fetch or not.
d) Any scan failures are also notified via the provided
|on_scan_event| callback.
e) Full scan results are delivered one by one via the provided
|on_full_scan_result| callback.

In our use case step (b) above is always followed by step (c), so these
2 steps have been merged together in the HIDL interface:
a) Start the scan using |IWifiStaIface.startBackgroundScan|.
b) Scan results are now directly delivered via
|IWifiStaIfaceEventCallback.onBackgroundScanResults| callback.
c) Any scan failures will be delivered via
|IWifiStaIfaceEventCallback.onBackgroundScanFailure| callback.
d) Full scan results are delivered one by one via
|IWifiStaIfaceEventCallback.onBackgroundFullScanResult| callback.

Bug: 31991459
Test: Compiles
Change-Id: I0870eae095a667eec1d8de75fe1cc04a1b5a0bd3
2016-11-21 10:57:45 -08:00
benchmarks Split libhidl into base and transport. 2016-11-18 09:52:57 -08:00
bluetooth Split libhidl into base and transport. 2016-11-18 09:52:57 -08:00
boot Split libhidl into base and transport. 2016-11-18 09:52:57 -08:00
nfc Split libhidl into base and transport. 2016-11-18 09:52:57 -08:00
radio Split libhidl into base and transport. 2016-11-18 09:52:57 -08:00
tests Split libhidl into base and transport. 2016-11-18 09:52:57 -08:00
wifi wifi: Add gscan API wrappers in WifiLegacyHal 2016-11-21 10:57:45 -08:00
Android.bp Stop all these merge conflicts. 2016-10-26 12:05:29 +02:00
MODULE_LICENSE_APACHE2 Apache2 module license. 2016-08-30 11:28:36 -07:00
NOTICE Apache2 module license. 2016-08-30 11:28:36 -07:00
update-makefiles.sh Stop all these merge conflicts. 2016-10-26 12:05:29 +02:00