From 8ad4251bbb43db9edc7666383efa972b4aede314 Mon Sep 17 00:00:00 2001 From: ziyiw Date: Fri, 24 Jun 2022 22:12:53 +0000 Subject: [PATCH] Add new capability TLV for supported RSSI reporting Test: Compile Bug: 236720553 Merged-In: Iae490f193c7e613ef8c9ee03784563b3286182bb Change-Id: Iae490f193c7e613ef8c9ee03784563b3286182bb --- .../uwb/fira_android/UwbVendorCapabilityTlvTypes.aidl | 1 + .../uwb/fira_android/UwbVendorCapabilityTlvTypes.aidl | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/uwb/aidl/aidl_api/android.hardware.uwb.fira_android/current/android/hardware/uwb/fira_android/UwbVendorCapabilityTlvTypes.aidl b/uwb/aidl/aidl_api/android.hardware.uwb.fira_android/current/android/hardware/uwb/fira_android/UwbVendorCapabilityTlvTypes.aidl index 002e11a427..cd08671931 100644 --- a/uwb/aidl/aidl_api/android.hardware.uwb.fira_android/current/android/hardware/uwb/fira_android/UwbVendorCapabilityTlvTypes.aidl +++ b/uwb/aidl/aidl_api/android.hardware.uwb.fira_android/current/android/hardware/uwb/fira_android/UwbVendorCapabilityTlvTypes.aidl @@ -46,4 +46,5 @@ enum UwbVendorCapabilityTlvTypes { SUPPORTED_AOA_RESULT_REQ_ANTENNA_INTERLEAVING = 227, SUPPORTED_MIN_RANGING_INTERVAL_MS = 228, SUPPORTED_RANGE_DATA_NTF_CONFIG = 229, + SUPPORTED_RSSI_REPORTING = 230, } diff --git a/uwb/aidl/android/hardware/uwb/fira_android/UwbVendorCapabilityTlvTypes.aidl b/uwb/aidl/android/hardware/uwb/fira_android/UwbVendorCapabilityTlvTypes.aidl index e15edcb1c4..556bd13d58 100644 --- a/uwb/aidl/android/hardware/uwb/fira_android/UwbVendorCapabilityTlvTypes.aidl +++ b/uwb/aidl/android/hardware/uwb/fira_android/UwbVendorCapabilityTlvTypes.aidl @@ -163,4 +163,12 @@ enum UwbVendorCapabilityTlvTypes { * RANGE_DATA_NTF_CONFIG in SET_APP_CFG_CMD */ SUPPORTED_RANGE_DATA_NTF_CONFIG = 0xE5, + + /** + * 1 byte bitmask to indicate the supported RSSI_REPORTING values + * Values: + * 1 - Feature supported. + * 0 - Feature not supported. + */ + SUPPORTED_RSSI_REPORTING = 0xE6, }