Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 870da833 authored by Vinay Gannevaram's avatar Vinay Gannevaram Committed by Gabriel Biren
Browse files

RTT: Add OuiKeyedData List in ranging APIs

Add vendor data in ranging API and event as OuiKeyedData List.

Bug: 296069900
Test: m
Change-Id: Ifaf8c3f49624cbf8c760157d329c2e022935a9c3
parent e282d82c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -46,4 +46,5 @@ parcelable RttCapabilities {
  int azBwSupport;
  boolean ntbInitiatorSupported;
  boolean ntbResponderSupported;
  @nullable android.hardware.wifi.common.OuiKeyedData[] vendorData;
}
+1 −0
Original line number Diff line number Diff line
@@ -50,4 +50,5 @@ parcelable RttConfig {
  android.hardware.wifi.RttBw bw;
  long ntbMinMeasurementTime;
  long ntbMaxMeasurementTime;
  @nullable android.hardware.wifi.common.OuiKeyedData[] vendorData;
}
+1 −0
Original line number Diff line number Diff line
@@ -65,4 +65,5 @@ parcelable RttResult {
  long ntbMaxMeasurementTime;
  byte numTxSpatialStreams;
  byte numRxSpatialStreams;
  @nullable android.hardware.wifi.common.OuiKeyedData[] vendorData;
}
+6 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package android.hardware.wifi;

import android.hardware.wifi.RttBw;
import android.hardware.wifi.RttPreamble;
import android.hardware.wifi.common.OuiKeyedData;

/**
 * RTT Capabilities.
@@ -78,4 +79,9 @@ parcelable RttCapabilities {
     * Whether IEEE 802.11az Non-Trigger-based (non-TB) responder mode is supported.
     */
    boolean ntbResponderSupported;
    /**
     * Optional vendor-specific parameters. Null value indicates
     * that no vendor data is provided.
     */
    @nullable OuiKeyedData[] vendorData;
}
+6 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ import android.hardware.wifi.RttPeerType;
import android.hardware.wifi.RttPreamble;
import android.hardware.wifi.RttType;
import android.hardware.wifi.WifiChannelInfo;
import android.hardware.wifi.common.OuiKeyedData;

/**
 * RTT configuration.
@@ -134,4 +135,9 @@ parcelable RttConfig {
     * Reference: IEEE Std 802.11az-2022 spec, section 9.4.2.298 Ranging Parameters element.
     */
    long ntbMaxMeasurementTime;
    /**
     * Optional vendor-specific parameters. Null value indicates
     * that no vendor data is provided.
     */
    @nullable OuiKeyedData[] vendorData;
}
Loading