[automerge] Add new reason code and status code for session conflict. 2p: fbe75bbcf1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/21996393 Bug: 272361935 Change-Id: If679383a5b702334dc490e25c53755458947a158
This commit is contained in:
commit
1c2d1bda32
4 changed files with 10 additions and 4 deletions
|
@ -35,5 +35,6 @@ package android.hardware.uwb.fira_android;
|
|||
@Backing(type="int") @VintfStability
|
||||
enum UwbVendorReasonCodes {
|
||||
REASON_ERROR_INVALID_CHANNEL_WITH_AOA = 128,
|
||||
REASON_REGULATION_UWB_OFF = 129,
|
||||
REASON_ERROR_STOPPED_DUE_TO_OTHER_SESSION_CONFLICT = 129,
|
||||
REASON_REGULATION_UWB_OFF = 130,
|
||||
}
|
||||
|
|
|
@ -36,5 +36,6 @@ package android.hardware.uwb.fira_android;
|
|||
enum UwbVendorStatusCodes {
|
||||
STATUS_ERROR_CCC_SE_BUSY = 80,
|
||||
STATUS_ERROR_CCC_LIFECYCLE = 81,
|
||||
STATUS_REGULATION_UWB_OFF = 82,
|
||||
STATUS_ERROR_STOPPED_DUE_TO_OTHER_SESSION_CONFLICT = 82,
|
||||
STATUS_REGULATION_UWB_OFF = 83,
|
||||
}
|
||||
|
|
|
@ -31,6 +31,8 @@ enum UwbVendorReasonCodes {
|
|||
/** Fira specific */
|
||||
/** The channel requested is not available for AoA */
|
||||
REASON_ERROR_INVALID_CHANNEL_WITH_AOA = 0x80,
|
||||
/** UWB stopped caused by other session conflict */
|
||||
REASON_ERROR_STOPPED_DUE_TO_OTHER_SESSION_CONFLICT = 0x81,
|
||||
/** UWB has been disabled (eg: country code change leads to UWB unsupported) */
|
||||
REASON_REGULATION_UWB_OFF = 0x81,
|
||||
REASON_REGULATION_UWB_OFF = 0x82,
|
||||
}
|
||||
|
|
|
@ -33,6 +33,8 @@ enum UwbVendorStatusCodes {
|
|||
STATUS_ERROR_CCC_SE_BUSY = 0x50,
|
||||
/** CCC Lifecycle error */
|
||||
STATUS_ERROR_CCC_LIFECYCLE = 0x51,
|
||||
/** Other session conflict */
|
||||
STATUS_ERROR_STOPPED_DUE_TO_OTHER_SESSION_CONFLICT = 0x52,
|
||||
/** UWB Regulation Off */
|
||||
STATUS_REGULATION_UWB_OFF = 0x52,
|
||||
STATUS_REGULATION_UWB_OFF = 0x53,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue