mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Add CS mode 0 params for Channel Sounding HAL
- add frequencyCompensation in ChannelSoudingRawData - add measuredFreqOffset in ChannelSoundingSingleSideData Bug: 310941161 Test: m android.hardware.bluetooth.ranging-update-api Change-Id: I88444b76b136c5b45d4298692d5734b44941c5a3
This commit is contained in:
committed by
Roshan Pius
parent
0d3349c717
commit
9aaa752c3e
@@ -35,6 +35,7 @@ package android.hardware.bluetooth.ranging;
|
||||
@VintfStability
|
||||
parcelable ChannelSoudingRawData {
|
||||
int procedureCounter;
|
||||
int[] frequencyCompensation;
|
||||
boolean aborted;
|
||||
android.hardware.bluetooth.ranging.ChannelSoundingSingleSideData initiatorData;
|
||||
android.hardware.bluetooth.ranging.ChannelSoundingSingleSideData reflectorData;
|
||||
|
||||
@@ -38,6 +38,7 @@ parcelable ChannelSoundingSingleSideData {
|
||||
@nullable byte[] packetQuality;
|
||||
@nullable byte[] packetRssiDbm;
|
||||
@nullable android.hardware.bluetooth.ranging.Nadm[] packetNadm;
|
||||
@nullable int[] measuredFreqOffset;
|
||||
@nullable List<android.hardware.bluetooth.ranging.ComplexNumber> packetPct1;
|
||||
@nullable List<android.hardware.bluetooth.ranging.ComplexNumber> packetPct2;
|
||||
byte referencePowerDbm;
|
||||
|
||||
@@ -28,6 +28,11 @@ parcelable ChannelSoudingRawData {
|
||||
* Procedure counter of the CS procedure.
|
||||
*/
|
||||
int procedureCounter;
|
||||
/**
|
||||
* Frequency Compensation indicates fractional frequency
|
||||
* offset (FFO) value of initiator, in 0.01ppm
|
||||
*/
|
||||
int[] frequencyCompensation;
|
||||
/**
|
||||
* Indicate if the procedure aborted.
|
||||
*/
|
||||
|
||||
@@ -41,6 +41,10 @@ parcelable ChannelSoundingSingleSideData {
|
||||
* Packet NADM of mode-1 or mode-3 step data for attack detection.
|
||||
*/
|
||||
@nullable Nadm[] packetNadm;
|
||||
/**
|
||||
* Measured Frequency Offset from mode 0, relative to the remote device, in 0.01ppm
|
||||
*/
|
||||
@nullable int[] measuredFreqOffset;
|
||||
/**
|
||||
* Packet_PCT1 or packet_PCT2 of mode-1 or mode-3, if sounding sequence is used and sounding
|
||||
* phase-based ranging is supported.
|
||||
|
||||
Reference in New Issue
Block a user