From 2d24bbc890bf1403c44e79334f768bf4f8b897b5 Mon Sep 17 00:00:00 2001 From: Aswin Sankar Date: Wed, 24 Aug 2022 00:27:08 -0700 Subject: Add DataFailCause for IWLAN_CONGESTION. - ePDG private error type CONGESTION was added in TS 24.502. Bug: 233121749 Test: ErrorPolicyManagerTest#testErrorPolicyWithNumAttemptsPerFqdn() Change-Id: I85e6a1700f72db1d55a7929e5d4d93f8cac66c64 Merged-In: I85e6a1700f72db1d55a7929e5d4d93f8cac66c64 --- telephony/java/android/telephony/DataFailCause.java | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/telephony/java/android/telephony/DataFailCause.java b/telephony/java/android/telephony/DataFailCause.java index e882b259f45e..418f5185f84f 100644 --- a/telephony/java/android/telephony/DataFailCause.java +++ b/telephony/java/android/telephony/DataFailCause.java @@ -987,8 +987,17 @@ public final class DataFailCause { /** The ePDG does not support un-authenticated IMSI based emergency PDN bringup **/ public static final int IWLAN_UNAUTHENTICATED_EMERGENCY_NOT_SUPPORTED = 0x2B2F; - // Device is unable to establish an IPSec tunnel with the ePDG for any reason - // e.g authentication fail or certificate validation or DNS Resolution and timeout failure. + // The below error causes are relevant when the device is unable to establish an IPSec tunnel + // with the ePDG for any reason, e.g. authentication fail or certificate validation or DNS + // Resolution and timeout failure. + + /** + * The requested service was rejected because of congestion in the network while accessing the + * IWLAN ePDG. Defined in 3GPP TS 24.502, Section 9.2.4.2. + * + * @hide + */ + public static final int IWLAN_CONGESTION = 0x3C8C; /** IKE configuration error resulting in failure */ public static final int IWLAN_IKEV2_CONFIG_FAILURE = 0x4000; -- cgit v1.2.3-59-g8ed1b