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

Commit 8192e6ab authored by EdenSu's avatar EdenSu
Browse files

Add carrier config for EAP-AKA fast reauth feature

Add config to enable/disable EAP-AKA fast reauth.

Bug: 195961691
Test: Fast reauth function was verified with lab testing
Change-Id: I62940050823b2306262a878a52c20895d1b552dc
parent 93f84575
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -41302,6 +41302,7 @@ package android.telephony {
    field public static final String KEY_SUPPORTED_IKE_SESSION_ENCRYPTION_ALGORITHMS_INT_ARRAY = "iwlan.supported_ike_session_encryption_algorithms_int_array";
    field public static final String KEY_SUPPORTED_INTEGRITY_ALGORITHMS_INT_ARRAY = "iwlan.supported_integrity_algorithms_int_array";
    field public static final String KEY_SUPPORTED_PRF_ALGORITHMS_INT_ARRAY = "iwlan.supported_prf_algorithms_int_array";
    field public static final String KEY_SUPPORTS_EAP_AKA_FAST_REAUTH_BOOL = "iwlan.supports_eap_aka_fast_reauth_bool";
  }
  public abstract class CellIdentity implements android.os.Parcelable {
+5 −0
Original line number Diff line number Diff line
@@ -4883,6 +4883,10 @@ public class CarrierConfigManager {
        /** Specifies the PCO id for IPv4 Epdg server address */
        public static final String KEY_EPDG_PCO_ID_IPV4_INT = KEY_PREFIX + "epdg_pco_id_ipv4_int";

        /** Controls if the IKE tunnel setup supports EAP-AKA fast reauth */
        public static final String KEY_SUPPORTS_EAP_AKA_FAST_REAUTH_BOOL =
                KEY_PREFIX + "supports_eap_aka_fast_reauth_bool";

        /** @hide */
        @IntDef({AUTHENTICATION_METHOD_EAP_ONLY, AUTHENTICATION_METHOD_CERT})
        public @interface AuthenticationMethodType {}
@@ -5029,6 +5033,7 @@ public class CarrierConfigManager {
            defaults.putBoolean(KEY_ADD_KE_TO_CHILD_SESSION_REKEY_BOOL, false);
            defaults.putInt(KEY_EPDG_PCO_ID_IPV6_INT, 0);
            defaults.putInt(KEY_EPDG_PCO_ID_IPV4_INT, 0);
            defaults.putBoolean(KEY_SUPPORTS_EAP_AKA_FAST_REAUTH_BOOL, false);

            return defaults;
        }