PNO MAC rotation + Hotlist LOST event
modified: include/hardware_legacy/gscan.h modified: include/hardware_legacy/wifi_hal.h Change-Id: I0ad599a20210081ffd05040fbb810f1ec1f9dd62
This commit is contained in:
parent
a311a983eb
commit
726b5dada8
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue