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

Commit 4b5371de authored by Jack Yu's avatar Jack Yu
Browse files

Restored 'maxConnsTime' and 'maxConns' in data profile

These two fields are still needed for some carriers. Should
not be removed in 1.3. Reverted back to what we have in 1.0.

Test: Telephony sanity tests
Bug: 73659459
Change-Id: I33e7b9b0cb26b56fc3c0e011557657136cb38a6c
parent f06fb17c
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -171,9 +171,9 @@ struct DataRegStateResult {
};

/**
 * Overwritten from @1.0::DataProfileInfo in order to deprecate 'mvnoType', 'mvnoMatchData',
 * 'maxConnsTime', and 'maxConns'. In the future, this must be extended instead of overwritten.
 * Added 'preferred' and 'persistent' in this version.
 * Overwritten from @1.0::DataProfileInfo in order to deprecate 'mvnoType', and 'mvnoMatchData'.
 * In the future, this must be extended instead of overwritten.
 * Also added 'preferred' and 'persistent' in this version.
 */
struct DataProfileInfo {
    /** id of the data profile */
@@ -206,6 +206,12 @@ struct DataProfileInfo {
    /** Data profile technology type */
    DataProfileInfoType type;

    /** The period in seconds to limit the maximum connections */
    int32_t maxConnsTime;

    /** The maximum connections during maxConnsTime */
    int32_t maxConns;

    /**
     * The required wait time in seconds after a successful UE initiated disconnect of a given PDN
     * connection before the device can send a new PDN connection request for that given PDN.