Commit Graph

131 Commits

Author SHA1 Message Date
Andreas Schneider 3063dc12b7 libril: Avoid strncat which doesn't check if we overflow
Change-Id: I547e071316e8b4492b9837aae2096f27c02b67db
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-04-13 21:39:15 +00:00
Andreas Schneider 47b2d96357 libril: Make data a const pointer in RIL_onUnsolicitedResponse()
Change-Id: I5b57da9e2672ea8455481e55794c33759cb741db
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-04-13 21:38:52 +00:00
Utkarsh Gupta 8a0d74087a libril: Fix signal strength
Change-Id: I81ce6dbb99a04c62666823602d1b72bb3fc50a1c
2015-04-13 12:28:09 +05:30
Daniel Hillenbrand d0b8416520 libril: rewrite preferred network type
NETWORK_MODE_GLOBAL => NETWORK_MODE_WCDMA_PREF

Change-Id: I3087e4be3a6ff700b39544279fa0e265b9182180
2015-04-12 11:58:35 +02:00
Howard Su bd82ef1fa7 libril: move samsung specific into seperate table, update to v11
Change-Id: I6c7121a30dbbf9edc9573b8f2dee308366bab9a1
2015-04-12 10:50:31 +02:00
Andreas Schneider eef440e4ab libril: Readd support for MODEM_TYPE_XMM7260
Change-Id: I395e9cbfd1a42334e5e6bbb706eef9be157ecd24
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-04-08 14:00:38 +02:00
Andreas Schneider f68609b5d2 libril: Fix #elif for MODEM_TYPE_XMM6260
Change-Id: I71e64103aba6b374b6181f557030409be084bb25
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-04-08 14:00:37 +02:00
Andreas Schneider 8cb8de66bb libril: Use consistent names for modem defines
Change-Id: I3ac65d2458878a6a631439be4f830c851aa50759
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-04-08 14:00:36 +02:00
Andreas Schneider 8e5fa432f3 libril: The data variable should be const
Change-Id: I72a694e603c1ff18b09e3c3208cae8c5af937513
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-04-08 14:00:34 +02:00
Andreas Schneider 68f80d8f04 libril: Fix processRadioState prototype
Change-Id: I19c5c2319fe4110c3859012a27a08d5c7f942177
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-04-08 14:00:31 +02:00
K Yasu eeb7df7cf4 Fix the build error of some samsung devices which provides libril (e.g. ks01lte)
This fixes the merge error of commit 56b8dcfa3094f93698dda9f6731fa845f00ef287

Change-Id: I0efd718a85376059cad57ac9715673cbfb2e596f
(cherry picked from commit f8e5e164804f1408c2350dade3fd92d561e7076c)
2015-04-07 17:12:23 +00:00
Howard Su e32dbfd56b libril: Merge xmm6262 and xmm6260 to single lib.
The difference between two libs are very minor,
includes one hack around ucsInfo and the logic
to adjust signal strength. Besides that other
diffs are some logs.
The new version of code is minaly based on xmm6262,
especially the logic to adjust singal strength.
Merge them to easy maintain the code.

Change-Id: I76390541d017576591860c8701bb9763c460b8be
(cherry picked from commit 56b8dcfa3094f93698dda9f6731fa845f00ef287)
2015-04-06 16:49:42 +00:00
Andreas Schneider 6b9cd5f8b4 librilsec-client: Add support for xmm7260 modem
Change-Id: If287527a26a1f5c79ec493ad2cd1cd7152ba27db
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-03-16 12:09:41 -07:00
Andreas Schneider 2947268122 libril: Add support for xmm7260 modem.
Change-Id: Ia3749bd4c43a2e233e722462dd6423fe8c692177
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-03-16 12:09:25 -07:00
Howard Su cbf8e0a2ed libril: use ip address as gateway in ppp network.
Fix data until these commits are completed:
http://review.cyanogenmod.org/82277
http://review.cyanogenmod.org/82329

