diff options
author | Ashwin <ashwin.bhat@broadcom.com> | 2014-08-04 16:50:23 -0700 |
---|---|---|
committer | Vinit Deshpande <vinitd@google.com> | 2014-08-11 15:03:00 -0700 |
commit | 726b5dada8055f705bb1ffb67d9acc3cad99457d (patch) | |
tree | ec8a825c808b57ef42a367d2fa05b1ea51bf10e6 /include | |
parent | a311a983eb4035b272033105119cb44d814fb2db (diff) | |
download | hardware_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')
-rw-r--r-- | include/hardware_legacy/gscan.h | 6 | ||||
-rw-r--r-- | include/hardware_legacy/wifi_hal.h | 1 |
2 files changed, 7 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 diff --git a/include/hardware_legacy/wifi_hal.h b/include/hardware_legacy/wifi_hal.h index 4fe8d47..9c4baa8 100644 --- a/include/hardware_legacy/wifi_hal.h +++ b/include/hardware_legacy/wifi_hal.h @@ -43,6 +43,7 @@ typedef int wifi_request_id; typedef int wifi_channel; // indicates channel frequency in MHz typedef int wifi_rssi; typedef byte mac_addr[6]; +typedef byte oui[3]; typedef int64_t wifi_timestamp; // In microseconds (us) typedef int64_t wifi_timespan; // In nanoseconds (ns) |