summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Aswin Sankar <apsankar@google.com> 2022-08-24 00:27:08 -0700
committer Aswin Sankar <apsankar@google.com> 2022-09-06 17:40:49 +0000
commit2d24bbc890bf1403c44e79334f768bf4f8b897b5 (patch)
treed4e3949bed290cf88b7a2721f659fae37c24537c
parent486626b5ea803b43933225d24aa28a2816a94380 (diff)
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
-rw-r--r--telephony/java/android/telephony/DataFailCause.java13
1 files 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;