From 8bdec9e82370b13225f0ab5ec87cca3018f7702e Mon Sep 17 00:00:00 2001 From: Ecco Park Date: Tue, 2 Oct 2018 10:33:30 -0700 Subject: [PATCH] passpoint-r2: add the status for starting third soap exchange Bug: 74244324 Test: ./frameworks/base/wifi/tests/runtests.sh Test: live test with Passpoint R2 service provider AP Change-Id: I526c23681f79967cfa644d18d59166e9c7682f33 Signed-off-by: Ecco Park --- .../net/wifi/hotspot2/ProvisioningCallback.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/wifi/java/android/net/wifi/hotspot2/ProvisioningCallback.java b/wifi/java/android/net/wifi/hotspot2/ProvisioningCallback.java index b4dfac6c01c7b..6076175ce9d19 100644 --- a/wifi/java/android/net/wifi/hotspot2/ProvisioningCallback.java +++ b/wifi/java/android/net/wifi/hotspot2/ProvisioningCallback.java @@ -101,6 +101,12 @@ public abstract class ProvisioningCallback { */ public static final int OSU_FAILURE_NO_OSU_ACTIVITY_FOUND = 14; + /** + * The reason code for provisioning failure when the status of a SOAP message is not the + * expected message status. + */ + public static final int OSU_FAILURE_UNEXPECTED_SOAP_MESSAGE_STATUS = 15; + /** * The status code for provisioning flow to indicate connecting to OSU AP */ @@ -146,6 +152,11 @@ public abstract class ProvisioningCallback { */ public static final int OSU_STATUS_SECOND_SOAP_EXCHANGE = 9; + /** + * The status code for provisioning flow to indicate starting the third SOAP exchange. + */ + public static final int OSU_STATUS_THIRD_SOAP_EXCHANGE = 10; + /** * Provisioning status for OSU failure *