Merge changes from topic "presubmit-am-de536539e6c7464a871423c40221150c" into udc-dev

* changes:
  [automerge] Add a Vendor-dependent UCI Reason code for UWB OFF 2p: ff9268b13b
  Add a Vendor-dependent UCI Reason code for UWB OFF
This commit is contained in:
Ayush Jain
2023-03-03 22:41:43 +00:00
committed by Android (Google) Code Review
2 changed files with 5 additions and 2 deletions

View File

@@ -35,4 +35,5 @@ package android.hardware.uwb.fira_android;
@Backing(type="int") @VintfStability
enum UwbVendorReasonCodes {
REASON_ERROR_INVALID_CHANNEL_WITH_AOA = 128,
REASON_REGULATION_UWB_OFF = 129,
}

View File

@@ -24,11 +24,13 @@ package android.hardware.uwb.fira_android;
@Backing(type="int")
enum UwbVendorReasonCodes {
/**
* Use values from the vendor specific reason code range: 0x80 0xFF defined in Table 16 of
* UCI specification.
* Use values from the vendor specific reason code range: 0x80 0xFF defined in
* Table 15 (state change with reason codes) of UCI specification.
*/
/** Fira specific */
/** The channel requested is not available for AoA */
REASON_ERROR_INVALID_CHANNEL_WITH_AOA = 0x80,
/** UWB has been disabled (eg: country code change leads to UWB unsupported) */
REASON_REGULATION_UWB_OFF = 0x81,
}