| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Modify condition to use SimRefreshResponse struct in
all RIL Versions greater than 7.
CRs-Fixed: 597007
Change-Id: I40fb4ad96e191ae6641eb31da014515d08704382
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
1) Add TD-SCDMA RAT support.
2) Add TD-SCDMA SignalStrength support.
3) Add TD-SCDMA network modes
Change-Id: I4eda094237ebc69ad1d2b8cc07c7fab2b4c00f17
|
|/
|
|
|
|
|
|
| |
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: I6c102ac7c253bbc8dda1e8c96cdf33c3dfbf787d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for
RIL_REQUEST_SET_UICC_SUBSCRIPTION
RIL_REQUEST_SET_DATA_SUBSCRIPTION
RIL_UNSOL_UICC_SUBSCRIPTION_STATUS_CHANGED
Change-Id: I21ac55007610e6695c7f798db16f1d47b143c9e9
Conflicts:
include/telephony/ril.h
libril/ril.cpp
(cherry picked from commit cd388722d9fe05760ee4ab4c24e6e1fd832aa676)
|
|
|
|
|
|
|
|
|
|
|
| |
Support Multiple instances of RILD identified by the arguments
passed to RILD
Change-Id: I3ac00242aed7fd40e3b7a71d00f906e7c9805c7c
Conflicts:
reference-ril/reference-ril.c
(cherry picked from commit 424e8db95c9d483dcefcbd8d861364f1589e8dd1)
|
|
|
|
|
|
|
|
|
| |
Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION in
requestToString method.
Change-Id: I323f276d4048b168b27669a0aebb58cd9decf9bd
(cherry picked from commit 5eb546bf114ecf44b3fe003ce13a2c395f45d0f9)
(cherry picked from commit 138bbe329306994e33f07febb2bb974932798c55)
|
|
|
|
|
|
|
| |
Change-Id: I1164df9ddbf70fb42e760c1f3ab7f3df4b3b5339
(cherry picked from commit 3ad8ca2d4c4fa62192d27edfca110db316001c6f)
(cherry picked from commit a08b126d1c9bcd967be6fcae681f911d57b4f929)
(cherry picked from commit ee940a0adcb8d8915979e47dc3eabc92e5a555fb)
|
|
|
|
|
|
|
| |
Change-Id: I371a15428cd296cd02a2f82d5904dea483058c26
(cherry picked from commit e2d39f6cf77d29ad57243649dc54d96a60db922c)
(cherry picked from commit 54866893124465af843a16148ff53534e725eb54)
(cherry picked from commit 494ba62c5119b0002bfedb51d4ed51514c76aa0e)
|
|
|
|
|
|
|
|
|
|
|
| |
Send information records to java as a ByteBuffer to prevent
UTF-8 parsing from mangling bytes.
Change-Id: I558a41565b3e5e20aa40b5d0c5e748b204993e26
CRs-Fixed: 338368
(cherry picked from commit 74ec9e48d6515865384cdf8607fb265d096d4f12)
(cherry picked from commit fd77b4fab982575dd35f89ce071004d55edd365e)
(cherry picked from commit c7c939156c3f1e5110001b8ac45b82b64f04f655)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| | |
Change-Id: I9986c8c5fb1777bbd2b686769ecc726319a73100
Signed-off-by: Dima Zavin <dima@android.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I85b94c4c6d61dfaa964367a58c773b5550a47995
Signed-off-by: Dima Zavin <dima@android.com>
|
|\
| |
| |
| |
| | |
* commit 'c57b3eb525db241bd3e6092453f48388bc880447':
Add CellInfoWcdma.
|
| |
| |
| |
| |
| |
| |
| | |
Update CellIdentityXxx docs to define unknown values as INT_MAX.
Bug: 8622081
Change-Id: I513a67d4b46b72f03e0c3360abcc0ad5222c1c13
|
|\|
| |
| |
| |
| | |
* commit '526882652bc7f97dfbdbf33f1a5966b1f05fbacf':
Add liblog
|
| |
| |
| |
| |
| | |
Bug: 8580410
Change-Id: Ifc86215fe3f57e0247e819b74ad82a397201a329
|
|\ \
| |/
|/|
| |
| | |
* commit '6fde8b8d0b9fdcf7fb93aeafd17e7f52bd57e7db':
Fixes typo in logging string.
|
| |
| |
| |
| |
| |
| |
| | |
Pointed out by bodhisatwa in
https://code.google.com/p/android/issues/detail?id=54098
Change-Id: I4cb42627bb0858360d6f88dedf9412720e4b5cca
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
| |
Properly remap LTE values to appropriate values
for older code.
Bug: 8561333
Change-Id: Ie6eb3b0335e8d7ea114ec70b3fb72e917094632e
|
|
|
|
|
|
|
|
| |
In case of EAGAIN error, the RIL should write to socket again after some
time.
Change-Id: Ia4c8d17b7c16040a49a4c607a1d1350ebbe7847c
CRs-Fixed: 285312
|
|
|
|
|
|
|
|
| |
This will eventually allow us to remove the code in
logd_write.c#__android_log_write which uses the tag
to direct logs to the radio buffer.
Change-Id: I7a6a966bc12e59a3ec68a56a41dd681fb325dfd8
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I611d96e7653da4f14d73c6d6f9663365dd983628
|
|/
|
|
|
|
|
|
|
| |
Two functions contained goto statements entering the scope of
automatic variables; added explicit blocks to limit these scopes.
Change-Id: Ib2d46bdc235089e208ac70bdaf405ea9e5b91ab1
Reviewed-by: Ariel J Bernal <ariel.j.bernal@intel.com>
Author: Kevin Schoedel <kevin.p.schoedel@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ril version 6 and below sends negative values
for lte rsrp in signalstrength.
Workaround to maintain backward compatibility
and convert this to positive
values in compliance with ril.h
Support for processing all fields in
SignalStrength in reference-ril
Change-Id: I4d480aa2f607cd617b18681f722de246a7894348
|
|
|
|
| |
Change-Id: I4f0f84ffb0e4c2387069b4a9149508c2abac032d
|
|
|
|
| |
Change-Id: Icc620fd191f8542f61bd38e365813753bfedefdf
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: Id52de89149d4580873215fafc922ec4bd8d722ed
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/157065
Bug: 5449033
Change-Id: Id6f7d536955c731454f1063fd19a51da0c6713a1
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/156801
Bug: 5449033
Change-Id: I42dbe6812878b39c75babc1ba95737937f45fdcc
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/156016
Bug: 5449033
Change-Id: Ib3eab0b780391f9a0ac9b53282616d66a0154ade
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/143865
Bug: 5449033
Change-Id: I9cb91455767731254a8d5bee140ea23474543f02
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
RIL occasionally exits from its event loop due to race condition
upon phone process crash. And there is no recovery mechanism
provided and causing permanent cellular data loss until reset.
The solution is simply to kill rild process to start over when
event loop exits for some reason.
Bug:5428218
Change-Id: I88a9b8e966158f0f943fe3d189d91b1352481d9b
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
| |
Added suggestedRetryTime value in v6 Data_Call_Response
structure so RIL can override retry back-off time
for some special cases.
Bug: 4723641
Change-Id: If5a683be6bcc1f530f0a5512ce3012a6102393d2
|
|
|
|
|
|
|
| |
Previously I'd fixed the constant RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED
now I'm fixing the debug output.
Change-Id: I5115ce21141175140645a63d3937c7da21705f11
|
|
|
|
|
|
|
| |
Change RIL_UNSOL_CDMA_SUBSCRIPTION_CHANGED to
RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED.
Change-Id: Id946447c6ee9777696c3d7fa1a664ee7dc7deeba
|
|
|
|
|
|
|
|
| |
The new RIL_UNSOL_RIL_CONNECTED call should return the version of
the vendor RIL library and not the version of rild. Fixes data
connectivity on Crespo.
Change-Id: Ib644216677e79b135214a546400372dd61c8d96d
|
|
|
|
| |
Change-Id: Id4cc2aff00ad0398f7a24e7f5a24626e5a63425a
|
|
|
|
|
|
|
|
|
|
| |
I've done this by change the copy to a symbolic link, this allows
us to easily change from using the common include/telephony/ril.h
to a separate instance when ril.h is evolving.
Bug: 3457628
Bug: 4132203
Change-Id: Idd8029e57dd0b2afc16c2659dbbc3e587b438f0a
|
|
|
|
| |
Change-Id: I4b4e6ab712d2a5da6f9102bf818628e9c3d05f3b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch fixes several regressions that were introduced in
a recent rewrite of the native RIL support code, and which
prevent networking from working under emulation.
- 'apn' and 'type' were incorrectly swapped in the
AT+CGDCONT= command string, so the command was
never executed properly by the emulated modem.
- The PDP context type was not properly written to the
parcel in responseDataCallList() in libril/ril.cpp.
Due to this the Java RIL code ignored the response.
- The dns list returned by requestOrSendDataCallList()
was an empty string, which caused the Java RIL code to
fail with a "unknown host" exception when trying to setup
net.dns1
Change-Id: I7f4e6f6f45d197960ecb20e7e8592272921fe694
Note: You also need to apply this emulator patch to verify
this one: http://review.source.android.com//#change,20965
The code in requestOrSendDataCallList() assumes that
AT+CGACT? and AT+CGDCONT? will have answers with exactly
the same number of lines (this wasn't the case before
the emulator fix).
|
|\ |
|