OSDN Git Service

android-x86/hardware-ril.git
10 years agoRestart, cleanup or retry inactve connections. jb-x86
Wink Saville [Mon, 5 Aug 2013 21:44:01 +0000 (14:44 -0700)]
Restart, cleanup or retry inactve connections.

Instead of retrying all inactive connections, restart radio on very bad
errors, clean up those that are permanent failures and retry
the others.

Bug: 10131736
Change-Id: I2527b18d6cda52c55fb94be58fbb1a7a86818ef9
Signed-off-by: Wink Saville <wink@google.com>
10 years agoFix libril.so crash issue caused by wrong switch logic of onRequest in reference...
Jun Tian [Tue, 30 Jul 2013 03:07:22 +0000 (11:07 +0800)]
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>
11 years agoAdd CellInfoWcdma.
Wink Saville [Wed, 17 Apr 2013 19:51:41 +0000 (12:51 -0700)]
Add CellInfoWcdma.

Update CellIdentityXxx docs to define unknown values as INT_MAX.

Bug: 8622081
Change-Id: I513a67d4b46b72f03e0c3360abcc0ad5222c1c13

11 years agoAdd liblog
Ying Wang [Wed, 10 Apr 2013 05:31:00 +0000 (22:31 -0700)]
Add liblog

Bug: 8580410
Change-Id: Ifc86215fe3f57e0247e819b74ad82a397201a329

11 years agoAdd support for CellInfo RIL commands.
Wink Saville [Tue, 9 Apr 2013 19:11:38 +0000 (12:11 -0700)]
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

11 years agoFix SignalStrength response.
Wink Saville [Mon, 8 Apr 2013 00:31:04 +0000 (17:31 -0700)]
Fix SignalStrength response.

Properly remap LTE values to appropriate values
for older code.

Bug: 8561333
Change-Id: Ie6eb3b0335e8d7ea114ec70b3fb72e917094632e

11 years agoam ba498ddb: Merge "rild: use correct header file."
Nick Kralevich [Thu, 28 Feb 2013 23:22:05 +0000 (23:22 +0000)]
am ba498ddb: Merge "rild: use correct header file."

* commit 'ba498ddb1fe7dd7205442872e922ff25e34e1750':
  rild: use correct header file.

11 years agoMerge "rild: use correct header file."
Nick Kralevich [Thu, 28 Feb 2013 22:54:02 +0000 (22:54 +0000)]
Merge "rild: use correct header file."

11 years agorild: use correct header file.
Nick Kralevich [Thu, 28 Feb 2013 22:16:41 +0000 (14:16 -0800)]
rild: use correct header file.

Change-Id: I1e969b36f19671f0502c8f952633b6c98e8f527d

11 years agoam 68773ab8: am 2ad928a8: Merge "Rild: Ril should try to write again to the socket...
Wink Saville [Wed, 23 Jan 2013 17:46:52 +0000 (09:46 -0800)]
am 68773ab8: am 2ad928a8: Merge "Rild: Ril should try to write again to the socket EAGAIN error"

* commit '68773ab87d858f41ae59e796669bd78891e140db':
  Rild: Ril should try to write again to the socket EAGAIN error

11 years agoam 2ad928a8: Merge "Rild: Ril should try to write again to the socket EAGAIN error"
Wink Saville [Wed, 23 Jan 2013 17:41:04 +0000 (09:41 -0800)]
am 2ad928a8: Merge "Rild: Ril should try to write again to the socket EAGAIN error"

* commit '2ad928a82b311ff463281d440039435da8bc3b03':
  Rild: Ril should try to write again to the socket EAGAIN error

11 years agoMerge "Rild: Ril should try to write again to the socket EAGAIN error"
Wink Saville [Wed, 23 Jan 2013 17:13:25 +0000 (17:13 +0000)]
Merge "Rild: Ril should try to write again to the socket EAGAIN error"

11 years agoRild: Ril should try to write again to the socket EAGAIN error
Banavathu, Srinivas Naik [Tue, 5 Jul 2011 14:34:25 +0000 (20:04 +0530)]
Rild: Ril should try to write again to the socket EAGAIN error

