OSDN Git Service

android-x86/hardware-ril.git
10 years agoam ebdf40e6: Merge "reference-ril: fix LP64 warnings"
Colin Cross [Thu, 6 Feb 2014 07:42:04 +0000 (07:42 +0000)]
am ebdf40e6: Merge "reference-ril: fix LP64 warnings"

* commit 'ebdf40e65a17e8758c059a736425cd47563cdace':
  reference-ril: fix LP64 warnings

10 years agoMerge "reference-ril: fix LP64 warnings"
Colin Cross [Thu, 6 Feb 2014 07:33:19 +0000 (07:33 +0000)]
Merge "reference-ril: fix LP64 warnings"

10 years agoreference-ril: fix LP64 warnings
Colin Cross [Thu, 6 Feb 2014 02:55:42 +0000 (18:55 -0800)]
reference-ril: fix LP64 warnings

Use %p to print pointers

Change-Id: I5ad8e349a0dc0b471eb693f87b088edb555a48a7

10 years agoam 2f29fdb8: Merge "Set USE_NP based on HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE"
Colin Cross [Sat, 25 Jan 2014 05:16:43 +0000 (21:16 -0800)]
am 2f29fdb8: Merge "Set USE_NP based on HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE"

* commit '2f29fdb8a8cb7f624801d35ab108f0321030c61b':
  Set USE_NP based on HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE

10 years agoMerge "Set USE_NP based on HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE"
Colin Cross [Sat, 25 Jan 2014 05:11:12 +0000 (05:11 +0000)]
Merge "Set USE_NP based on HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE"

10 years agoSet USE_NP based on HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE
Colin Cross [Sat, 25 Jan 2014 01:02:19 +0000 (17:02 -0800)]
Set USE_NP based on HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE

64 bit bionic does not define pthread_cond_timeout_np, use
HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE to determine whether or
not to use it.

Change-Id: Ia94dd76f7ea4b0268f07049c127342a8bd016ec0

10 years agoam dcb3334c: Merge "Fix pthread_create error handling in ril harder."
Elliott Hughes [Mon, 6 Jan 2014 21:53:08 +0000 (13:53 -0800)]
am dcb3334c: Merge "Fix pthread_create error handling in ril harder."

* commit 'dcb3334ce57f28a525d7e86222d4c7c6e3907ba3':
  Fix pthread_create error handling in ril harder.

10 years agoMerge "Fix pthread_create error handling in ril harder."
Elliott Hughes [Mon, 6 Jan 2014 21:49:08 +0000 (21:49 +0000)]
Merge "Fix pthread_create error handling in ril harder."

10 years agoam 21538d94: Merge "Fix pthread_create error handling in ril."
Elliott Hughes [Mon, 6 Jan 2014 20:48:47 +0000 (12:48 -0800)]
am 21538d94: Merge "Fix pthread_create error handling in ril."

* commit '21538d9410d3d04cc15f08a3a25b5f2501a70f9e':
  Fix pthread_create error handling in ril.

10 years agoFix pthread_create error handling in ril harder.
Elliott Hughes [Mon, 6 Jan 2014 20:46:02 +0000 (12:46 -0800)]
Fix pthread_create error handling in ril harder.

The previous patch fixed the behavior _if_ something goes wrong...
...but didn't fix the check for whether something went wrong.
pthread_create isn't a regular Unix "return -1 and set errno" kind
of function; it returns 0 on success and an error number (without
setting errno) on failure.

Bug: https://code.google.com/p/android/issues/detail?id=64189
Change-Id: I335af890885d6a672d7bac746fdfea3ed3995360

10 years agoMerge "Fix pthread_create error handling in ril."
Elliott Hughes [Mon, 6 Jan 2014 20:44:05 +0000 (20:44 +0000)]
Merge "Fix pthread_create error handling in ril."

10 years agoFix pthread_create error handling in ril.
Elliott Hughes [Fri, 3 Jan 2014 23:31:42 +0000 (15:31 -0800)]
Fix pthread_create error handling in ril.

Bug: https://code.google.com/p/android/issues/detail?id=64189
Change-Id: Ie6282dda582a574aaad5513c39f2d8d965f6dee3

10 years agoam c4801e78: Merge "Fix parameter mismatch between header and implementation"
Wink Saville [Mon, 16 Dec 2013 20:32:32 +0000 (12:32 -0800)]
am c4801e78: Merge "Fix parameter mismatch between header and implementation"

