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
This commit is contained in:
parent
e282d82c4f
commit
870da833b6
6 changed files with 21 additions and 0 deletions
|
@ -46,4 +46,5 @@ parcelable RttCapabilities {
|
|||
int azBwSupport;
|
||||
boolean ntbInitiatorSupported;
|
||||
boolean ntbResponderSupported;
|
||||
@nullable android.hardware.wifi.common.OuiKeyedData[] vendorData;
|
||||
}
|
||||
|
|
|
@ -50,4 +50,5 @@ parcelable RttConfig {
|
|||
android.hardware.wifi.RttBw bw;
|
||||
long ntbMinMeasurementTime;
|
||||
long ntbMaxMeasurementTime;
|
||||
@nullable android.hardware.wifi.common.OuiKeyedData[] vendorData;
|
||||
}
|
||||
|
|
|
@ -65,4 +65,5 @@ parcelable RttResult {
|
|||
long ntbMaxMeasurementTime;
|
||||
byte numTxSpatialStreams;
|
||||
byte numRxSpatialStreams;
|
||||
@nullable android.hardware.wifi.common.OuiKeyedData[] vendorData;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@ import android.hardware.wifi.RttStatus;
|
|||
import android.hardware.wifi.RttType;
|
||||
import android.hardware.wifi.WifiInformationElement;
|
||||
import android.hardware.wifi.WifiRateInfo;
|
||||
import android.hardware.wifi.common.OuiKeyedData;
|
||||
|
||||
/**
|
||||
* RTT results.
|
||||
|
@ -207,4 +208,9 @@ parcelable RttResult {
|
|||
* A required field for IEEE 802.11az result.
|
||||
*/
|
||||
byte numRxSpatialStreams;
|
||||
/**
|
||||
* Optional vendor-specific parameters. Null value indicates
|
||||
* that no vendor data is provided.
|
||||
*/
|
||||
@nullable OuiKeyedData[] vendorData;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue