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

Commit 9e924af6 authored by Daniel Bright's avatar Daniel Bright Committed by Automerger Merge Worker
Browse files

Merge "Add Handover Failure Mode to Radio Hal" am: f8e858b4 am: 1b6329f0 am: 7f28f618

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1470167

Change-Id: I8bddc5b15738a067c9b0ae681ff5cfe1becb4cae
parents c698d7f2 7f28f618
Loading
Loading
Loading
Loading
+28 −1
Original line number Diff line number Diff line
@@ -182,7 +182,7 @@ struct QosFilter {
    QosFilterDirection direction;

    /**
     * Specified the order in which the filter needs to be matched.
     * Specifies the order in which the filter needs to be matched.
     * A lower numerical(positive) value has a higher precedence.
     * Set -1 when unspecified.
     */
@@ -201,6 +201,30 @@ struct QosSession {
    vec<QosFilter> qosFilters;
};

/** The allowed failure modes on an IWLAN handover failure. */
enum HandoverFailureMode : int32_t {
    /**
     * On data handover failure, fallback to the source data transport when the
     * fail cause is due to a hand off preference change.
     */
    LEGACY = 0,

    /** On data handover failure, fallback to the source data transport. */
    DO_FALLBACK = 1,

    /**
     * On data handover failure, retry the handover instead of falling back to
     * the source data transport.
     */
    NO_FALLBACK_RETRY_HANDOVER = 2,

    /**
     * On data handover failure, setup a new data connection by sending a normal
     * request to the underlying data service.
     */
    NO_FALLBACK_RETRY_SETUP_NORMAL = 3
};

struct SetupDataCallResult {
    @1.5::SetupDataCallResult base;

@@ -212,4 +236,7 @@ struct SetupDataCallResult {
     * PDNs that support dedicated bearers.
     */
    vec<QosSession> qosSessions;

    /** Specifies the fallback mode on an IWLAN handover failure. */
    HandoverFailureMode handoverFailureMode;
};