diff options
author | Pierre Vandwalle <vandwalle@google.com> | 2015-03-08 17:46:38 -0700 |
---|---|---|
committer | Pierre Vandwalle <vandwalle@google.com> | 2015-03-08 17:47:14 -0700 |
commit | 9f1683255c912b87b49ef7f48aa04f92c5a5db83 (patch) | |
tree | 3ec5410c7cd0517342c8f145f28d1c2c9da0f0e2 | |
parent | 196387c148cdb29c47c3fa016b2918fe685db321 (diff) | |
download | hardware_libhardware_legacy-9f1683255c912b87b49ef7f48aa04f92c5a5db83.zip hardware_libhardware_legacy-9f1683255c912b87b49ef7f48aa04f92c5a5db83.tar.gz hardware_libhardware_legacy-9f1683255c912b87b49ef7f48aa04f92c5a5db83.tar.bz2 |
small fixes to gscan interface
Change-Id: I8d5d3bc84e9da86b9c7c4f9ff02aee132d030831
-rw-r--r-- | include/hardware_legacy/gscan.h | 10 | ||||
-rw-r--r-- | include/hardware_legacy/wifi_logger.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/hardware_legacy/gscan.h b/include/hardware_legacy/gscan.h index 252ee83..23a289c 100644 --- a/include/hardware_legacy/gscan.h +++ b/include/hardware_legacy/gscan.h @@ -190,7 +190,7 @@ typedef struct { unsigned num_results, wifi_scan_result *results); void (*on_hotlist_ssid_lost)(wifi_request_id id, unsigned num_results, wifi_scan_result *results); -} wifi_hotlist_ssid_found_handler; +} wifi_hotlist_ssid_handler; typedef struct { char ssid[32+1]; // SSID @@ -208,7 +208,7 @@ typedef struct { /* Set the SSID Hotlist */ wifi_error wifi_set_ssid_hotlist(wifi_request_id id, wifi_interface_handle iface, - wifi_ssid_hotlist_params params, wifi_hotlist_ssid_found_handler handler); + wifi_ssid_hotlist_params params, wifi_hotlist_ssid_handler handler); /* Clear the SSID Hotlist */ wifi_error wifi_reset_ssid_hotlist(wifi_request_id id, wifi_interface_handle iface); @@ -394,18 +394,18 @@ wifi_error wifi_set_gscan_roam_params(wifi_request_id id, wifi_interface_handle /** * Enable/Disable "Lazy" roam */ -wifi_error wifi_set_lazy_roam(wifi_request_id id, wifi_interface_handle iface, int enable); +wifi_error wifi_enable_lazy_roam(wifi_request_id id, wifi_interface_handle iface, int enable); /** * Per BSSID preference */ typedef struct { char bssid[6]; - int rssi_modifier; // modifier applied to the RSSI of the BSSIDfor the purpose of comparing + int rssi_modifier; // modifier applied to the RSSI of the BSSID for the purpose of comparing // it with other roam candidate } wifi_bssid_preference; -wifi_error wifi_set_lazy_roam(wifi_request_id id, wifi_interface_handle iface, +wifi_error wifi_set_bssid_preference(wifi_request_id id, wifi_interface_handle iface, int num_bssid, wifi_bssid_preference *prefs); diff --git a/include/hardware_legacy/wifi_logger.h b/include/hardware_legacy/wifi_logger.h index f24545c..5f4fdd4 100644 --- a/include/hardware_legacy/wifi_logger.h +++ b/include/hardware_legacy/wifi_logger.h @@ -199,7 +199,7 @@ wifi_error wifi_get_driver_version(wifi_request_id id, /* api to collect driver records */
wifi_error wifi_get_ringdata(wifi_request_id id,
- wifi_interface_handle iface, wifi_ring_buffer_id ring_id, char * buffer, int buffer_size, wifi_ring_buffer_status *status);
+ wifi_interface_handle iface, wifi_ring_buffer_id ring_id);
/* Feature set */
|