Credits to Howard Su
http://review.cyanogenmod.org/80947

Change-Id: Iab88fd8d4ed1089cfdb724aa460597f6e39003bc
2015-01-04 11:12:31 +01:00
bmork 36b50656ab XMM626x: fix Samsung RIL v9 update
The Samsung proprietary RIL commands are mapped using the
same array as the standard commands. This means that the
MAX and UNSOL_MAX macros must be updated whenever standard
commands are added, or the Samsung commands will noe be
correctly mapped.

Change-Id: I68ebc62e1967c5d027fc407eaeef480e735734f8
2015-01-03 19:31:26 +01:00
Howard Su 3896b5fce1 libril: remove -lpthread to fix build.
Change-Id: I3b132ef20fb5d784a3335356393c739af2fbe415
2014-11-29 06:30:07 +00:00
Christopher R. Palmer 9b6b907dd8 libsecril-client: Remove -lpthread
Change-Id: I7f0a11a460cd3626f51a19482598cccabb13d5de
2014-11-13 04:41:21 -05:00
Andrew Jiang ca4a9a096b XMM626x: Update RIL to V9 [1/2]
Patch Set 2: Whitespace

Change-Id: I8ed4c470bdaccdcbb116ad2a70e7a2b6bdaf6062
2014-10-28 03:30:02 +00:00
Daniel Hillenbrand a22f51c83e libril: handle samsungs unsol responses
Change-Id: Ia42d9999ba0df93019a8864202f093163f8c3f41
2013-09-04 23:50:06 +02:00
Ethan Chen 8ee5a6b543 xmm6262: Use xmm6262 libril for xmm6360 modem as well
* They appear to expose a very similar interface

Change-Id: I6793da25244258adb905e002d05bb60061487c5e
2013-08-09 13:51:50 -07:00
Ethan Chen d6e3065985 xmm6262: Update using 4.3 libril.cpp
Change-Id: Ib884b46448b633b862cadb0f067e3180531858ae
2013-08-04 22:54:14 -07:00
Daniel Hillenbrand e2c157a687 Merge "xmm6262: Update to new RIL version" into cm-10.2 2013-07-27 21:44:14 +00:00
XpLoDWilD ba5c6a3ca1 xmm6262: Update to new RIL version
Change-Id: I10b3d90861f5332e17ec19985efb83f8d10ae05c
2013-07-27 22:34:52 +02:00
codeworkx afc051f81a samsung: update libril for xmm6260
Change-Id: Ib5e68bd53fdf5d3db29ce09a975198320337cc52
2013-07-27 22:18:51 +02:00
Daniel Hillenbrand 41f25f4dea samsung: ril: fix inclusion of secril-client
Change-Id: I1266a59d88811fe0b3188dc63b83bace40f54398
2013-07-11 16:28:27 +02:00
Daniel Hillenbrand a010d52660 Merge "samsung: move ril client out of exynos4" into cm-10.1 2013-07-09 09:50:57 -07:00
Daniel Hillenbrand ea4af61a1b samsung: libril: some code cleanup
Change-Id: Ie79369fce7d6c8832c3256c402a485090c177e61
2013-07-09 18:47:06 +02:00
Daniel Hillenbrand 40b78381e3 samsung: libril: cleanup debugging code
Change-Id: I1429a892071dbd55d8ffa41b304b1612261f4edc
2013-07-09 01:49:17 +02:00
Daniel Hillenbrand c0e536a0d0 samsung: move ril client out of exynos4
Change-Id: I8aa0470652c060a531d2cc7f2d8c68d3c40f5f95
2013-07-08 17:11:45 +02:00
Daniel Hillenbrand 601dc85817 samsung: add libril for xmm626x modems
Change-Id: I3064271ac8d563f63b13278944639ab5a29ae87f
2013-07-08 16:23:19 +02:00