diff options
author | Jake Hamby <jhamby@google.com> | 2011-08-19 16:22:18 -0700 |
---|---|---|
committer | Jake Hamby <jhamby@google.com> | 2011-08-22 19:47:34 -0700 |
commit | fa8d584ca7984bf7d73ff37c7c2bc1e0dfa5fb71 (patch) | |
tree | b791f1b31b111a946a36f1f3384af0a002c92c36 | |
parent | 2c8c96556ba797789b45ba2465ef892568c7312d (diff) | |
download | platform_hardware_ril-ics-mr0-release.tar.gz platform_hardware_ril-ics-mr0-release.tar.bz2 platform_hardware_ril-ics-mr0-release.zip |
Changes to RIL to support IMS features for LTE.android-sdk-adt_r16.0.1android-cts-4.0_r1android-4.0.2_r1android-4.0.1_r1.2android-4.0.1_r1.1android-4.0.1_r1ics-mr0-releaseics-mr0ics-factoryrom-2-release
- There is a new RIL request, RIL_REQUEST_ISIM_AUTHENTICATION, which is
used to perform IMS AKA authentication using the algorithm on the ISIM
application of the UICC. The challenge nonce and response are both encoded
as Base64 strings.
Change-Id: I072b43d2b66b2013f8e58d3bd8251d75a453f167
-rw-r--r-- | include/telephony/ril.h | 16 | ||||
-rw-r--r-- | libril/ril.cpp | 1 | ||||
-rw-r--r-- | libril/ril_commands.h | 3 |
3 files changed, 19 insertions, 1 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h index e4dccd19..64667df1 100644 --- a/include/telephony/ril.h +++ b/include/telephony/ril.h @@ -3205,6 +3205,22 @@ typedef struct { */ #define RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE 104 +/** + * RIL_REQUEST_ISIM_AUTHENTICATION + * + * Request the ISIM application on the UICC to perform AKA + * challenge/response algorithm for IMS authentication + * + * "data" is a const char * containing the challenge string in Base64 format + * "response" is a const char * containing the response in Base64 format + * + * Valid errors: + * SUCCESS + * RADIO_NOT_AVAILABLE + * GENERIC_FAILURE + */ +#define RIL_REQUEST_ISIM_AUTHENTICATION 105 + /***********************************************************************/ diff --git a/libril/ril.cpp b/libril/ril.cpp index e45827a9..dec55073 100644 --- a/libril/ril.cpp +++ b/libril/ril.cpp @@ -3191,6 +3191,7 @@ requestToString(int request) { case RIL_REQUEST_REPORT_SMS_MEMORY_STATUS: return "REPORT_SMS_MEMORY_STATUS"; case RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING: return "REPORT_STK_SERVICE_IS_RUNNING"; case RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE: return "CDMA_GET_SUBSCRIPTION_SOURCE"; + case RIL_REQUEST_ISIM_AUTHENTICATION: return "ISIM_AUTHENTICATION"; case RIL_UNSOL_RESPONSE_RADIO_STATE_CHANGED: return "UNSOL_RESPONSE_RADIO_STATE_CHANGED"; case RIL_UNSOL_RESPONSE_CALL_STATE_CHANGED: return "UNSOL_RESPONSE_CALL_STATE_CHANGED"; case RIL_UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED: return "UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED"; diff --git a/libril/ril_commands.h b/libril/ril_commands.h index fbd2a69c..f5ef3284 100644 --- a/libril/ril_commands.h +++ b/libril/ril_commands.h @@ -118,4 +118,5 @@ {RIL_REQUEST_SET_SMSC_ADDRESS, dispatchString, responseVoid}, {RIL_REQUEST_REPORT_SMS_MEMORY_STATUS, dispatchInts, responseVoid}, {RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING, dispatchVoid, responseVoid}, - {RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE, dispatchVoid, responseInts} + {RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE, dispatchVoid, responseInts}, + {RIL_REQUEST_ISIM_AUTHENTICATION, dispatchString, responseString} |