* commit 'c4801e78cc7b75a744a45a2a855503daca5bf0f3':
  Fix parameter mismatch between header and implementation

10 years agoMerge "Fix parameter mismatch between header and implementation"
Wink Saville [Mon, 16 Dec 2013 20:26:32 +0000 (20:26 +0000)]
Merge "Fix parameter mismatch between header and implementation"

10 years agoam af03f928: Merge "Removing the error return value requirement for RIL_REQUEST_SIM_O...
Wink Saville [Mon, 16 Dec 2013 19:53:12 +0000 (11:53 -0800)]
am af03f928: Merge "Removing the error return value requirement for RIL_REQUEST_SIM_OPEN_CHANNEL."

* commit 'af03f9284c7e775df8feeef6eb96ffb039949e9a':
  Removing the error return value requirement for RIL_REQUEST_SIM_OPEN_CHANNEL.

10 years agoMerge "Removing the error return value requirement for RIL_REQUEST_SIM_OPEN_CHANNEL."
Wink Saville [Mon, 16 Dec 2013 19:48:14 +0000 (19:48 +0000)]
Merge "Removing the error return value requirement for RIL_REQUEST_SIM_OPEN_CHANNEL."

10 years agoRemoving the error return value requirement for RIL_REQUEST_SIM_OPEN_CHANNEL.
Shishir Agrawal [Mon, 16 Dec 2013 18:10:01 +0000 (10:10 -0800)]
Removing the error return value requirement for RIL_REQUEST_SIM_OPEN_CHANNEL.

On error, the RIL implementation should throw an error and the value returned
does not need to be valid.

Change-Id: Idf81e6f7e2aa5e967e97cef402dfd53150b9b183

10 years agoam 710f0c82: Merge "Change in semantics for RIL_REQUEST_SIM_OPEN_CHANNEL: -1 indicate...
Wink Saville [Fri, 13 Dec 2013 19:59:19 +0000 (11:59 -0800)]
am 710f0c82: Merge "Change in semantics for RIL_REQUEST_SIM_OPEN_CHANNEL: -1 indicates error."

* commit '710f0c82afb8d1660539b74d7f4c137b0644b799':
  Change in semantics for RIL_REQUEST_SIM_OPEN_CHANNEL: -1 indicates error.

10 years agoMerge "Change in semantics for RIL_REQUEST_SIM_OPEN_CHANNEL: -1 indicates error."
Wink Saville [Fri, 13 Dec 2013 19:53:34 +0000 (19:53 +0000)]
Merge "Change in semantics for RIL_REQUEST_SIM_OPEN_CHANNEL: -1 indicates error."

10 years agoChange in semantics for RIL_REQUEST_SIM_OPEN_CHANNEL: -1 indicates error.
Shishir Agrawal [Fri, 13 Dec 2013 01:03:12 +0000 (17:03 -0800)]
Change in semantics for RIL_REQUEST_SIM_OPEN_CHANNEL: -1 indicates error.

Changing the RIL_REQUEST_SIM_OPEN_CHANNEL comment to state that the modem
should return -1 on error and not 0.

Change-Id: Ied71c23857659048f080531b79f98eb9db221c96

10 years agoFix parameter mismatch between header and implementation
Bernhard Rosenkränzer [Thu, 12 Dec 2013 09:01:10 +0000 (10:01 +0100)]
Fix parameter mismatch between header and implementation

RIL_onUnsolicitedResponse's second parameter is
const void *data
according to include/telephony/ril.h and rild/rild.c, but
void *data
according to libril/ril.cpp

This mismatch causes a compile failure with clang (and I'm surprised
it compiles with gcc with the mismatch - probably gcc parses this as
function overloading even though it's extern "C", which wouldn't do
what is expected).

Change-Id: Ib437040aeca4be43cc2d327c3715ffa98c76878c
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
10 years agoam dbff9519: Merge "Send unsol_sim_status on radio_state change"
Wink Saville [Wed, 11 Dec 2013 22:34:09 +0000 (14:34 -0800)]
am dbff9519: Merge "Send unsol_sim_status on radio_state change"

* commit 'dbff95192afde6cf20d7d73b716f705329d0da7a':
  Send unsol_sim_status on radio_state change

10 years agoMerge "Send unsol_sim_status on radio_state change"
Wink Saville [Wed, 11 Dec 2013 22:29:57 +0000 (22:29 +0000)]
Merge "Send unsol_sim_status on radio_state change"

