Merge "[uwb-hal] add antenna mode app config param" into main am: c99ca5a384 am: 3ddd4246d9

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3101668

Change-Id: If875ee4337d12530a7c4514867246b1755729bf6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2024-05-31 18:43:09 +00:00
committed by Automerger Merge Worker
2 changed files with 9 additions and 0 deletions

View File

@@ -46,4 +46,5 @@ enum UwbVendorSessionAppConfigTlvTypes {
NB_OF_ELEVATION_MEASUREMENTS = 0xE5,
ENABLE_DIAGNOSTICS = 0xE8,
DIAGRAMS_FRAME_REPORTS_FIELDS = 0xE9,
ANTENNA_MODE = 0xEA,
}

View File

@@ -87,4 +87,12 @@ enum UwbVendorSessionAppConfigTlvTypes {
* b3 - b7: RFU
*/
DIAGRAMS_FRAME_REPORTS_FIELDS = 0xE9,
/**
* 1 byte data
* 0x0: Omni mode - the ranging antenna is used for both Tx and Rx.
* 0x1: Directional mode - the patch antenna is used for both Tx and Rx.
* 0x2 - 0xFF: RFU
*/
ANTENNA_MODE = 0xEA,
}