summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy/gscan.h
diff options
context:
space:
mode:
authorAshwin <ashwin.bhat@broadcom.com>2014-08-04 16:50:23 -0700
committerVinit Deshpande <vinitd@google.com>2014-08-11 15:03:00 -0700
commit726b5dada8055f705bb1ffb67d9acc3cad99457d (patch)
treeec8a825c808b57ef42a367d2fa05b1ea51bf10e6 /include/hardware_legacy/gscan.h
parenta311a983eb4035b272033105119cb44d814fb2db (diff)
downloadhardware_libhardware_legacy-726b5dada8055f705bb1ffb67d9acc3cad99457d.zip
hardware_libhardware_legacy-726b5dada8055f705bb1ffb67d9acc3cad99457d.tar.gz
hardware_libhardware_legacy-726b5dada8055f705bb1ffb67d9acc3cad99457d.tar.bz2
PNO MAC rotation + Hotlist LOST event
modified: include/hardware_legacy/gscan.h modified: include/hardware_legacy/wifi_hal.h Change-Id: I0ad599a20210081ffd05040fbb810f1ec1f9dd62
Diffstat (limited to 'include/hardware_legacy/gscan.h')
-rw-r--r--include/hardware_legacy/gscan.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hardware_legacy/gscan.h b/include/hardware_legacy/gscan.h
index 6232d8a..5163e01 100644
--- a/include/hardware_legacy/gscan.h
+++ b/include/hardware_legacy/gscan.h
@@ -134,6 +134,8 @@ wifi_error wifi_get_cached_gscan_results(wifi_interface_handle iface, byte flush
typedef struct {
void (*on_hotlist_ap_found)(wifi_request_id id,
unsigned num_results, wifi_scan_result *results);
+ void (*on_hotlist_ap_lost)(wifi_request_id id,
+ unsigned num_results, wifi_scan_result *results);
} wifi_hotlist_ap_found_handler;
typedef struct {
@@ -144,6 +146,7 @@ typedef struct {
} ap_threshold_param;
typedef struct {
+ int lost_ap_sample_size;
int num_ap; // number of hotlist APs
ap_threshold_param ap[MAX_HOTLIST_APS]; // hotlist APs
} wifi_bssid_hotlist_params;
@@ -183,5 +186,8 @@ wifi_error wifi_set_significant_change_handler(wifi_request_id id, wifi_interfac
/* Clear the Signifcant AP change list */
wifi_error wifi_reset_significant_change_handler(wifi_request_id id, wifi_interface_handle iface);
+/* Random MAC OUI for PNO */
+wifi_error wifi_set_scanning_mac_oui(wifi_interface_handle handle, oui scan_oui);
+
#endif