summaryrefslogtreecommitdiffstats
path: root/libril/ril_commands.h
Commit message (Collapse)AuthorAgeFilesLines
* SEEK: Add support for getAtrPreeti Ahuja2014-11-271-0/+1
| | | | | | | Add support for RIL_REQUEST_SIM_GET_ATR request for enabling getAtr api. Change-Id: I5fe8f8156b55e7feaa7bb2671cd8451cb8bd2f36
* Support reading data profiles from OMH cardsNaveen Kalla2014-11-271-0/+1
| | | | | | | Conflicts: include/telephony/ril.h libril/ril_commands.h Change-Id: I371a15428cd296cd02a2f82d5904dea483058c26
* Support Additional SIM DepersonalizationsRakesh Pallerla2014-11-271-1/+1
| | | | | | | | Add support for Additional Depersonalization types. Added support for all ME De-Personalizations as per specs 3GPP2 C.S0068-0 and 3GPP TS 22.022. Change-Id: Ia2193e95cd7a6bdc4b224cef8b42285543a52361
* Add RIL_REQUEST_SHUTDOWN to notify RIL that device is shutting downNaveen Kalla2014-08-191-0/+1
| | | | | | | | | When device is in airplane mode, SIM card and modem may be powered on. RIL can use RIL_REQUEST_SHUTDOWN to shutdown the modem and SIM card gracefully. Bug: 9773278 Change-Id: I6afa9e810cefc7855f7ae42e51f39cc51fa2aa6e
* Revert "Revert "add apn setting parameters, and set apn parameters to bp""Amit Mahajan2014-08-131-0/+1
| | | | | | This reverts commit 87540b6318016540030421a5c2bc41b759bf33cd. Change-Id: I7f6043ad55299ecc01cbcadc81c281b133755b86
* Revert "add apn setting parameters, and set apn parameters to bp"Amit Mahajan2014-08-121-1/+0
| | | | | | This reverts commit 6be060de61b99ed29ad67ebfa19271bbe0a475fe. Change-Id: Idc7d6cfc97ca6fadd93d85e96b12cb46e33f35c6
* add apn setting parameters, and set apn parameters to bpHui Wang2014-08-111-0/+1
| | | | Change-Id: I779b28996fafcacdefb63072b7dcc6bd90a532be
* Changes to correctly process EAP-SIM req parameters in rilAmit Mahajan2014-07-181-1/+1
| | | Change-Id: I393c18f878fe3e5efcd81543a9a38a4c353b6e03
* Add support for retrieving real time data connection information.Wink Saville2014-07-131-0/+2
| | | | | | | | | To be able to reduce power consumption caused by the mobile radio being in a high power state, the radio will report its power state in real time. Bug: 8233234 Change-Id: Ia4195211c380efc04a65c6f1f6e4d29095a1bc35
* EAP-SIM RIL command name change.Amit Mahajan2014-06-301-0/+1
| | | | | | | Modified the name to match what was in QCRIL. Added structures for req/resp in ril.h Change-Id: I41abfacb7bacd4cfa0d4543100ac9960c97184f9
* Merge kwd to masterEtan Cohen2014-06-251-0/+3
| | | | Change-Id: Id33008507cbafc88288b6483c7691d6db34cc5c3
* Remove unneeded new RIL command.Jake Hamby2014-02-181-1/+0
| | | | | | | | | Remove the recently added RIL_REQUEST_SET_RADIO_MODE command and update the definition of the RIL_REQUEST_NV_RESET_CONFIG parameter. Also, space out the NV item enum values so we can add new items per category. Bug: 12864208 Change-Id: I0831b8495d06065e96239ef74d67342daa7b3743
* Add new RIL commands to read, write, and reset NV items.Jake Hamby2014-02-031-0/+5
| | | | | | | | | | Add new RIL commands to read, write, and reset NV items, including the CDMA Preferred Roaming List (PRL). Used for device configuration by some CDMA operators. Bug: 12864208 Change-Id: I792e272438b56bca725e6c034baac19244e5563f
* RIL changes for supporting generic SIM communication.Shishir Agrawal2013-12-021-0/+4
| | | | | | | | | | | | The RIL interface adds 4 new commands: - RIL_REQUEST_SIM_TRANSMIT_BASIC (AT+CSIM - TS 27.007) - RIL_REQUEST_SIM_OPEN_CHANNEL (AT+CCHO - TS 27.007) - RIL_REQUEST_SIM_CLOSE_CHANNEL (AT+CCHC - TS 27.007) - RIL_REQUEST_SIM_TRANSMIT_CHANNEL (AT+CGLA - TS 27.007) The RIL version is also increased to 10 by this change. Change-Id: Iee4d950d37a6097493cd945e611c914c40827215
* RIL: Support SMS over IMSSukanya Rajkhowa2013-10-101-0/+2
| | | | | | | | | | | | | | | RIL_REQUEST_IMS_REGISTRATION_STATE is used to aquire IMS registration state. RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED is called when IMS registration state has changed. RIL_REQUEST_IMS_SEND_SMS is used to send MO SMS over IMS. However, if retry field is set in case of failure, RIL_REQUEST_IMS_SEND_SMS sets messageRef from RIL_SMS_RESPONSE of corresponding failed MO SMS, and sets retry field to non-zero. If voice is available, sends RIL_REQUEST_IMS_SEND_SMS retries with data encoded based on voice tech available. Bug: 9626411 Change-Id: If0ecc9fa47661f6560171e472f3c464713e97968
* Set initial attach apn for LTE networkSungmin Choi2013-05-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | When mobile register LTE network, APN provided by operators is needed. If mobile does not have apn information, it could not register LTE network. To deliver APN information which is used during LTE attach to modem chipset, setLteAttachProfile() and RIL_REQUEST_SET_LTE_ATTACH_PROFILE command is added. When Telephony DB is loaded or Telephony DB is changed, follow steps. 1. If preferred default ApnContext exists, this is delivered to modem chipset. 2. If preferred default ApnContext is null, find other ApnContext which can handle default type. 3. If other ApnContext which can handle default type does not exist, any other ApnContext delivered to modem chipset. Then modem register LTE network with APN information delivered from AP. Bug: 8733613 Change-Id: If84c62cddccf96a531dae0527ed1a6592ae76201 Signed-off-by: Seonju Oh <seonju.oh@lge.com> Signed-off-by: Hyejin Kim <hyejin.kim@lge.com> Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>
* Add support for CellInfo RIL commands.Wink Saville2013-04-091-0/+2
| | | | | | | | | | | These commands allow for more precise location determination. To support CellInfo I created librilutils which adds ril_nano_time over time librilutils will be expanded to have other common methods that would be used by ril implementations. Bug: 8235566 Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1
* Telephony: Get_imsi should use strings as per ril.hAlex Yakavenka2012-02-011-1/+1
| | | | Change-Id: I4f0f84ffb0e4c2387069b4a9149508c2abac032d
* Separate SIM states from Radio StatesNaveen Kalla2011-12-281-1/+2
| | | | | | | | | | | | | | A UICC can have multiple applications (USIM, CSIM). Both USIM and CSIM may be Ready. So indicating modem state as SIM_READY/RUIM_READY will be incorrect. RADIO_ON is a more appropriate Radio State. SIM status can be obtained from the RIL_REQUEST_GET_SIM_STATUS and RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED messages. The change does the following - Remove SIM states from RIL_RadioState - Add messages to indicate voice radio technology Change-Id: Ic7b540eefb741169ec22499d0e00961feb22a456
* Add new RIL requests to support SIM data download via SMS over IMS.Jake Hamby2011-10-201-1/+3
| | | | | | | | | | | | | | | | | On an LTE device where incoming SMS messages over IMS are sent to the framework via RIL_UNSOL_RESPONSE_NEW_SMS responses sent to the RIL, it may be necessary to process USIM data download SM's (message class 2). This requires the RIL to implement two new requests. 1) RIL_REQUEST_STK_SEND_ENVELOPE_WITH_STATUS: send an ENVELOPE command to the UICC, receiving the SW1 and SW2 status bytes in addition to the command response. 2) RIL_REQUEST_SMS_ACKNOWLEDGE_WITH_PDU: send an RP-ACK or RP-ERROR acknowledgement to the incoming SM, including an acknowledgement PDU containing the envelope response. Change-Id: Id134dd90611b147fdc8aebc8ccdf0e989a6542a9
* Changes to RIL to support IMS features for LTE.Jake Hamby2011-08-221-1/+2
| | | | | | | | | - 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
* Changes for ril.h version 6.Wink Saville2011-02-181-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Changes to support LTE and EHRPD radio technology - Support IPv6 in addition to IPv4 on the modems - Detailed GPRS registration denied causes - Access to multiple apps on UICC card - Access to ISIM app on UICC - Deprecate RIL_REQUEST_LAST_DATA_CALL_FAIL_CAUSE as it can causes problems when several PDN contexts are active. Failure reason should be returned when setup_data_call returns - Added RIL_RadioTechnology - Added RIL_PreferredNetworkType - Added RIL_CdmaSubscriptionSource - Added RIL_LTE_SignalStrength - Added AID to SIM requests as an optional parameter - Add new error codes for returning disconnect reasons - RIL_Data_Call_Response_v3/v5 Added fields to support IPv6 and return status as it will now be returned as part of RIL_REQUEST_SETUP_DATA_CALL - Rename RIL_REQUEST_REGISTRATION_STATE to RIL_REQUEST_VOICE_REGISTRATION_STATE response[3] return RIL_RadioTechnology for voice calls response[13] more error codes - Rename RIL_REQUEST_GPRS_REGISTRATION_STATE to RIL_REQUEST_DATA_REGISTRATION_STATE Changed response[3] to be RIL_RadioTechnology for data calls Added response[4] error codes for registration being denied Added response[5] Max simultaneous data calls - RIL_REQUEST_SETUP_DATA_CALL Changed data[0] to be RIL_RadioTechnology Response is now a RIL_Data_Call_Response_v5 - RIL_REQUEST_DATA_CALL_LIST Response is now a RIL_Data_Call_Response_v5 - RIL_UNSOL_DATA_CALL_LIST_CHANGED Response is now a RIL_Data_Call_Response_v5 - RIL_REQUEST_SET_PREFERRED_NETWORK_TYPE Changed data[0] to be RIL_PreferredNetworkType - RIL_REQUEST_GET_PREFERRED_NETWORK_TYPE Changed response[0] to be RIL_PreferredNetworkType - Rename RIL_REQUEST_SET_CDMA_SUBSCRIPTION to RIL_REQUEST_SET_CDMA_SUBSCRIPTION_SOURCE - Added RIL_REQUEST_GET_CDMA_SUBSCRIPTION_SOURCE - Added support for AID to RIL_UNSOL_SIM_REFRESH - Added RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED - Added RIL_UNSOL_PRL_CHANGED - Added RIL_UNSOL_EXIT_EMERGENCY_CALLBACK_MODE - Rename RIL_UNSOL_RESPONSE_NETWORK_CHANGED to RIL_UNSOL_RESPONSE_VOICE_NETWORK_CHANGED Have refercence-ril and mock-ril use a private copy of ril.h so the ril may evolve separately from them. Change-Id: I1b952069f5406f5dc42480d019970d10f0120358
* RIL v5 RIL_REQUEST_SETUP_DATA_CALL.Wink Saville2011-01-131-1/+1
| | | | Change-Id: I30531e103416b1b817b9370304e3301a1c641cf5
* RIL changes for IPv6 / IPv4v6 data calls.Lorenzo Colitti2010-09-071-1/+1
| | | | | | | | | | | | | | - Add a PDP type parameter to REQUEST_SETUP_DATA_CALL. Make this backwards compatible: if we're called with a PDP type parameter and the RIL doesn't support it, remove the parameter from the request so the RIL never sees it. - Change the description of the address field in the RIL_Data_Call_Response structure and in the response to RIL_REQUEST_SETUP_DATA_CALL from an address to a space-separated list of addresses. This preserves both source and binary compatibility but allows new RILs to return both an IPv4 and an IPv6 address for dual-stack data calls. Change-Id: I0a77fc57c042bedfd18068c7faf7637a46f476d5
* Support for fetching PSC of serving cell.jsh2010-06-231-2/+1
| | | | | | | Instead of adding a new RIL command, just extend RIL_REQUEST_REGISTRATION_STATE. Bug: 2465036 Change-Id: I36c3a7b730cace66621fc513773ec97c453ea619
* New RIL command to fetch PSC of current serving cell.jsh2010-06-221-1/+2
| | | | | Bug: 2465036 Change-Id: Iccd177747bb78e2cd5ec6d9d22e47aa0e7bfd64b
* ril.h: Add a failure cause for CDMA call failures, renameNaveen Kalla2009-09-281-1/+1
| | | | | | | | | | | RIL_REQUEST_CDMA_VALIDATE_AKEY and minor clarifications in the interface definitions. Add failure cause for CDMA call failures due to access blocked by the network. Specify the fields in RIL_REQUEST_REGISTRATION_STATE response that are applicable to EVDO. Rename RIL_REQUEST_CDMA_VALIDATE_AKEY to RIL_REQUEST_VALIDATE_AND_WRITE_AKEY. Elaborate the meaning of Akey in the RIL_REQUEST_CDMA_VALIDATE_AND_WRITE_AKEY message.
* (Hopefully) final updates to ril.h for donut.jsh2009-07-101-1/+1
| | | | Some new error values; additional parameters for BURST_DTMF.
* Add remaining retry count to response for PIN/PUK commands.jsh2009-06-191-8/+8
| | | | | | | | | | | | | RIL_REQUEST_ENTER_SIM_PIN RIL_REQUEST_ENTER_SIM_PUK RIL_REQUEST_ENTER_SIM_PIN2 RIL_REQUEST_ENTER_SIM_PUK2 RIL_REQUEST_CHANGE_SIM_PIN RIL_REQUEST_CHANGE_SIM_PIN2 RIL_REQUEST_SET_FACILITY_LOCK RIL_ENTER_NETWORK_DEPERSONALIZATION Also add requestToString entry for REPORT_SMS_MEMORY_STATUS.
* Cleanup whitespace.Wink Saville2009-06-091-11/+11
|
* Add RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING.Wink Saville2009-06-081-1/+3
| | | | Also add RIL_REQUEST_REPORT_SMS_MEMORY_STATUS which was missing from ril_commands.h.
* Cleanup and changes of responseCdmaInformationReocrds, Broadcast SMSWink Saville2009-05-271-11/+11
| | | | | | | | | | | | | | | | | configuration and reponseRilSignalStrength. From Motorola, change reponseCdmaInformationRecords to use string for marshalling and simplify by removing duplicate code. Change Broadcast SMS configuration adding some some new fields for Gsm Broadcast configuration and some name changes to be more coherent. Cleanup responseRilSignalStrength, includes some code refactoring and removing the sending of the number of intergers. Now it is assumed that a RIL_SignalStrength structure being sent so it is not necessary to send the length. There is a corresponding change in frameworks/base/telephony/java/com/android/internal/telephony/RIL.java.
* Add get/set SMSC address to ril.h.jsh2009-05-111-1/+4
|
* Teleca 090414 & 090423 patches for CDMA to complete phase1 work.Wink Saville2009-04-241-3/+3
|
* AI 144185: Integrate cdma into the main code base.Wink Saville2009-04-021-6/+28
| | | | Automated import of CL 144185
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+93
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-93/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-1/+1
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+93