In case of  EAGAIN error, the RIL should write to socket again after some
time.

Change-Id: Ia4c8d17b7c16040a49a4c607a1d1350ebbe7847c
CRs-Fixed: 285312

11 years agoam 93917519: am 171a192f: Merge "Add RLOGx"
Wink Saville [Wed, 12 Dec 2012 16:48:23 +0000 (08:48 -0800)]
am 93917519: am 171a192f: Merge "Add RLOGx"

* commit '939175198fcc818178bd09a46ea976a5ff7d4686':
  Add RLOGx

11 years agoam 171a192f: Merge "Add RLOGx"
Wink Saville [Wed, 12 Dec 2012 16:46:49 +0000 (08:46 -0800)]
am 171a192f: Merge "Add RLOGx"

* commit '171a192f19a5753e03ef91578430e7a5ee680b7f':
  Add RLOGx

11 years agoMerge "Add RLOGx"
Wink Saville [Wed, 12 Dec 2012 16:26:58 +0000 (08:26 -0800)]
Merge "Add RLOGx"

11 years agoam 989e788f: am d216ab2b: Merge "Update documenation for DATA_REGISTRATION_STATE"
Wink Saville [Sat, 8 Dec 2012 16:42:27 +0000 (08:42 -0800)]
am 989e788f: am d216ab2b: Merge "Update documenation for DATA_REGISTRATION_STATE"

* commit '989e788f5e51851e320f86cc197e1327d0ec259e':
  Update documenation for DATA_REGISTRATION_STATE

11 years agoam d216ab2b: Merge "Update documenation for DATA_REGISTRATION_STATE"
Wink Saville [Sat, 8 Dec 2012 16:40:16 +0000 (08:40 -0800)]
am d216ab2b: Merge "Update documenation for DATA_REGISTRATION_STATE"

* commit 'd216ab2b5b82a60505205e62f881bb26ead845a7':
  Update documenation for DATA_REGISTRATION_STATE

11 years agoAdd RLOGx
Wink Saville [Tue, 20 Nov 2012 00:05:13 +0000 (16:05 -0800)]
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

11 years agoMerge "Update documenation for DATA_REGISTRATION_STATE"
Wink Saville [Sat, 8 Dec 2012 15:59:11 +0000 (07:59 -0800)]
Merge "Update documenation for DATA_REGISTRATION_STATE"

11 years agoUpdate documenation for DATA_REGISTRATION_STATE
Wink Saville [Mon, 3 Dec 2012 22:59:45 +0000 (14:59 -0800)]
Update documenation for DATA_REGISTRATION_STATE

Be specific on the formats supported for the LTE information.

Bug: 7651566
Change-Id: I553b3e3ea8005ede2da121950626c9584f74f234

11 years agoam ae67953e: Update documenation for DATA_REGISTRATION_STATE
Wink Saville [Tue, 4 Dec 2012 00:26:50 +0000 (16:26 -0800)]
am ae67953e: Update documenation for DATA_REGISTRATION_STATE

* commit 'ae67953e93218859806918f20175693015fd8ecc':
  Update documenation for DATA_REGISTRATION_STATE

11 years agoUpdate documenation for DATA_REGISTRATION_STATE
Wink Saville [Mon, 3 Dec 2012 22:59:45 +0000 (14:59 -0800)]
Update documenation for DATA_REGISTRATION_STATE

Be specific on the formats supported for the LTE information.

Bug: 7651566
Change-Id: I553b3e3ea8005ede2da121950626c9584f74f234

11 years agoAdd RLOGx
Wink Saville [Tue, 20 Nov 2012 00:05:13 +0000 (16:05 -0800)]
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

11 years agoRemove mockril.
Wink Saville [Sat, 17 Nov 2012 01:52:22 +0000 (17:52 -0800)]
Remove mockril.

Mock ril isn't being used and the V8 library is being removed,
so mockril is being removed.

Change-Id: I90cc83ac5ee9d06c473c42c847b83798730649de