10 years agoSend unsol_sim_status on radio_state change
Alex Yakavenka [Wed, 4 Dec 2013 21:54:37 +0000 (13:54 -0800)]
Send unsol_sim_status on radio_state change

Sim status changes based on radio state.
Need to notify new sim state whenever radio state changes

Change-Id: I8fef3a6ddf601647107e3059f2b2eb89a67242cf

10 years agoam 2e52ae0e: Merge commit \'865ce3b4a2ba0b3a31421ca671f4d6c5595f8690\' into HEAD
The Android Open Source Project [Fri, 6 Dec 2013 01:27:05 +0000 (17:27 -0800)]
am 2e52ae0e: Merge commit \'865ce3b4a2ba0b3a31421ca671f4d6c5595f8690\' into HEAD

* commit '2e52ae0ec0aa3564a49f245ef4720b78cd5abaeb':

10 years agoMerge commit '865ce3b4a2ba0b3a31421ca671f4d6c5595f8690' into HEAD
The Android Open Source Project [Thu, 5 Dec 2013 20:38:21 +0000 (12:38 -0800)]
Merge commit '865ce3b4a2ba0b3a31421ca671f4d6c5595f8690' into HEAD

10 years agoam d78be248: Merge "RIL changes for supporting generic SIM communication."
John Huang [Thu, 5 Dec 2013 01:05:52 +0000 (17:05 -0800)]
am d78be248: Merge "RIL changes for supporting generic SIM communication."

* commit 'd78be248d253e6a5c46749b78d16115d547ab272':
  RIL changes for supporting generic SIM communication.

10 years agoMerge "RIL changes for supporting generic SIM communication."
John Huang [Thu, 5 Dec 2013 00:59:42 +0000 (00:59 +0000)]
Merge "RIL changes for supporting generic SIM communication."

10 years agoRIL changes for supporting generic SIM communication.
Shishir Agrawal [Wed, 27 Nov 2013 22:53:05 +0000 (14:53 -0800)]
RIL changes for supporting generic SIM communication.

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

10 years agoam 2c464b0d: Merge commit \'a18b9d1e1a014290691d63a7f335085dadc83e46\' into HEAD
The Android Open Source Project [Sat, 23 Nov 2013 01:40:58 +0000 (17:40 -0800)]
am 2c464b0d: Merge commit \'a18b9d1e1a014290691d63a7f335085dadc83e46\' into HEAD

* commit '2c464b0d9dbc759e4021b90029c4224adc1c8851':

10 years agoMerge commit 'a18b9d1e1a014290691d63a7f335085dadc83e46' into HEAD
The Android Open Source Project [Sat, 23 Nov 2013 00:48:36 +0000 (16:48 -0800)]
Merge commit 'a18b9d1e1a014290691d63a7f335085dadc83e46' into HEAD

10 years agoam 6a775fe2: am eb90dbe8: Merge "Remove references to <linux/omap_csmi.h>."
Elliott Hughes [Sat, 23 Nov 2013 00:09:17 +0000 (16:09 -0800)]
am 6a775fe2: am eb90dbe8: Merge "Remove references to <linux/omap_csmi.h>."

* commit '6a775fe2ff760239ddce5d20813518ef8944d3cc':
  Remove references to <linux/omap_csmi.h>.

10 years agoam eb90dbe8: Merge "Remove references to <linux/omap_csmi.h>."
Elliott Hughes [Sat, 23 Nov 2013 00:05:43 +0000 (16:05 -0800)]
am eb90dbe8: Merge "Remove references to <linux/omap_csmi.h>."

* commit 'eb90dbe8f53ed85b58e6183b0041426a4bcc64aa':
  Remove references to <linux/omap_csmi.h>.

10 years agoMerge "Remove references to <linux/omap_csmi.h>."
Elliott Hughes [Sat, 23 Nov 2013 00:03:20 +0000 (00:03 +0000)]
Merge "Remove references to <linux/omap_csmi.h>."

10 years agoam 6b49c024: am 740edfcf: Merge "Remove an outdated hack."
Elliott Hughes [Fri, 22 Nov 2013 02:43:52 +0000 (18:43 -0800)]
am 6b49c024: am 740edfcf: Merge "Remove an outdated hack."

* commit '6b49c02448cf54f5bee6955cb6e42b54febf108e':
  Remove an outdated hack.

