mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 10:44:41 +00:00
Add new capability TLV and config TLV for supported diagnostics.
Test: Compile Bug: 236969605 Merged-In: I9cd3e442857cf8691420f7d3f3386f1aa45a78a2 Change-Id: I9cd3e442857cf8691420f7d3f3386f1aa45a78a2
This commit is contained in:
@@ -47,4 +47,5 @@ enum UwbVendorCapabilityTlvTypes {
|
||||
SUPPORTED_MIN_RANGING_INTERVAL_MS = 228,
|
||||
SUPPORTED_RANGE_DATA_NTF_CONFIG = 229,
|
||||
SUPPORTED_RSSI_REPORTING = 230,
|
||||
SUPPORTED_DIAGNOSTICS = 231,
|
||||
}
|
||||
|
||||
@@ -43,4 +43,6 @@ enum UwbVendorSessionAppConfigTlvTypes {
|
||||
NB_OF_RANGE_MEASUREMENTS = 227,
|
||||
NB_OF_AZIMUTH_MEASUREMENTS = 228,
|
||||
NB_OF_ELEVATION_MEASUREMENTS = 229,
|
||||
ENABLE_DIAGNOSTICS = 232,
|
||||
DIAGRAMS_FRAME_REPORTS_FIELDS = 233,
|
||||
}
|
||||
|
||||
@@ -171,4 +171,12 @@ enum UwbVendorCapabilityTlvTypes {
|
||||
* 0 - Feature not supported.
|
||||
*/
|
||||
SUPPORTED_RSSI_REPORTING = 0xE6,
|
||||
|
||||
/**
|
||||
* 1 byte value to indicate support for diagnostics feature.
|
||||
* Values:
|
||||
* 1 - Feature supported.
|
||||
* 0 - Feature not supported.
|
||||
*/
|
||||
SUPPORTED_DIAGNOSTICS = 0xE7,
|
||||
}
|
||||
|
||||
@@ -66,4 +66,23 @@ enum UwbVendorSessionAppConfigTlvTypes {
|
||||
NB_OF_AZIMUTH_MEASUREMENTS = 0xE4,
|
||||
/** 1 byte data */
|
||||
NB_OF_ELEVATION_MEASUREMENTS = 0xE5,
|
||||
|
||||
/**
|
||||
* Supported only if the UwbVendorCapabilityTlvTypes
|
||||
* .SUPPORTED_DIAGNOSTICS set to 1.
|
||||
*/
|
||||
/**
|
||||
* 1 byte data
|
||||
* 1 - Enable,
|
||||
* 0 - Disable
|
||||
*/
|
||||
ENABLE_DIAGNOSTICS = 0xE8,
|
||||
/**
|
||||
* 1 byte bitmask
|
||||
* b0: Activate RSSIs field,
|
||||
* b1: Activate AoAs field,
|
||||
* b2: Activate CIRs field,
|
||||
* b3 - b7: RFU
|
||||
*/
|
||||
DIAGRAMS_FRAME_REPORTS_FIELDS = 0xE9,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user