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/IWifiStaIface.hal b/wifi/1.0/IWifiStaIface.hal
index 52f0d4a..8f45777 100644
--- a/wifi/1.0/IWifiStaIface.hal
+++ b/wifi/1.0/IWifiStaIface.hal
@@ -151,7 +151,7 @@
      * Channel frequencies (in Mhz) to scan if |band| is set to
      * |UNSPECIFIED|.
      */
-    vec<uint32_t> frequenciesInMhz;
+    vec<WifiChannelInMhz> frequencies;
     /**
      * Period at which this bucket must be scanned (in milliseconds). Must be an integer
      * multiple of the |basePeriodInMs| specified in the BackgroundScanParameters.
@@ -395,10 +395,10 @@
    *         |WifiStatusCode.ERROR_NOT_SUPPORTED|,
    *         |WifiStatusCode.ERROR_NOT_AVAILABLE|,
    *         |WifiStatusCode.ERROR_UNKNOWN|
-   * @return frequenciesInMhz vector of valid frequencies for the provided band.
+   * @return frequencies vector of valid frequencies for the provided band.
    */
   getValidFrequenciesForBackgroundScan(BackgroundScanBand band)
-      generates (WifiStatus status, vec<uint32_t> frequenciesInMhz);
+      generates (WifiStatus status, vec<WifiChannelInMhz> frequencies);
 
   /**
    * Start a background scan using the given cmdId as an identifier. Only one