diff options
author | Amit Mahajan <amitmahajan@google.com> | 2014-06-26 14:20:11 -0700 |
---|---|---|
committer | Amit Mahajan <amitmahajan@google.com> | 2014-06-30 15:48:16 -0700 |
commit | 2b77203b8c64e5bfa848303df7328d015069f8c7 (patch) | |
tree | c431c37b89f87a6331b765c709989a2af760ad16 /include/telephony/ril.h | |
parent | d365219a1873e42d2ff669e13a9fe6ce6973bd51 (diff) | |
download | android_hardware_ril-2b77203b8c64e5bfa848303df7328d015069f8c7.tar.gz android_hardware_ril-2b77203b8c64e5bfa848303df7328d015069f8c7.tar.bz2 android_hardware_ril-2b77203b8c64e5bfa848303df7328d015069f8c7.zip |
EAP-SIM RIL command name change.
Modified the name to match what was in QCRIL.
Added structures for req/resp in ril.h
Change-Id: I41abfacb7bacd4cfa0d4543100ac9960c97184f9
Diffstat (limited to 'include/telephony/ril.h')
-rw-r--r-- | include/telephony/ril.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h index 19be24a..cc7c764 100644 --- a/include/telephony/ril.h +++ b/include/telephony/ril.h @@ -3945,7 +3945,7 @@ typedef struct { #define RIL_REQUEST_GET_HARDWARE_CONFIG 124 /** - * RIL_REQUEST_ICC_SIM_AUTHENTICATION + * RIL_REQUEST_SIM_AUTHENTICATION * * Returns the response of SIM Authentication through RIL to a * challenge request. @@ -3963,7 +3963,7 @@ typedef struct { * int sw2; * char *simResponse; Response in Base64 format, see 3GPP TS 31.102 7.1.2 */ -#define RIL_REQUEST_ICC_SIM_AUTHENTICATION 125 +#define RIL_REQUEST_SIM_AUTHENTICATION 125 /***********************************************************************/ @@ -4609,6 +4609,21 @@ typedef struct { char *password; } RIL_InitialAttachApn; +typedef struct { + int authContext; /* P2 value of authentication command, see P2 parameter in + 3GPP TS 31.102 7.1.2 */ + char *authData; /* the challenge string in Base64 format, see 3GPP + TS 31.102 7.1.2 */ + char *aid; /* AID value, See ETSI 102.221 8.1 and 101.220 4, + NULL if no value. */ +} RIL_SimAuthentication; + +typedef struct { + int sw1; + int sw2; + char *simResponse; /* Response in Base64 format, see 3GPP TS 31.102 7.1.2 */ +} RIL_SimAuthenticationResponse; + #ifdef RIL_SHLIB struct RIL_Env { /** |