Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 471879fc authored by Ayush Jain's avatar Ayush Jain Committed by Android (Google) Code Review
Browse files

Merge "Add a Vendor-dependent UCI Reason code for UWB OFF" into tm-mainline-prod

parents c0925e2a ff9268b1
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -35,4 +35,5 @@ package android.hardware.uwb.fira_android;
@Backing(type="int") @VintfStability
@Backing(type="int") @VintfStability
enum UwbVendorReasonCodes {
enum UwbVendorReasonCodes {
  REASON_ERROR_INVALID_CHANNEL_WITH_AOA = 128,
  REASON_ERROR_INVALID_CHANNEL_WITH_AOA = 128,
  REASON_REGULATION_UWB_OFF = 129,
}
}
+4 −2
Original line number Original line Diff line number Diff line
@@ -24,11 +24,13 @@ package android.hardware.uwb.fira_android;
@Backing(type="int")
@Backing(type="int")
enum UwbVendorReasonCodes {
enum UwbVendorReasonCodes {
    /**
    /**
     * Use values from the vendor specific reason code range: 0x80 – 0xFF defined in Table 16 of
     * Use values from the vendor specific reason code range: 0x80 – 0xFF defined in
     * UCI specification.
     * Table 15 (state change with reason codes) of UCI specification.
     */
     */


    /** Fira specific */
    /** Fira specific */
    /** The channel requested is not available for AoA */
    /** The channel requested is not available for AoA */
    REASON_ERROR_INVALID_CHANNEL_WITH_AOA = 0x80,
    REASON_ERROR_INVALID_CHANNEL_WITH_AOA = 0x80,
    /** UWB has been disabled (eg: country code change leads to UWB unsupported) */
    REASON_REGULATION_UWB_OFF = 0x81,
}
}