10 years agoam 56865265: am 478bfb9a: Merge "Stop the kernel complaining about rild."
Elliott Hughes [Fri, 22 Nov 2013 01:07:49 +0000 (17:07 -0800)]
am 56865265: am 478bfb9a: Merge "Stop the kernel complaining about rild."

* commit '568652651ec5121891c80d1096b54ee917550a21':
  Stop the kernel complaining about rild.

10 years agoRemove references to <linux/omap_csmi.h>.
Elliott Hughes [Thu, 21 Nov 2013 20:48:17 +0000 (12:48 -0800)]
Remove references to <linux/omap_csmi.h>.

This header no longer exists in modern kernels, and it looks like
this code was only meant to be enabled for 'sooner' anyway.

Change-Id: I6e7449a31942a54daa925c14e8843752a835bd42

10 years agoam 740edfcf: Merge "Remove an outdated hack."
Elliott Hughes [Thu, 21 Nov 2013 20:48:43 +0000 (12:48 -0800)]
am 740edfcf: Merge "Remove an outdated hack."

* commit '740edfcffce965294256bab23c49dcde799dfeda':
  Remove an outdated hack.

10 years agoMerge "Remove an outdated hack."
Elliott Hughes [Thu, 21 Nov 2013 20:46:19 +0000 (20:46 +0000)]
Merge "Remove an outdated hack."

10 years agoRemove an outdated hack.
Elliott Hughes [Wed, 20 Nov 2013 22:53:08 +0000 (14:53 -0800)]
Remove an outdated hack.

This is still a waste of your main thread, though.

Change-Id: Ic904619b2e1065b2bab577070a73f8175c1a48f3

10 years agoam 478bfb9a: Merge "Stop the kernel complaining about rild."
Elliott Hughes [Wed, 20 Nov 2013 22:44:20 +0000 (14:44 -0800)]
am 478bfb9a: Merge "Stop the kernel complaining about rild."

* commit '478bfb9aad83c2c6e91d54c80f88dd44211c2576':
  Stop the kernel complaining about rild.

10 years agoMerge "Stop the kernel complaining about rild."
Elliott Hughes [Wed, 20 Nov 2013 22:40:12 +0000 (22:40 +0000)]
Merge "Stop the kernel complaining about rild."

10 years agoStop the kernel complaining about rild.
Elliott Hughes [Wed, 20 Nov 2013 21:51:45 +0000 (13:51 -0800)]
Stop the kernel complaining about rild.

