summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinit Deshapnde <vinitd@google.com>2014-05-13 15:10:49 -0700
committerVinit Deshapnde <vinitd@google.com>2014-05-16 16:33:36 -0700
commitb26e377bb1b2f5466438092cdc85cd0e8dc631ca (patch)
tree3d6664789858d13e9fb57ee0a2767cfe8911dab3
parent73efd5b991733ea4b0b40df3ba155cd306fb97f7 (diff)
downloadhardware_libhardware_legacy-b26e377bb1b2f5466438092cdc85cd0e8dc631ca.zip
hardware_libhardware_legacy-b26e377bb1b2f5466438092cdc85cd0e8dc631ca.tar.gz
hardware_libhardware_legacy-b26e377bb1b2f5466438092cdc85cd0e8dc631ca.tar.bz2
changes related to full scan result and band
Change-Id: I7accbd79f86a616c1d7e11fcebae12dbefaa3612
-rw-r--r--include/hardware_legacy/gscan.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/hardware_legacy/gscan.h b/include/hardware_legacy/gscan.h
index f06ed28..75bcf22 100644
--- a/include/hardware_legacy/gscan.h
+++ b/include/hardware_legacy/gscan.h
@@ -39,7 +39,10 @@ typedef struct {
wifi_rssi rssi; // in db
wifi_timespan rtt; // in nanoseconds
wifi_timespan rtt_sd; // standard deviation in rtt
-
+ unsigned short beacon_period;
+ unsigned short capability;
+ unsigned int ie_length;
+ char ie_data[1];
// other fields
} wifi_scan_result;
@@ -51,8 +54,7 @@ typedef struct {
typedef struct {
void (*on_scan_results_available) (wifi_request_id id, unsigned num_results_available);
- void (*on_full_scan_result) (wifi_request_id id, wifi_scan_result result,
- unsigned num, wifi_information_element *elements);
+ void (*on_full_scan_result) (wifi_request_id id, wifi_scan_result *result);
} wifi_scan_result_handler;
typedef struct {