Merge "Add Diagnostics Oid in HAL." into tm-mainline-prod

This commit is contained in:
TreeHugger Robot
2022-07-28 00:14:36 +00:00
committed by Android (Google) Code Review
2 changed files with 5 additions and 0 deletions

View File

@@ -36,4 +36,5 @@ package android.hardware.uwb.fira_android;
enum UwbVendorGidAndroidOids {
ANDROID_GET_POWER_STATS = 0,
ANDROID_SET_COUNTRY_CODE = 1,
ANDROID_RANGE_DIAGNOSTICS = 2,
}

View File

@@ -31,4 +31,8 @@ enum UwbVendorGidAndroidOids {
// Used to set the current regulatory country code (determined usinag
// SIM or hardcoded by OEM).
ANDROID_SET_COUNTRY_CODE = 0x1,
// Used by the notification to get UWB ranging diagnostics stats.
// Supported only if the UwbVendorCapabilityTlvTypes.SUPPORTED_DIAGNOSTICS set
// to 1.
ANDROID_RANGE_DIAGNOSTICS = 0x2,
}