From 4b5371de99a35690f2145f0f6de04b850fcdeb43 Mon Sep 17 00:00:00 2001 From: Jack Yu Date: Mon, 15 Oct 2018 09:49:05 -0700 Subject: [PATCH] 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 --- radio/1.3/types.hal | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/radio/1.3/types.hal b/radio/1.3/types.hal index 9f0cc15cbb..8b0891c3b5 100644 --- a/radio/1.3/types.hal +++ b/radio/1.3/types.hal @@ -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.