11 years agoAdd LTE location information to DATA_REGISTRATION_STATE
Wink Saville [Sat, 15 Sep 2012 14:54:06 +0000 (07:54 -0700)]
Add LTE location information to DATA_REGISTRATION_STATE

Bug: 5534290
Change-Id: I4a72cf68cfd79311fa694b4816e963bdf4a7b3c7

11 years agoam a1d41fea: Merge "Add CDMA and multimode support to reference-ril"
Wink Saville [Wed, 5 Sep 2012 00:06:21 +0000 (17:06 -0700)]
am a1d41fea: Merge "Add CDMA and multimode support to reference-ril"

* commit 'a1d41fea6ee68c5edc077ddf4bb6bac8b32e9e41':
  Add CDMA and multimode support to reference-ril

11 years agoMerge "Add CDMA and multimode support to reference-ril"
Wink Saville [Tue, 4 Sep 2012 23:55:02 +0000 (16:55 -0700)]
Merge "Add CDMA and multimode support to reference-ril"

11 years agoAdd CDMA and multimode support to reference-ril
Jaime A Lopez-Sollano [Wed, 29 Aug 2012 14:27:27 +0000 (07:27 -0700)]
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

11 years agoam d5580e18: Merge "Fix logging for setup_data_call response"
Wink Saville [Wed, 29 Aug 2012 17:58:25 +0000 (10:58 -0700)]
am d5580e18: Merge "Fix logging for setup_data_call response"

* commit 'd5580e18a7a1ce1a227e98d5170ffd268b0a1e0a':
  Fix logging for setup_data_call response

11 years agoMerge "Fix logging for setup_data_call response"
Wink Saville [Wed, 29 Aug 2012 16:30:25 +0000 (09:30 -0700)]
Merge "Fix logging for setup_data_call response"

11 years agoFix logging for setup_data_call response
Naveen Kalla [Wed, 16 Nov 2011 19:12:37 +0000 (11:12 -0800)]
Fix logging for setup_data_call response

Change-Id: I611d96e7653da4f14d73c6d6f9663365dd983628

11 years agoUse ALOGE instead of fprintf in rild
Wink Saville [Tue, 28 Aug 2012 22:42:46 +0000 (15:42 -0700)]
Use ALOGE instead of fprintf in rild

This allows the errors to be seen in the log, otherwise there is
no visibility unless you run rild from the command line.

Change-Id: Id6c25eeef6c2cb118c2dff80a9d3742b99563bde

11 years agoMerge "Fixed goto into scope."
Wink Saville [Sat, 25 Aug 2012 00:47:52 +0000 (17:47 -0700)]
Merge "Fixed goto into scope."

11 years agoFixed goto into scope.
Kevin Schoedel [Fri, 25 May 2012 21:00:17 +0000 (17:00 -0400)]
Fixed goto into scope.

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>

11 years agoMerge "Workaround for LTE RSRP -ve values in Signal"
Wink Saville [Mon, 13 Aug 2012 18:24:30 +0000 (11:24 -0700)]
Merge "Workaround for LTE RSRP -ve values in Signal"

11 years agoWorkaround for LTE RSRP -ve values in Signal
Uma Maheswari Ramalingam [Thu, 9 Aug 2012 18:59:17 +0000 (11:59 -0700)]
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

11 years agoMerge "Fix the signal strength errors"
Wink Saville [Thu, 26 Jul 2012 19:07:11 +0000 (12:07 -0700)]
Merge "Fix the signal strength errors"

11 years agoam 5b16efde: Fix rild running in Nakasi.
Wink Saville [Thu, 31 May 2012 20:25:44 +0000 (13:25 -0700)]
am 5b16efde: Fix rild running in Nakasi.

* commit '5b16efdeca04c524df241af9315c8ec3bf774491':
  Fix rild running in Nakasi.

11 years agoFix rild running in Nakasi.
Wink Saville [Wed, 30 May 2012 23:20:55 +0000 (16:20 -0700)]
Fix rild running in Nakasi.

The module rild is telephony specific, since Nakasi has no radio
it shouldn't run rild. Make the rild module optional and add a
cleanstep.

