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
diff --git a/wifi/1.0/IWifiStaIfaceEventCallback.hal b/wifi/1.0/IWifiStaIfaceEventCallback.hal
index 7466fc3..129c258 100644
--- a/wifi/1.0/IWifiStaIfaceEventCallback.hal
+++ b/wifi/1.0/IWifiStaIfaceEventCallback.hal
@@ -27,11 +27,6 @@
};
/**
- * 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 @@
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;