summaryrefslogtreecommitdiffstats
path: root/ril
Commit message (Collapse)AuthorAgeFilesLines
* libril: Remove unused includestable/cm-13.0-ZNH5YChristopher N. Hesse2016-07-301-1/+0
| | | | | | | | | If someone needs this, it has to be fixed to read TARGET_OUT_HEADERS (notice the extra 's'). We are only getting away with it right now because M ignores empty include paths, but N will barf on this. Change-Id: I7f010398a40ebaf6811a58a121590944445fbcba
* ril: Restore alphabetical order for modem barrierChristopher N. Hesse2016-04-152-2/+2
| | | | Change-Id: Iae8f7cb6500c16d5b88d8e60d4e7e97ee6539a19
* libril: add initial support for tss310 modemmessi20502016-04-142-2/+2
| | | | | | | - j7elte use tss310 Change-Id: I9bea333de037d4d1c8a9bc2111a3455f56b61c9a Signed-off-by: messi2050 <mino_forever@yahoo.com>
* libril: Use a board flag for video call fieldAndreas Schneider2016-04-111-1/+1
| | | | | | | | xmm7260 on SLTE doesn't have this flag anymore. Devices which need it should specify the flag. Change-Id: I166f579274667919756d3bb90e0b182165525975 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* libril: Remove RIL_REQUEST_DIAL_EMERGENCYChristopher N. Hesse2016-03-291-1/+0
| | | | | | | | This is not part of the standard API, so remove it. Samsung devices almost always use the RIL_REQUEST_DIAL_EMERGENCY_CALL hook, so devices should implement that in their specific RIL subclass. Change-Id: I2cf9eee00a4b5b02e998d8efcbefa87a9ca7b7b4
* ril: fix libril if we don't overwrite the header in our device treeAndreas Blaesius2016-03-293-0/+1
| | | | Change-Id: Ic580b80b28c738828f4c19aeb54421d9f98c7d40
* libril: Move vendor commands headerChristopher N. Hesse2016-03-283-5/+5
| | | | | | Devices can now override this header in the device tree. Change-Id: I6e3814342ee22513e556ba92264b0c2651722af3
* libsecril-client: Use the correct incall audio pathsChristopher N. Hesse2016-03-082-1/+4
| | | | | | | | | | The modems used in recent Samsung devices use different paths than older devices apparently. These values were extracted from hexdumps at the correct data positions from the device specific libsecril-client.so blobs. Change-Id: I0547cb1de40130843fee3f1310e1e6aed95195c7
* libril: Make ST-E Thor M7450 and Intel XMM7260 next gen modems as wellChristopher N. Hesse2016-03-062-20/+13
| | | | Change-Id: I7cacda8cdaf9e285688c06c42ccf6629efc2af9d
* Fix memory leaks and use of uninitialized pointers.Pavel Zhamaitsiak2016-02-222-58/+95
| | | | | Bug: 23187886 Change-Id: Ic15a02a902b591362b5c52c20afabe511fb0bbb7
* ril: fix $(filter ...) derpSimon Shields2016-02-171-1/+1
| | | | Change-Id: Ic2be936268701bd5f40056e5993ef35f5bd3969d
* ril: Group next gen Samsung modem's in same CFLAGBrandon McAnsh2016-02-153-11/+13
| | | | | | | * Sprint variant of zeroflte uses mdm9x35 instead of ss333 Change-Id: Ifa7c1ea51dd57ea4fbeb41560c3a7c4fa65a85c8 Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
* libril: add initial support for ss333 modemSay2016-02-093-8/+16
| | | | | | | zeroflte uses ss333 Change-Id: If3c9d34ea31c06ce23bd8d0236a9f2ddbab3ddc4 Signed-off-by: Say <sktjdgns1189@naver.com>
* libsecril-client: spell AUDIO correctlyAndroid-Andi2016-01-073-5/+5
| | | | Change-Id: I10c3a4bdeb71685049f641018d7a5ef593f999a6
* ril: Unify network elements property checkChristopher N. Hesse2015-12-121-1/+1
| | | | | | | | frameworks/opt/telephony is using a slightly different named property to check for the QANElements count. Align the check here to the frameworks one to avoid redundancies. Change-Id: I22f7cf070953026798d0ae4759e3c9845dba767c
* libril: fix compilation with debugging enabledforkbomb2015-11-231-6/+6
| | | | Change-Id: Iac159175a23b2810e56c38fb82cae58c20dddb8e
* ril: Use debug log level and not errorAndreas Schneider2015-10-231-1/+1
| | | | | Change-Id: I8f017cb181967790260183fd06d1226d303bd2b8 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* ril: Fix network operator searchAndreas Schneider2015-10-231-1/+9
| | | | | | | | | | | Newer RIL versions have more QAN elements so we need a way to adjust them to the correct value. This needs to be set to same value as mQANElements in the RIL Telephony class. Change-Id: Icfad9c0acf1b95f63c232b6c4c49ed52bd4e3aa4 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* Modify RIL Unsol Message Wakelock to 200msNathan Harold2015-10-191-1/+3
| | | | | | bug: 22456054 Change-Id: Id41e001f98b455bec5f004438f5d8498b17aaf2d
* Modem activity infoPrerepa Viswanadham2015-10-192-0/+33
| | | | Change-Id: Iab8fbdeae0867c6e9cb9027b08317b1b5a2c9dfc
* Add missing extern "C" declaration.Chih-Hung Hsieh2015-10-191-0/+2
| | | | | BUG: 20891299 Change-Id: Iedfd2e8e5bd32014f011352898763bcc0887b6b9
* Remove verbose logsRobert Greenwalt2015-10-191-0/+15
| | | | | | | | | | Several things are redundent except for the fact messages are reaching rilc. Left in in case we need to debug the layer, but blocked out with #if VDBG Reduces startup logging to radio buffer by 20% Change-Id: I95099457ea365ee108e7da8e1f81434531b6b9f0
* Link Capacity Estimation - RIL supportfenglu2015-10-193-0/+59
| | | | Change-Id: I9c4d4901d823d719be2b8bdec64f08eda342de53
* Fix build issues after the mergeVinit Deshpande2015-10-192-2/+4
| | | | Change-Id: Ia856311187a0b2168cb859bd8b2300ff59df6569
* libril: tag RILC messages to radio logMark Salyzyn2015-10-191-10/+10
| | | | Change-Id: Ia3234aa933249eb9f383c7e45c3f67b3c0c50634
* Introduction of the new SAP-UIM socketDheeraj Shetty2015-10-198-41/+1498
| | | | | | | | | | | | | | | | | | | | | | | | | | Added new socket connection for communication between the SAP module in Telephony and User Identity Module with DSDA support. New classes added are: RilSocket --------- Base class(virtual) for any type of socket. Has listen and commands callbacks similar to that of the existing telephony->rild socket. RilSapSocket ------------ Derived class for socket for communication between BT SAP and the sim module in the modem. It initialises socket, calls Sap_Uim_Init to get the handles and starts the socket thread. rilSocketQueue -------------- Queue for managing socket requests. Change-Id: I8828173941d6ae76f1f9cc0d567efaf41a77d175
* Removal of dead code and adding log messages to make it easierNanik Tolaram2015-10-192-5/+10
| | | | | | | | | | | | | | | | | for debugging - Add more logging using ALOGD(..) for function dispatchSmsWrite, dispatchDial, dispatchSIM_IO, dispatchSIM_APDU, dispatchCallForward, dispatchRaw and dispatchCdmaSmsAck. To make it easier for debugging. - Remove commented log message inside wakeTimeoutCallback () function and remove the else clause as it's dead not used for anything. - Modify log message inside removeFromList and removeWatch using + and - to make it consistent with the other log message. Change-Id: Ife0212e6a4724d8b06a1dd767484bfdf98b8e1a6 Signed-off-by: Nanik Tolaram <nanikjava@gmail.com>
* We have POSIX clocks.Elliott Hughes2015-10-191-4/+0
| | | | | | We're probably not running the RIL on a Mac. Change-Id: Ib6be56cd26d67e2b72b559cb364b1e34ab613016
* ril: Support new sound manger RIL responsesAndreas Schneider2015-09-161-0/+6
| | | | | | | | | | | | | | | | New version of Samsung RIL do not use RIL_UNSOL_WB_AMR_STATE anymore. There is a Sound Manager (SND-MGR) which has its own response base (20000). So to be able to register a handler for RIL_UNSOL_SNDMGR_WB_AMR_REPORT with libsecril-client we need to know about it. This allows us to register a callback in the audio HAL to turn WB support on. WB_AMR_REPORT report 0x00, 0x01 or 0x02. I guess 0x01 is WB ON and 0x02 is WB + NS ON. Change-Id: I403c86781551fc3b08354187322e8443402d56f6
* libsecril-client: Fix SetCallAudioPath for current devicesstable/cm-12.1-YOG4PAndreas Schneider2015-08-253-3/+16
| | | | | Change-Id: I38f10432f8e9a257af3e74312616d07698edd20f Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* libril: Add support for ST-Ericsson Thor M7450 modemsChristopher N. Hesse2015-06-263-8/+11
| | | | | | | | | | The M7450 modem used in the Galaxy Note 4 (N910C variant) uses a libril implementation similar to the one employed for Intel XMM* modems by Samsung. This probably needs future adjustments, but so far fixes basic call functions and signal strength is displayed correctly. Change-Id: I2d070102ad11746902527da3c2c7f49485c7d7f1
* ril: Fix compilation with debug messages turned onAndreas Schneider2015-06-231-6/+6
| | | | | Change-Id: Ifabf416ebdfe681e63df1d127567d0ef54cfc0ec Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* libril: Fix element countNBruderman2015-06-081-1/+1
| | | | | | | | | | This lines should drop every 5th element (#5,#10,#15,...). At the moment it is dropping elements #6, #11, #16, as it start from 0 and the list start from 1. So let's match it up. Thanks to Tobias Heinemann for the idea. Change-Id: Idc2904040119716e666ea0fe320cde1d45869ee5
* libril: Fix network operator searchUtkarsh Gupta2015-05-122-2/+13
| | | | Change-Id: Ib904875c403942ec96dfa229080d9543d7c9b8fa
* libril: Fix signal strength for xmm6260 tooUtkarsh Gupta2015-05-021-3/+7
| | | | Change-Id: I3b35eb2c18df9110c7ec1bd3cf989cd34cc18fd7
* libril: Add missing semicolonCaio Schnepper2015-04-141-1/+1
| | | | Change-Id: I681e98abf600cd78a0783919d00b0acd215c6aaf
* libril: Avoid strncat which doesn't check if we overflowAndreas Schneider2015-04-131-1/+1
| | | | | Change-Id: I547e071316e8b4492b9837aae2096f27c02b67db Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* libril: Make data a const pointer in RIL_onUnsolicitedResponse()Andreas Schneider2015-04-131-4/+4
| | | | | Change-Id: I5b57da9e2672ea8455481e55794c33759cb741db Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* libril: Fix signal strengthUtkarsh Gupta2015-04-131-6/+43
| | | | Change-Id: I81ce6dbb99a04c62666823602d1b72bb3fc50a1c
* libril: rewrite preferred network typeDaniel Hillenbrand2015-04-122-7/+38
| | | | | | NETWORK_MODE_GLOBAL => NETWORK_MODE_WCDMA_PREF Change-Id: I3087e4be3a6ff700b39544279fa0e265b9182180
* libril: move samsung specific into seperate table, update to v11Howard Su2015-04-125-114/+475
| | | | Change-Id: I6c7121a30dbbf9edc9573b8f2dee308366bab9a1
* libril: Readd support for MODEM_TYPE_XMM7260Andreas Schneider2015-04-082-1/+4
| | | | | Change-Id: I395e9cbfd1a42334e5e6bbb706eef9be157ecd24 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* libril: Fix #elif for MODEM_TYPE_XMM6260Andreas Schneider2015-04-081-1/+1
| | | | | Change-Id: I71e64103aba6b374b6181f557030409be084bb25 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* libril: Use consistent names for modem definesAndreas Schneider2015-04-082-6/+6
| | | | | Change-Id: I3ac65d2458878a6a631439be4f830c851aa50759 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* libril: The data variable should be constAndreas Schneider2015-04-081-4/+4
| | | | | Change-Id: I72a694e603c1ff18b09e3c3208cae8c5af937513 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* libril: Fix processRadioState prototypeAndreas Schneider2015-04-081-2/+2
| | | | | Change-Id: I19c5c2319fe4110c3859012a27a08d5c7f942177 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* Fix the build error of some samsung devices which provides libril (e.g. ks01lte)K Yasu2015-04-071-0/+2
| | | | | | | This fixes the merge error of commit 56b8dcfa3094f93698dda9f6731fa845f00ef287 Change-Id: I0efd718a85376059cad57ac9715673cbfb2e596f (cherry picked from commit f8e5e164804f1408c2350dade3fd92d561e7076c)
* libril: Merge xmm6262 and xmm6260 to single lib.Howard Su2015-04-0617-5278/+1139
| | | | | | | | | | | | | 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)
* librilsec-client: Add support for xmm7260 modemAndreas Schneider2015-03-162-0/+19
| | | | | Change-Id: If287527a26a1f5c79ec493ad2cd1cd7152ba27db Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* libril: Add support for xmm7260 modem.Andreas Schneider2015-03-163-1/+42
| | | | | Change-Id: Ia3749bd4c43a2e233e722462dd6423fe8c692177 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>