Bug: 6463864
Change-Id: Iaf931082ef96a3f79059cfe55e8a1ec145d95ed3

11 years agoam 527e4e5b: Merge "Add libdl for all platforms"
Andrew Hsieh [Mon, 21 May 2012 07:27:00 +0000 (00:27 -0700)]
am 527e4e5b: Merge "Add libdl for all platforms"

* commit '527e4e5bc0dbd28bc8afa7857df0491412aef24e':
  Add libdl for all platforms

11 years agoMerge "Add libdl for all platforms"
Andrew Hsieh [Mon, 21 May 2012 07:20:32 +0000 (00:20 -0700)]
Merge "Add libdl for all platforms"

11 years agoAdd libdl for all platforms
Haitao Feng [Mon, 21 May 2012 06:49:04 +0000 (02:49 -0400)]
Add libdl for all platforms

Change-Id: I427357aaba4b7089e8ee76d344c21f58fb9fdaab
Signed-off-by: Haitao Feng <haitao.feng@intel.com>
11 years agoFix the signal strength errors
Chih-Wei Huang [Sun, 29 Apr 2012 17:13:27 +0000 (01:13 +0800)]
Fix the signal strength errors

Change the response to RIL_SignalStrength_v6 format.

Change-Id: Id7797969e3433fe422625c902f54c965e806cb16

12 years agoMerge remote-tracking branch 'goog/ics-aah'
Mike Lockwood [Tue, 3 Apr 2012 17:48:14 +0000 (10:48 -0700)]
Merge remote-tracking branch 'goog/ics-aah'

12 years agodisable mock-ril on pdk builds
Colin Cross [Tue, 27 Mar 2012 21:50:46 +0000 (14:50 -0700)]
disable mock-ril on pdk builds

pdk builds cannot compile java, disable the mock-ril for now.

Change-Id: I4d982deb9da7965dcaf27f4fd0190785c4595cb7

12 years agoTelephony: Get_imsi should use strings as per ril.h
Alex Yakavenka [Sat, 10 Dec 2011 00:39:46 +0000 (16:39 -0800)]
Telephony: Get_imsi should use strings as per ril.h

Change-Id: I4f0f84ffb0e4c2387069b4a9149508c2abac032d

12 years agoImplement sim_refresh as per ril v6
Alex Yakavenka [Tue, 31 Jan 2012 19:48:27 +0000 (11:48 -0800)]
Implement sim_refresh as per ril v6

Change-Id: Icc620fd191f8542f61bd38e365813753bfedefdf

12 years agoam c09eacf6: (-s ours) Merge changes Ib10d1000,Ibc332506,Ib429c9b5,I9a87ab49,I948ff132
Jean-Baptiste Queru [Wed, 18 Jan 2012 20:30:18 +0000 (12:30 -0800)]
am c09eacf6: (-s ours) Merge changes Ib10d1000,Ibc332506,Ib429c9b5,I9a87ab49,I948ff132

* commit 'c09eacf62df8ab605a07a078258b31cc5caf9019':
  Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)
  Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)
  Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)
  Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)
  Rename LOGV(_IF) to ALOGV(_IF)

12 years agoMerge changes Ib10d1000,Ibc332506,Ib429c9b5,I9a87ab49,I948ff132
Jean-Baptiste Queru [Wed, 18 Jan 2012 16:26:12 +0000 (08:26 -0800)]
Merge changes Ib10d1000,Ibc332506,Ib429c9b5,I9a87ab49,I948ff132

* changes:
  Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)
  Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)
  Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)
  Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)
  Rename LOGV(_IF) to ALOGV(_IF)

12 years agoRename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)
Steve Block [Sun, 8 Jan 2012 13:48:26 +0000 (13:48 +0000)]
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)

Change-Id: Ib10d100087fd0239c075e1dfee9e77a903c00b4a

12 years agoRename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)
Steve Block [Fri, 6 Jan 2012 10:14:35 +0000 (10:14 +0000)]
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)

Change-Id: Ibc3325063e1b34e2eb71eb4643dc6fbfddf8ec96

