[uwb-hal] add antenna mode app config param

Bug: 341159131
Test: n/a
Change-Id: I37c8f502f6148f3fd70a2f0da69da4701c0dda98
This commit is contained in:
James Eidson 2024-05-23 22:49:28 +00:00
parent b1fa86023c
commit 7947eaa266
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,
}