Even if you're only using capabilities that reside in the bottom 32-bits,
the kernel complains unless you're on __LINUX_CAPABILITY_VERSION_3.

  warning: `rild' uses 32-bit capabilities (legacy support in use)

Change-Id: I6512cbc158971eb950e0fc2554e95fde72023cb2

10 years agoFix documenation IMS registration state.
Wink Saville [Sat, 9 Nov 2013 00:37:01 +0000 (16:37 -0800)]
Fix documenation IMS registration state.

Bug: 11599127
Change-Id: Id0016bca45ea84983c9280f55b0b1ccdcececc03

10 years agoRIL: Support SMS over IMS
Sukanya Rajkhowa [Tue, 10 Sep 2013 19:30:13 +0000 (12:30 -0700)]
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

10 years agoChange PDP_FAIL_SIGNAL_LOST to be retryable.
Wink Saville [Thu, 3 Oct 2013 20:53:27 +0000 (13:53 -0700)]
Change PDP_FAIL_SIGNAL_LOST to be retryable.

We've changed this in the framework:

 https://googleplex-android-review.git.corp.google.com/#/c/366996/

So this updates ril.h to match.

Bug: 1095417410804691
Change-Id: I820d44e74251fd4fc375551474341572e9020aee

10 years agoam 38aaaa64: (-s ours) am 1b4c3db6: Merge "RIL: Support SMS on IMS, DO NOT MERGE...
Ed Tam [Sat, 31 Aug 2013 01:14:59 +0000 (18:14 -0700)]
am 38aaaa64: (-s ours) am 1b4c3db6: Merge "RIL: Support SMS on IMS, DO NOT MERGE" into jb-mr2-dev

* commit '38aaaa6494bd6deb42de8397fb421d1fb3b4e352':
  RIL: Support SMS on IMS, DO NOT MERGE

10 years agoam 1b4c3db6: Merge "RIL: Support SMS on IMS, DO NOT MERGE" into jb-mr2-dev
Ed Tam [Fri, 30 Aug 2013 21:06:49 +0000 (14:06 -0700)]
am 1b4c3db6: Merge "RIL: Support SMS on IMS, DO NOT MERGE" into jb-mr2-dev

* commit '1b4c3db6f9d9da4d3115be1c4337b98aebdd6193':
  RIL: Support SMS on IMS, DO NOT MERGE

10 years agoMerge "RIL: Support SMS on IMS, DO NOT MERGE" into jb-mr2-dev
Ed Tam [Fri, 30 Aug 2013 20:50:44 +0000 (20:50 +0000)]
Merge "RIL: Support SMS on IMS, DO NOT MERGE" into jb-mr2-dev

10 years agoRIL: Support SMS on IMS, DO NOT MERGE
Rika Brooks [Tue, 15 Nov 2011 19:19:30 +0000 (11:19 -0800)]
RIL: Support SMS on IMS, DO NOT MERGE

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: I87ca9841b4ace931c55e2d379fe6d7589b2dc8a5

10 years agoam f088ef91: (-s ours) Reconcile with jb-mr2-zeroday-deb-release - do not merge
The Android Open Source Project [Tue, 13 Aug 2013 17:11:58 +0000 (10:11 -0700)]
am f088ef91: (-s ours) Reconcile with jb-mr2-zeroday-deb-release - do not merge

* commit 'f088ef91d98bf642d0944351daaec61df1e7c8e0':
  Restart, cleanup or retry inactve connections.

10 years agoReconcile with jb-mr2-zeroday-deb-release - do not merge
The Android Open Source Project [Tue, 13 Aug 2013 17:10:08 +0000 (10:10 -0700)]
Reconcile with jb-mr2-zeroday-deb-release - do not merge

Change-Id: Iaf4deada88b56e1b5c6b719f8929091aa6bd0cfb

10 years agoam 7ee253c8: am 3d14a71d: Restart, cleanup or retry inactve connections.
Wink Saville [Fri, 9 Aug 2013 00:10:38 +0000 (17:10 -0700)]
am 7ee253c8: am 3d14a71d: Restart, cleanup or retry inactve connections.

* commit '7ee253c8baf442693ff6ed4603ca217fe9b9afdf':
  Restart, cleanup or retry inactve connections.

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 agoam 3d14a71d: Restart, cleanup or retry inactve connections.
Wink Saville [Thu, 8 Aug 2013 22:46:58 +0000 (15:46 -0700)]
am 3d14a71d: Restart, cleanup or retry inactve connections.

* commit '3d14a71de78f2b0d02c7943e554c8726b1703935':
  Restart, cleanup or retry inactve connections.

10 years agoRestart, cleanup or retry inactve connections.
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 agoam d93bbed9: am a1a0952a: Fix libril.so crash issue caused by wrong switch logic...
Jun Tian [Tue, 30 Jul 2013 22:09:03 +0000 (15:09 -0700)]
am d93bbed9: am a1a0952a: Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c

* commit 'd93bbed95b5bd8ffe6ea5b2fbede6d13706f3a1a':
  Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c

10 years agoam a1a0952a: Fix libril.so crash issue caused by wrong switch logic of onRequest...
Jun Tian [Tue, 30 Jul 2013 22:04:36 +0000 (15:04 -0700)]
am a1a0952a: Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c

* commit 'a1a0952a703d66dee1a749976b061a16c6e642a0':
  Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c

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>
10 years agoam 24a5c469: Merge "Fix libril.so crash issue caused by wrong switch logic of onReque...
Wink Saville [Tue, 30 Jul 2013 17:28:15 +0000 (10:28 -0700)]
am 24a5c469: Merge "Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c"

* commit '24a5c46926c45ce69c83b256b9e3b41647516ad9':
  Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c

10 years agoMerge "Fix libril.so crash issue caused by wrong switch logic of onRequest in referen...
Wink Saville [Tue, 30 Jul 2013 04:55:11 +0000 (04:55 +0000)]
Merge "Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c"

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>
10 years agoam 83b1d8d9: am 8374641d: Merge "Support for LTE/WCDMA mode"
Wink Saville [Mon, 1 Jul 2013 19:50:07 +0000 (12:50 -0700)]
am 83b1d8d9: am 8374641d: Merge "Support for LTE/WCDMA mode"

* commit '83b1d8d9af8f7f7bf424af6faf229cfc04e0c896':
  Support for LTE/WCDMA mode

10 years agoam 8374641d: Merge "Support for LTE/WCDMA mode"
Wink Saville [Mon, 1 Jul 2013 19:45:15 +0000 (12:45 -0700)]
am 8374641d: Merge "Support for LTE/WCDMA mode"

* commit '8374641d142f0cdc05019d52587e492bad83bc72':
  Support for LTE/WCDMA mode

10 years agoMerge "Support for LTE/WCDMA mode"
Wink Saville [Mon, 1 Jul 2013 19:42:44 +0000 (19:42 +0000)]
Merge "Support for LTE/WCDMA mode"

11 years agoSupport for LTE/WCDMA mode
Uma Maheswari Ramalingam [Wed, 28 Sep 2011 20:25:48 +0000 (13:25 -0700)]
Support for LTE/WCDMA mode

Add network mode LTE/WCDMA to preferred network type
Operator mandated requirement

Change-Id: I26454b69ce670a5fa2129c4cd75b68af80d210e1

11 years agoMerge "HACK: rild: include librilutils as whole static lib"
Dima Zavin [Thu, 23 May 2013 19:44:37 +0000 (19:44 +0000)]
Merge "HACK: rild: include librilutils as whole static lib"

11 years agoHACK: rild: include librilutils as whole static lib
Dima Zavin [Wed, 22 May 2013 18:30:17 +0000 (11:30 -0700)]
HACK: rild: include librilutils as whole static lib

To work around broken RILs that didn't link against
librilutils, include it as a whole static library
here.

Change-Id: I7234c5b87b3e99814d67ef3c6900e9ccc679bf5c
Signed-off-by: Dima Zavin <dima@android.com>
11 years agoMerge "ril: move record_stream_xxx to librilutils and export header"
Dima Zavin [Thu, 23 May 2013 17:29:37 +0000 (17:29 +0000)]
Merge "ril: move record_stream_xxx to librilutils and export header"

11 years agoril: move record_stream_xxx to librilutils and export header
Dima Zavin [Wed, 22 May 2013 18:29:34 +0000 (11:29 -0700)]
ril: move record_stream_xxx to librilutils and export header

Change-Id: I9986c8c5fb1777bbd2b686769ecc726319a73100
Signed-off-by: Dima Zavin <dima@android.com>
11 years agoSet initial attach apn for LTE network
Sungmin Choi [Fri, 26 Apr 2013 22:04:45 +0000 (15:04 -0700)]
Set initial attach apn for LTE network

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>
11 years agolibril: move record_stream here as it is the sole client
Dima Zavin [Tue, 7 May 2013 06:59:40 +0000 (23:59 -0700)]
libril: move record_stream here as it is the sole client

Change-Id: I85b94c4c6d61dfaa964367a58c773b5550a47995
Signed-off-by: Dima Zavin <dima@android.com>
11 years agoam c57b3eb5: Add CellInfoWcdma.
Wink Saville [Thu, 18 Apr 2013 17:07:05 +0000 (10:07 -0700)]
am c57b3eb5: Add CellInfoWcdma.

* commit 'c57b3eb525db241bd3e6092453f48388bc880447':
  Add CellInfoWcdma.

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 agoam 52688265: Add liblog
Ying Wang [Wed, 10 Apr 2013 17:05:46 +0000 (10:05 -0700)]
am 52688265: Add liblog

* commit '526882652bc7f97dfbdbf33f1a5966b1f05fbacf':
  Add liblog

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 agoam 6fde8b8d: Merge "Fixes typo in logging string."
Robert Greenwalt [Tue, 9 Apr 2013 22:56:54 +0000 (15:56 -0700)]
am 6fde8b8d: Merge "Fixes typo in logging string."

* commit '6fde8b8d0b9fdcf7fb93aeafd17e7f52bd57e7db':
  Fixes typo in logging string.

11 years agoMerge "Fixes typo in logging string."
Robert Greenwalt [Tue, 9 Apr 2013 21:53:56 +0000 (21:53 +0000)]
Merge "Fixes typo in logging string."

11 years agoFixes typo in logging string.
Robert Greenwalt [Tue, 9 Apr 2013 19:20:45 +0000 (12:20 -0700)]
Fixes typo in logging string.

Pointed out by bodhisatwa in
https://code.google.com/p/android/issues/detail?id=54098

Change-Id: I4cb42627bb0858360d6f88dedf9412720e4b5cca

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