12 years agoRename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)
Steve Block [Thu, 5 Jan 2012 00:10:31 +0000 (00:10 +0000)]
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)

Change-Id: Ib429c9b5f0eb14786231e203738a8062d718e5b0

12 years agoRename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)
Steve Block [Tue, 20 Dec 2011 20:47:51 +0000 (20:47 +0000)]
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)

Change-Id: I9a87ab49edcee3281e419366ced3cbbb5ead8bc2

12 years agoRename LOGV(_IF) to ALOGV(_IF)
Steve Block [Wed, 26 Oct 2011 10:02:56 +0000 (11:02 +0100)]
Rename LOGV(_IF) to ALOGV(_IF)

Change-Id: I948ff13208ff121d3ef1f6ae8fd9e728259d8c76

12 years agoRename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
Steve Block [Sun, 8 Jan 2012 13:48:26 +0000 (13:48 +0000)]
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Id52de89149d4580873215fafc922ec4bd8d722ed

12 years agoRename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
Steve Block [Fri, 6 Jan 2012 10:14:35 +0000 (10:14 +0000)]
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: Id6f7d536955c731454f1063fd19a51da0c6713a1

12 years agoRename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
Steve Block [Thu, 5 Jan 2012 00:10:31 +0000 (00:10 +0000)]
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: I42dbe6812878b39c75babc1ba95737937f45fdcc

12 years agoRename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
Steve Block [Tue, 20 Dec 2011 20:47:51 +0000 (20:47 +0000)]
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: Ib3eab0b780391f9a0ac9b53282616d66a0154ade

12 years agoSeparate SIM states from Radio States
Naveen Kalla [Thu, 8 Dec 2011 00:22:53 +0000 (16:22 -0800)]
Separate SIM states from Radio States

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

12 years agokeep previous history after reset to mr1 plus aah changes (ics-aah-wip)
Ed Heyl [Fri, 28 Oct 2011 19:05:54 +0000 (19:05 +0000)]
keep previous history after reset to mr1 plus aah changes (ics-aah-wip)

12 years agoundo reset to ics-mr1 until we have a better method
Ed Heyl [Wed, 26 Oct 2011 21:53:25 +0000 (21:53 +0000)]
undo reset to ics-mr1 until we have a better method

12 years agoreset to ics-mr1, but keep history
Ed Heyl [Wed, 26 Oct 2011 18:50:22 +0000 (18:50 +0000)]
reset to ics-mr1, but keep history

12 years agoam eb902b80: (-s ours) Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE
Steve Block [Wed, 26 Oct 2011 11:48:29 +0000 (04:48 -0700)]
am eb902b80: (-s ours) Rename LOGV(_IF) to ALOGV(_IF)  DO NOT MERGE

* commit 'eb902b80c2b46e59b12b2bded315e7f620f87c7e':
  Rename LOGV(_IF) to ALOGV(_IF)  DO NOT MERGE

