• Home
  • History
  • Annotate
  • only in /hardware/ril/reference-ril/
History log of /hardware/ril/reference-ril/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a18b9d1e1a014290691d63a7f335085dadc83e46 10-Sep-2013 Sukanya Rajkhowa <srajkh@codeaurora.org> RIL: Support SMS over IMS

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
eference-ril.c
5802701949894c743dc95731091af94307c54bd0 30-Jul-2013 Jun Tian <jun.j.tian@intel.com> Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c

If the tech is not CDMA, it will fall-through to the default case.
But the new added RIL_REQUEST_GET_CELL_INFO_LIST and RIL_REQUEST_SET_UNSOL_CELL_INFO_LIST_RATE
cases will intercept it and cause the request call into wrong request functions.
Move these two new requests before the CDMA cases to fix the logic issue.

Bug: 9193696
Change-Id: I2cb03cbdb6be8eb1afd92c01c764e87b6aa62796

Signed-off-by: Jun Tian <jun.j.tian@intel.com>
Signed-off-by: Panfeng Chang <panfengx.chang@intel.com>
Signed-off-by: Yanglin Zhu <yanglinx.zhu@intel.com>
Signed-off-by: Jackie Wu <jackie.wu@intel.com>
eference-ril.c
526882652bc7f97dfbdbf33f1a5966b1f05fbacf 10-Apr-2013 Ying Wang <wangying@google.com> Add liblog

Bug: 8580410
Change-Id: Ifc86215fe3f57e0247e819b74ad82a397201a329
ndroid.mk
8a9e02161271505de274db0c3a88087056dd5dfc 09-Apr-2013 Wink Saville <wink@google.com> Add support for CellInfo RIL commands.

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
ndroid.mk
eference-ril.c
4dcab4f90d2d49e40100e4888b1411dfbd1c9783 20-Nov-2012 Wink Saville <wink@google.com> Add RLOGx

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
tchannel.c
eference-ril.c
e9645049ba5ec9081b208f92400669613c2a8aa7 29-Aug-2012 Jaime A Lopez-Sollano <jaimel@codeaurora.org> Add CDMA and multimode support to reference-ril

Reference RIL will query emulator modem the supported radio technologies
and the current radio technology and respond to telephony with the
information. Support for basic CDMA RIL request messages and messages
to set and query preferred network mode to be able to switch between
radio technologies.

Change-Id: I950d36691f3e4029f42efe265dc1bb0016b0f410
eference-ril.c
9efcac5782b93564d47c1687e67e85849c72afed 09-Aug-2012 Uma Maheswari Ramalingam <umam@codeaurora.org> Workaround for LTE RSRP -ve values in Signal

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
eference-ril.c
28059051b016c4c13f3b81398ba78fbbb3bb1f95 29-Apr-2012 Chih-Wei Huang <cwhuang@linux.org.tw> Fix the signal strength errors

Change the response to RIL_SignalStrength_v6 format.

Change-Id: Id7797969e3433fe422625c902f54c965e806cb16
eference-ril.c
170fbdad83cba7ec4c67873bbafda389d9bec4cb 08-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)

Change-Id: Ib10d100087fd0239c075e1dfee9e77a903c00b4a
tchannel.c
eference-ril.c
b4e26162dd18f8db7308393ec8a63dfd5fd8b4ac 05-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)

Change-Id: Ib429c9b5f0eb14786231e203738a8062d718e5b0
eference-ril.c
20cd1140431e2d4013fe3be529e14e45d973bec4 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)

Change-Id: I9a87ab49edcee3281e419366ced3cbbb5ead8bc2
tchannel.c
eference-ril.c
d8ad6c98086c410243e0e8ad8285f02d6b696bd6 08-Aug-2011 Vladimir Chtchetkine <vchtchetkine@google.com> resolved conflicts for merge of 988d3d71 to honeycomb-plus-aosp

Change-Id: I85178afbca0b8b51eb3890958b063a70a1b33b96
385a73934b05fd28915e0ae17020dbfe3b20afd4 04-Aug-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Enable QEMUD pipe connection

Change-Id: I8cdeda261ebaf203310262951e8253cb8a42c8c6
eference-ril.c
250eb3c8c3adbbbaf49c30ee09a061268d9a491a 22-Jun-2011 Wink Saville <wink@google.com> Initialize new field RIL_Data_Call_Response_v6.suggestedRetryTime.

Change-Id: Idd3c9665785322a2a3fe013db459d9c8302a48d6
eference-ril.c
2c1fb3a4e7aa8039bdefacceec98aa43cfe5784c 19-Mar-2011 Wink Saville <wink@google.com> Change mock-ril and reference-ril to use include/telephony/ril.h

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
/hardware/ril/include/telephony/ril.h
eference-ril.c
9a9fbd294bf8a7465cf10480935edea8304ef661 16-Feb-2011 Wink Saville <wink@google.com> Use local copy of ril.h for reference-ril and mock-ril.

This allows for greater stability while we're changing the ril
interface, as defined by ril.h. An example is that the emulator
will continue to run using an older ril while we upgrade to
newer rils.

After the new ril has stabilized and these modules updated the
changes should be reverted and we should use
include/telephony/ril.h

