summaryrefslogtreecommitdiffstats
path: root/wifi/1.0/IWifiStaIfaceEventCallback.hal
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2016-10-13 11:48:42 -0700
committerRoshan Pius <rpius@google.com>2016-11-16 11:05:16 -0800
commit120f94c594cb524d4f84673630d779fc0d6aff16 (patch)
treec07932d33d5ceae88e62ed399fa24c6d8f898b70 /wifi/1.0/IWifiStaIfaceEventCallback.hal
parent18680b7affe027388c0d299d9222c37c2833dda2 (diff)
downloadplatform_hardware_interfaces-120f94c594cb524d4f84673630d779fc0d6aff16.tar.gz
platform_hardware_interfaces-120f94c594cb524d4f84673630d779fc0d6aff16.tar.bz2
platform_hardware_interfaces-120f94c594cb524d4f84673630d779fc0d6aff16.zip
wifi(interface): NAN HIDL interface
Interface is mostly a replication of the wifi_nan.h HAL header file. 1. All the methods are in |IWifiNanIface|. 2. Moved all the callbacks to |IWifiNanIfaceEventCallback.hal|. 2. Moved all the data types to |types.hal|. 3. Changed all the variable size arrays to vecs. Bug: 31991076 Test: ./hardware/interfaces/update-makefiles.sh Change-Id: I2af0b0003cf30a0f2bfdcb56b69c492cf831745b
Diffstat (limited to 'wifi/1.0/IWifiStaIfaceEventCallback.hal')
-rw-r--r--wifi/1.0/IWifiStaIfaceEventCallback.hal7
1 files changed, 1 insertions, 6 deletions
diff --git a/wifi/1.0/IWifiStaIfaceEventCallback.hal b/wifi/1.0/IWifiStaIfaceEventCallback.hal
index 7466fc33a6..129c258104 100644
--- a/wifi/1.0/IWifiStaIfaceEventCallback.hal
+++ b/wifi/1.0/IWifiStaIfaceEventCallback.hal
@@ -27,11 +27,6 @@ interface IWifiStaIfaceEventCallback {
};
/**
- * BSSID type. 6 octets representing the physical address of an AP.
- */
- typedef uint8_t[6] Bssid;
-
- /**
* Structure describing all the information about a single access point seen
* during the scan.
*/
@@ -39,8 +34,8 @@ interface IWifiStaIfaceEventCallback {
int64_t timeStampInUs;
vec<uint8_t> ssid;
Bssid bssid;
- uint32_t frequencyInMhz;
int8_t rssi;
+ WifiChannelInMhz frequency;
uint16_t beaconPeriodInMs;
uint16_t capability;
vec<InformationElement> informationElements;