12 years agoRename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE
Steve Block [Wed, 26 Oct 2011 10:02:56 +0000 (11:02 +0100)]
Rename LOGV(_IF) to ALOGV(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I9cb91455767731254a8d5bee140ea23474543f02

12 years agoAdd new RIL requests to support SIM data download via SMS over IMS.
Jake Hamby [Mon, 26 Sep 2011 08:01:44 +0000 (01:01 -0700)]
Add new RIL requests to support SIM data download via SMS over IMS.

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

12 years agoRIL occasionally stopps event loop on phone process crash
Kazuhiro Ondo [Fri, 14 Oct 2011 22:50:58 +0000 (17:50 -0500)]
RIL occasionally stopps event loop on phone process crash

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

12 years agoChanges to RIL to support IMS features for LTE.
Jake Hamby [Fri, 19 Aug 2011 23:22:18 +0000 (16:22 -0700)]
Changes to RIL to support IMS features for LTE.

- 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

12 years agoam d8ad6c98: resolved conflicts for merge of 988d3d71 to honeycomb-plus-aosp
Vladimir Chtchetkine [Wed, 10 Aug 2011 19:21:05 +0000 (12:21 -0700)]
am d8ad6c98: resolved conflicts for merge of 988d3d71 to honeycomb-plus-aosp

* commit 'd8ad6c98086c410243e0e8ad8285f02d6b696bd6':
  Enable QEMUD pipe connection

12 years agoresolved conflicts for merge of 988d3d71 to honeycomb-plus-aosp
Vladimir Chtchetkine [Mon, 8 Aug 2011 21:47:04 +0000 (14:47 -0700)]
resolved conflicts for merge of 988d3d71 to honeycomb-plus-aosp

Change-Id: I85178afbca0b8b51eb3890958b063a70a1b33b96

12 years agoMerge "Enable QEMUD pipe connection"
Vladimir Chtchetkine [Mon, 8 Aug 2011 20:02:49 +0000 (13:02 -0700)]
Merge "Enable QEMUD pipe connection"

12 years agoEnable QEMUD pipe connection
Vladimir Chtchetkine [Thu, 4 Aug 2011 21:03:07 +0000 (14:03 -0700)]
Enable QEMUD pipe connection

Change-Id: I8cdeda261ebaf203310262951e8253cb8a42c8c6

12 years agoam 3c3569d3: am 16157587: Allow suggestedRetryTime to indicate no retry is needed.
Kazuhiro Ondo [Sun, 24 Jul 2011 16:13:55 +0000 (09:13 -0700)]
am 3c3569d3: am 16157587: Allow suggestedRetryTime to indicate no retry is needed.

* commit '3c3569d30c274c5d5ff040d3379427cea3175d06':
  Allow suggestedRetryTime to indicate no retry is needed.

12 years agoam 16157587: Allow suggestedRetryTime to indicate no retry is needed.
Kazuhiro Ondo [Sun, 24 Jul 2011 16:11:31 +0000 (09:11 -0700)]
am 16157587: Allow suggestedRetryTime to indicate no retry is needed.

* commit '16157587c02b83a93f4e02f83a934442aa0e3e6a':
  Allow suggestedRetryTime to indicate no retry is needed.

12 years agoAllow suggestedRetryTime to indicate no retry is needed.
Kazuhiro Ondo [Sun, 24 Jul 2011 14:56:32 +0000 (07:56 -0700)]
Allow suggestedRetryTime to indicate no retry is needed.

If suggestedRetryTime is 0x7fffffff then no retry is needed
and the framework should not initiate a retry.

Bug: 4949208
Change-Id: I6db070c33e3716bc98bb4f9411354b9949fe5f52

12 years agoRemove the simulator target from all makefiles.
Jeff Brown [Tue, 12 Jul 2011 05:12:24 +0000 (22:12 -0700)]
Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: Ifb59ea7e454d8ce832610e0979935e889e7621e2

12 years agoam c35ee118: am 250eb3c8: Initialize new field RIL_Data_Call_Response_v6.suggestedRet...
Wink Saville [Sat, 25 Jun 2011 00:14:59 +0000 (17:14 -0700)]
am c35ee118: am 250eb3c8: Initialize new field RIL_Data_Call_Response_v6.suggestedRetryTime.

* commit 'c35ee11808954fc6cb9e87c1b8f92d7d0efcc7df':
  Initialize new field RIL_Data_Call_Response_v6.suggestedRetryTime.

12 years agoam 250eb3c8: Initialize new field RIL_Data_Call_Response_v6.suggestedRetryTime.
Wink Saville [Thu, 23 Jun 2011 15:19:55 +0000 (08:19 -0700)]
am 250eb3c8: Initialize new field RIL_Data_Call_Response_v6.suggestedRetryTime.

* commit '250eb3c8c3adbbbaf49c30ee09a061268d9a491a':
  Initialize new field RIL_Data_Call_Response_v6.suggestedRetryTime.

12 years agoam 470f53b5: am beb25b58: Added a special retry back-off timer value for call retry
Kazuhiro Ondo [Thu, 23 Jun 2011 14:49:20 +0000 (07:49 -0700)]
am 470f53b5: am beb25b58: Added a special retry back-off timer value for call retry

* commit '470f53b56567df2600163e31164f1273e0a70f9a':
  Added a special retry back-off timer value for call retry

12 years agoInitialize new field RIL_Data_Call_Response_v6.suggestedRetryTime.
Wink Saville [Wed, 22 Jun 2011 16:11:34 +0000 (09:11 -0700)]
Initialize new field RIL_Data_Call_Response_v6.suggestedRetryTime.

Change-Id: Idd3c9665785322a2a3fe013db459d9c8302a48d6

12 years agoam beb25b58: Added a special retry back-off timer value for call retry
Kazuhiro Ondo [Wed, 22 Jun 2011 02:35:24 +0000 (19:35 -0700)]
am beb25b58: Added a special retry back-off timer value for call retry

* commit 'beb25b58dcb48a2cfa2cfe10f5fb15908ff465f8':
  Added a special retry back-off timer value for call retry

12 years agoAdded a special retry back-off timer value for call retry
Kazuhiro Ondo [Fri, 17 Jun 2011 21:26:45 +0000 (16:26 -0500)]
Added a special retry back-off timer value for call retry

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

12 years agoam b53c6412: am 473adc9b: Update RIL_LTE_SignalStrength comments.
Wink Saville [Mon, 13 Jun 2011 18:40:20 +0000 (11:40 -0700)]
am b53c6412: am 473adc9b: Update RIL_LTE_SignalStrength comments.

* commit 'b53c6412c8420fcb5250fe43af9c3297f818af72':
  Update RIL_LTE_SignalStrength comments.

12 years agoam 473adc9b: Update RIL_LTE_SignalStrength comments.
Wink Saville [Mon, 13 Jun 2011 18:38:59 +0000 (11:38 -0700)]
am 473adc9b: Update RIL_LTE_SignalStrength comments.

* commit '473adc9b38240d180fc1935812ac80473f571f56':
  Update RIL_LTE_SignalStrength comments.

12 years agoUpdate RIL_LTE_SignalStrength comments.
Wink Saville [Mon, 13 Jun 2011 17:24:09 +0000 (10:24 -0700)]
Update RIL_LTE_SignalStrength comments.

Add INT_MAX to denote invalid values and doc references.
Created bug 4575689 to get Xoom LTE ril fixed and the FW updated.

Change-Id: Ib1f7055b469ac8756bb5c0911d180ad7ba849227

12 years agoam b0891447: (-s ours) am 8dbc643b: (-s ours) am 60d10ec9: (-s ours) Merge from ginge...
Lorenzo Colitti [Tue, 3 May 2011 23:20:11 +0000 (16:20 -0700)]
am b0891447: (-s ours) am 8dbc643b: (-s ours) am 60d10ec9: (-s ours) Merge from gingerbread - do not merge

* commit 'b08914475e4e94d8390996d54d87f905979238d8':

12 years agoam 8dbc643b: (-s ours) am 60d10ec9: (-s ours) Merge from gingerbread - do not merge
Lorenzo Colitti [Tue, 3 May 2011 23:14:58 +0000 (16:14 -0700)]
am 8dbc643b: (-s ours) am 60d10ec9: (-s ours) Merge from gingerbread - do not merge

* commit '8dbc643bbc65d89c1fac69f09d02d8ff12b008fb':

12 years agoam 60d10ec9: (-s ours) Merge from gingerbread - do not merge
Lorenzo Colitti [Tue, 3 May 2011 18:22:03 +0000 (11:22 -0700)]
am 60d10ec9: (-s ours) Merge from gingerbread - do not merge

* commit '60d10ec91aa9de6b4699a87557ba8f041bf34be3':
  Port RIL v4 to gingerbread from master.

12 years agoam d0bc13e1: (-s ours) am 60d10ec9: (-s ours) Merge from gingerbread - do not merge
Lorenzo Colitti [Mon, 2 May 2011 19:20:24 +0000 (12:20 -0700)]
am d0bc13e1: (-s ours) am 60d10ec9: (-s ours) Merge from gingerbread - do not merge

* commit 'd0bc13e161401f92c73fa6ba0d4e525b30dac4c8':
  Port RIL v4 to gingerbread from master.

12 years agoam 60d10ec9: (-s ours) Merge from gingerbread - do not merge
Lorenzo Colitti [Mon, 2 May 2011 19:12:00 +0000 (12:12 -0700)]
am 60d10ec9: (-s ours) Merge from gingerbread - do not merge

* commit '60d10ec91aa9de6b4699a87557ba8f041bf34be3':
  Port RIL v4 to gingerbread from master.

12 years agoMerge from gingerbread - do not merge
Lorenzo Colitti [Mon, 2 May 2011 16:43:05 +0000 (09:43 -0700)]
Merge from gingerbread - do not merge

Change-Id: I3529a5f85d93e66aa5fca62ac44c242c4f7e163d

13 years agoam ed82b9ae: am ee274582: Fix debug output.
Wink Saville [Sat, 16 Apr 2011 22:12:31 +0000 (15:12 -0700)]
am ed82b9ae: am ee274582: Fix debug output.

* commit 'ed82b9aea44672386bafe208cf6bf540e95f21f3':
  Fix debug output.

13 years agoam ee274582: Fix debug output.
Wink Saville [Sat, 16 Apr 2011 22:10:00 +0000 (15:10 -0700)]
am ee274582: Fix debug output.

* commit 'ee2745825fae9561c5f83fcf179bbbfa111e5224':
  Fix debug output.

13 years agoFix debug output.
Wink Saville [Sat, 16 Apr 2011 22:05:49 +0000 (15:05 -0700)]
Fix debug output.

Previously I'd fixed the constant RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED
now I'm fixing the debug output.

Change-Id: I5115ce21141175140645a63d3937c7da21705f11

13 years agoam 16bf23cc: am 29487ef2: Added additional comments to some commands for clarification.
Wink Saville [Fri, 15 Apr 2011 22:20:37 +0000 (15:20 -0700)]
am 16bf23cc: am 29487ef2: Added additional comments to some commands for clarification.

* commit '16bf23cc08e4b240062d9f9a35998cc8de8b5af6':
  Added additional comments to some commands for clarification.

13 years agoam 29487ef2: Added additional comments to some commands for clarification.
Wink Saville [Fri, 15 Apr 2011 22:17:20 +0000 (15:17 -0700)]
am 29487ef2: Added additional comments to some commands for clarification.

* commit '29487ef2685e5ee38f0348ab031cb96a608296ba':
  Added additional comments to some commands for clarification.

13 years agoAdded additional comments to some commands for clarification.
Wink Saville [Fri, 15 Apr 2011 16:15:31 +0000 (09:15 -0700)]
Added additional comments to some commands for clarification.

Change RIL_UNSOL_CDMA_SUBSCRIPTION_CHANGED to
RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED.

Change-Id: Id946447c6ee9777696c3d7fa1a664ee7dc7deeba

13 years agoam 1e3dfd1b: (-s ours) am a9c18d17: Fix RIL_UNSOL_RIL_CONNECTED to return the vendor...
Jake Hamby [Wed, 13 Apr 2011 06:46:02 +0000 (23:46 -0700)]
am 1e3dfd1b: (-s ours) am a9c18d17: Fix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version. DO NOT MERGE.

* commit '1e3dfd1b203d85c892b27c9bf32e5fc09c2a6ebc':
  Fix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version. DO NOT MERGE.

13 years agoam a9c18d17: Fix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version. DO NOT...
Jake Hamby [Wed, 13 Apr 2011 06:40:34 +0000 (23:40 -0700)]
am a9c18d17: Fix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version. DO NOT MERGE.

* commit 'a9c18d17769ee475cf4fd5e76e18ddfa4070c7cd':
  Fix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version. DO NOT MERGE.

13 years agoFix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version. DO NOT MERGE.
Jake Hamby [Wed, 13 Apr 2011 06:32:08 +0000 (23:32 -0700)]
Fix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version. DO NOT MERGE.

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