Change-Id: If5011ccbe64bcb65f98b02060165f899b6d4b5f9
/hardware/ril/include/telephony/ril.h
eference-ril.c
af1298d72fd6a8b2d5bed7db15f6d181240fce83 04-Feb-2011 David 'Digit' Turner <digit@google.com> ril: Fix telephony under emulation.

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).
eference-ril.c
4380897c6cdc99486a061b819943e3b290ebcf09 14-Jan-2011 Wink Saville <wink@google.com> RIL v5 RIL_REQUEST_SETUP_DATA_CALL.

Change-Id: I30531e103416b1b817b9370304e3301a1c641cf5
eference-ril.c
4f81dcf2a9bc84cbfbb6d3d658c452c22e9b6e83 02-Sep-2010 Lorenzo Colitti <lorenzo@google.com> RIL changes for IPv6 / IPv4v6 data calls.

- 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
eference-ril.c
f838ede4a7c8b5994a84b92de8c2bcb346379be4 16-Jul-2010 Robert Greenwalt <robdroid@android.com> Fix reference ril to pass correct interface name

Restores connectivity to emulator.

Change-Id: I95e2026b16c78ebf70f5fd22ff2554751f90f0c9
eference-ril.c
74fa38884320698c1623764850e3131b9769dff0 23-Dec-2009 Wink Saville <wink@google.com> ril interface: Add support for User-User Signaling Information during call setup

Define the UUS data structures and add a pointer to it in RIL_Call for
MT Calls and RIL_Dial for MO calls. UUS information can be used to pass
the skypeId on some networks. Make the corresponding changes to
serialize and deserialize the data at the RIL interface.

Change-Id: Ibbd471cd062910fd4c365f76e809cfb224bd34a2
eference-ril.c
309ac294bd529ff5a71f1c1e62cd493df1010271 30-Jul-2009 John Wang <johnwang@google.com> Clean RIL_SIM_* in ril.h

GET_SIM_STATUS returns structure RIL_CardStatus instead of an integer of RIL_SIM_*. Update reference-ril for RIL_CardStatus and cleanup RIL_SIM_*.

modified: include/telephony/ril.h
modified: reference-ril/reference-ril.c
eference-ril.c
6f189a6a1b53adfa9570cf5911c3f81ef1b1fcf8 30-Jun-2009 John Wang <johnwang@google.com> Fix bug 1687659 - cell id in reference ril.

The LAC and CID of RIL_REQUEST_REGISTRATION_STATE should be in the hex format. The valid LAC are from 0x0000 to 0xffff and Valid CID are from 0x00000000 to 0xffffffff. reference-ril should return hex value instead of decimal one.

modified: reference-ril/reference-ril.c
eference-ril.c
7f8568086f2ea14885b0091c793e14c2656f0da2 09-Jun-2009 Wink Saville <wink@google.com> Cleanup whitespace.
ndroid.mk
t_tok.c
t_tok.h
isc.c
isc.h
eference-ril.c
fdf825f9d0dc639787b8523638bb61874ed0b540 23-May-2009 johnwang <johnwang@google.com> Enable new libhtc_ril which supporting new CDMA ril interface.

1) Enable new libhtc_ril and support new RIL_Call structure 2) Remove "#define NEWRIL".
eference-ril.c
3d54e74bc450bb40977e3ae6fab6185fe687bdae 19-May-2009 Wink Saville <wink@google.com> Teleca 2b changes.
eference-ril.c
f6aa7c1c8a9531a254970f85860d74cdd033821c 30-Apr-2009 Wink Saville <wink@google.com> Handle RIL_REQUEST_GET_SIM_STATUS as per the new ril.h specification.
eference-ril.c
4a24d11778bff3f2b4b99eb03b0dfafa6c3c059c 30-Apr-2009 Wink Saville <wink@google.com> Partially fix 1820187 by using RIL_CallOld since we're not
yet fully switched to the new ril.h.

This is only partially fixed because there is an opposite
problem with getSIMStatus in reference-ril.c. Here we should
be returning the new RIL_CardStatus but we're returning the
just the integer. This will be fixed in a subsequent Change.
eference-ril.c
f4c4d36c410a3501d282dd7de1c7c3350734f27e 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
eference-ril.c
e6e6fb2ebbaae681ab45b866bb9bba57aff1c33c 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
eference-ril.c
00f06fc3fdb05d4276e76091cacb42b6f6862222 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ndroid.mk
ODULE_LICENSE_APACHE2
OTICE
t_tok.c
t_tok.h
tchannel.c
tchannel.h
isc.c
isc.h
eference-ril.c
c2efc51d848d68147320a5983954f9c76428885c 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ndroid.mk
ODULE_LICENSE_APACHE2
OTICE
t_tok.c
t_tok.h
tchannel.c
tchannel.h
isc.c
isc.h
eference-ril.c
a8657f8726ba81b72eb532c884545b4ad52ff471 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
ndroid.mk
dbbb392e15b5ace6f19e76c49c80ea14292e8a4d 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
ndroid.mk
ODULE_LICENSE_APACHE2
OTICE
t_tok.c
t_tok.h
tchannel.c
tchannel.h
isc.c
isc.h
eference-ril.c