summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* DO NOT MERGEHEADcm-13.0-cafSanket Padawe2017-10-041-7/+7
| | | | | | | | | | | | | Fix security vulnerability in pre-O rild code. Remove wrong code for setup_data_call. Add check for max address for RIL_DIAL. Bug: 37896655 Test: Manual. Change-Id: I05c027140ae828a2653794fcdd94e1b1a130941b (cherry picked from commit dda24c6557911aa1f4708abbd6b2f20f0e205b9e) CVE-2017-0823
* ril: Fix kw banned functionsstable/cm-13.0-caf-ZNH5YNaina Nalluri2016-07-162-7/+11
| | | | | | | Fix KW banned functions Change-Id: I052ac3065cc476dac24f5db390deda15ae584717 CRs-Fixed: 1011770
* libril: Fix KW issuesNaina Nalluri2016-07-161-1/+3
| | | | | | | Fix KW issues Change-Id: I7924ec56cd94fa916cd0c9d2a017512eea356419 CRs-Fixed: 981492
* ril: SAP_DISCONNECT response length will be zeroTaiyab Haque2016-07-161-15/+16
| | | | | | | | | | SAP_DISCONNECT response length will be zero, so onRequestComplete() handler should not have a check for length. CRs-Fixed: 960285 Change-Id: I676ec8a0467268d1f13abc9fea54fb6db18faa3d
* ril-caf: Fix build when using prebuilt librilSteve Kondik2016-06-241-0/+4
| | | | | | | | | * ril-caf was failing to compile when a prebuilt libril was in use. This is obviously not an optimal configuration, but is necessary in a couple of cases. Hardcode the include path so ril_ex.h gets picked up. Change-Id: I35221b306662cd0a99041b4768fad51e35115b76
* RF cutback feature for SARDeepak Kundra2016-05-093-0/+50
| | | | | | Issue-id:FEIJ-350 Change-Id: I0cda490538cdf14ebf5248c5c487677e71a6ac07
* libril: correct includeAlexander Martinz2016-02-181-1/+1
| | | | | Change-Id: I9eba8d8f568f19358bd43cf6a3816903d4c3f63d Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
* Merge tag 'LA.BF64.1.2.2-03240-8x94.0' into HEADMatt Wagantall2016-02-175-59/+180
|\ | | | | | | | | | | | | "LA.BF64.1.2.2-03240-8x94.0" Issue-Id: SAMBAR-1280 Change-Id: I3b7e32c045f21ca629a154cb1868331308385757
| * Add p2 option in openLogicalChannelWileen Chiu2016-01-073-1/+83
| | | | | | | | | | | | | | | | | | - Adding support for P2 parameter - Needed to support OMAPI 3.0 defined by SIM Alliance Change-Id: I9679178e2a6f0decd48f30e358685106b91163b8 CRs-Fixed: 948787
| * Add pdp data call reject throttle error codeAndalam Parthasarathi2015-12-231-0/+2
| | | | | | | | | | | | | | Added pdp data call reject throttle error code Change-Id: I90e8da4b46371fa6ae56ab1036e5520c01741a95 CRs-Fixed: 774782
| * Merge tag 'android-6.0.0_r26' into HEADDivya Sharma2015-11-042-58/+95
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Android 6.0.0 release 26 * tag 'android-6.0.0_r26': Fix memory leaks and use of uninitialized pointers. Change-Id: I0d26c172ce7edaf0f94fc1bc4227c21b8c24c04f
| | * merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-08-310-0/+0
| | |\
| | | * merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-08-290-0/+0
| | | |\ | | | |/ | | |/|
| | * | Fix memory leaks and use of uninitialized pointers.Pavel Zhamaitsiak2015-08-192-58/+95
| | |/ | | | | | | | | | | | | Bug: 23187886 Change-Id: Ic15a02a902b591362b5c52c20afabe511fb0bbb7
* | | librilutils: Relocate pb-generated objects to their expected pathRicardo Cerqueira2016-01-261-0/+4
| | | | | | | | | | | | | | | | | | | | | Relocation is less intrusive, and scales better across repositories using these headers Change-Id: Id11dd44bc44873a5ccef933d27e468bf916e6bdf
* | | Revert "Fix libril build errors"Ricardo Cerqueira2016-01-252-2/+2
| | | | | | | | | | | | | | | | | | This reverts commit 436417bdb3d4341488a02c5fa584e99afc17e79e. Change-Id: Iaf00bdf4718adfdc088bfd1fe8d9410b38aa2c80
* | | Merge branch 'LA.BF.1.1.3_rb1.3' of ↵Steve Kondik2015-11-153-4/+26
|\| | | | | | | | | | | git://codeaurora.org/platform/hardware/ril into cm-13.0
| * | Allow voice radio tech update in Airplane ModeSooraj Sasindran2015-10-142-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Allow voice radio tech state to be queried when device is in airplane mode. Change-Id: I2f1d495ad14d704b6b47cfdd4df0c37dafee7c25 CRs-Fixed: 919286
| * | SEEK: Add support for getAtrPreeti Ahuja2015-10-063-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | Add support for RIL_REQUEST_SIM_GET_ATR request for enabling getAtr api. CRs-Fixed: 718469 Change-Id: I5fe8f8156b55e7feaa7bb2671cd8451cb8bd2f36
* | | Fix build libril with RILC_LOGQuarx2k2015-10-271-3/+3
| | | | | | | | | | | | Change-Id: I63b2c7ea002c27303bf160bb421fe4c181bcfffb
* | | Fix libril build errorsQuarx2k2015-10-132-2/+2
| | | | | | | | | | | | Change-Id: I583575edfa22d3c8c33f8ba20b40c660f21c7927
* | | ril-caf: Allow using RIL version 10Steve Kondik2015-10-123-2/+69
| | | | | | | | | | | | | | | | | | | | | | | | * RIL version 11 adds a field that must be supported by the modem and is not compatible with RIL version 10. Add a flag to support v10. * Define USE_RIL_VERSION_10 to enable this. Change-Id: I2d2dcbc149a46f9a56b5c852d5dbc9296b214180
* | | Enabling RIL_QCOM_VERSIONRavinder Konka2015-10-121-0/+4
| | | | | | | | | | | | | | | Change-Id: I6706472d259d06841b87530c97782a95d2971b6c CRs-Fixed: 775430
* | | ril-caf: Add guard makefileSteve Kondik2015-10-121-0/+5
| | | | | | | | | | | | Change-Id: I4f53cf6a5cfd204f13ca13b3dcdb6dc83529837a
* | | rild: Don't use the clientId argument with non-qcom hardwareRicardo Cerqueira2015-10-121-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Other modems' implementations won't know how to deal with it, and some are confirmed to simply reject the RIL_Init call. If the hardware isn't qualcomm, just skip the whole multi-ril stuff entirely Change-Id: I132a4d7fc3d4532b2015f7e95863fac78889f833 rild: Weaken the RIL_setRilSocketName symbol custom libril implementations won't have it, but its lack isn't fatal outside of multi-SIM Change-Id: If8312078921bb4ed756dcd86e17e85847638c155 rild: Unbreak multi-SIM socket name Change-Id: Icae742c42c45726105d1a9e07a26bc4d10cc82bf Weaken external rild symbol. Not all libril will have this Change-Id: I3da165f5cf779a02c7eb168d6e3c9b398d284835 Change-Id: If8312078921bb4ed756dcd86e17e85847638c155
* | | libril: allow board to provide librilTom Giordano2015-10-121-0/+3
|/ / | | | | | | Change-Id: If0033865ab179854c27c56eaaf078fcc30ea102a
* | Telephony: 4G+ icon display on status bar.Yashdev Singh2015-10-061-1/+3
| | | | | | | | | | | | | | - Add new data RAT LTE_CA. Change-Id: I199cec9f7ff93314e3344d348a9be3802095a8e6 CRs-Fixed: 873290
* | Telephony: Introduce ACTIVATION_NOT_ALLOWED PDP cause-code.Yashdev Singh2015-10-061-0/+1
| | | | | | | | | | | | - Add cause code PDP_FAIL_ACTIVATION_NOT_ALLOWED = 0x07. Change-Id: I36abeb86f893bf62548cf006fb710c9aefa49203
* | Fix for rild crash becasue of buffer overflowPrasath Balakrishnan2015-10-061-1/+1
| | | | | | | | | | | | | | | | | | There is a buffer overflow which causing rild crash. For appendPrintBuf, "sprintf" is replaced with "snprintf" for the safe copy operation. Change-Id: I25430a5c6f2a8b19a3271235323499b6ee802746 CRs-Fixed: 881515
* | Use SimRefreshResponse struct in RIL Versions greater than 7.Rakesh Pallerla2015-10-061-1/+1
| | | | | | | | | | | | | | | | | | Modify condition to use SimRefreshResponse struct in all RIL Versions greater than 7. CRs-Fixed: 597007 Change-Id: I40fb4ad96e191ae6641eb31da014515d08704382
* | Initialize the bufferSindhu Kanathur2015-10-061-1/+1
| | | | | | | | | | | | | | | | | | Initialize the char array to null character as there is a possibility that it is not null terminated Change-Id: If1eca2b2f3ec22bafeb303da02deb62f0655241c CRs-Fixed: 584311
* | rild: Send extended information records as ByteBufferSukanya Rajkhowa2015-10-061-1/+14
| | | | | | | | | | | | | | | | Send information records to java as a ByteBuffer to prevent UTF-8 parsing from mangling bytes Change-Id: I558a41565b3e5e20aa40b5d0c5e748b204993e26 CRs-Fixed: 338368
* | Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION.Naveen Kalla2015-10-061-0/+2
| | | | | | | | | | | | | | Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION in requestToString method. Change-Id: I323f276d4048b168b27669a0aebb58cd9decf9bd
* | Remove support for Data_Call_Response_v6 in RIL versions >=10Sukanya Rajkhowa2015-10-061-2/+2
| | | | | | | | | | | | | | | | | | | | Supporting both Ril_Data_Call_Response_v6 and v9 is not feasible for the same RIL version in scenarios where the length of data call response list may be a multiple of both structure sizes. Doing so causes rild to crash. Change-Id: I2a2666da76e88f60e53c6bae5afd7eb0b9c77435 CRs-Fixed: 716222
* | Add support for cdma dynamic address length.lrichard2015-10-061-3/+10
| | | | | | | | | | | | | | | | Get the address,sub address,Bearer with dynamic length in the data parcel, to avoid the OutOfBoundsException with the MAX macro. Change-Id: I1d7437143c1369d77791136b68e06088acd72937 CRs-Fixed:543087
* | Add TD-SCDMA supportPreeti Ahuja2015-10-061-1/+11
| | | | | | | | | | | | | | Add TD-SCDMA network modes. Change-Id: I98dc8bab43f7ad65c81ee4b6594fa22235a47c86 CRs-Fixed: 815985
* | Add RIL_REQUEST_LAST_CALL_FAIL_CAUSE to rilkaiyiz2015-10-061-0/+43
|/ | | | | | Add needed RIL_REQUEST_LAST_CALL_FAIL_CAUSE to ril.h Change-Id: I479c838bfe96a6d9b80dd4b1a0cbc1debc7a9a2f
* Modify RIL Unsol Message Wakelock to 200msNathan Harold2015-07-291-1/+3
| | | | | | bug: 22456054 Change-Id: Id41e001f98b455bec5f004438f5d8498b17aaf2d
* Added support for acquiring CAP_BLOCK_SUSPEND capabilitySukanya Rajkhowa2015-07-291-1/+5
| | | | | | | | | | | | | - Linux kernel 3.10 onward power service mandates the user space processes that use wake_lock service to have CAP_BLOCK_SUSPEND capability. Made changes in rild process to acquire the same - Rild: Use division while defining MAX_CAP_NUM Bug: 21063398 Change-Id: Idf38d9bde398e748139a6e5d7e7d9a1ac106ec8d
* Support backward compatibility of new LAST_CALL_FAIL_CAUSESungmin Choi2015-07-061-1/+6
| | | | | | | | | | Previous fail cause returns integer array. New fail cuase returns integer and string. RIL framework uses just integer as causeCode. To support backward compatibility, returns integer instead of integer array as causeCode. Bug: 22204818 Change-Id: I77ca55d99a44d129cf401743c34c03754f38dde2
* Add an optional vendor_cause string toChao Liu2015-06-183-1/+36
| | | | | | | | | | | | RIL_REQUEST_LAST_CALL_FAIL_CAUSE's response. This vendor cause string will be passed to Telecom's DisconnectCause, which could help us figure out why we are seeing so many ERROR_UNSPECIFIED. bug:17701976 Original partner change: https://partner-android-review.googlesource.com/#/c/215710/ Change-Id: I0c54733a03b2fe2bd48b3d3b21efc5e3ebd9ef66
* Modem activity infoPrerepa Viswanadham2015-06-083-9/+35
| | | | Change-Id: Iab8fbdeae0867c6e9cb9027b08317b1b5a2c9dfc
* RIL: Interface to retrieve power stats infoSooraj Sasindran2015-06-041-0/+47
| | | | | | Introduce interface to retrieve modem power stats info Change-Id: I7ed89e754f733a93e430d64dfe28d7fbed1d4d75
* LCE RIL comment nitfenglu2015-05-191-5/+6
| | | | | | | cherrypick from mwd to mnc-dev Bug: 21307103 Change-Id: I0d9dd7bafee24a4853984ebcb665c022a0cbdc6a
* Add missing extern "C" declaration.Chih-Hung Hsieh2015-05-061-0/+2
| | | | | BUG: 20891299 Change-Id: Iedfd2e8e5bd32014f011352898763bcc0887b6b9
* Remove verbose logsRobert Greenwalt2015-04-301-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
* Merge commit '9a4b19c' into merge2Etan Cohen2015-04-240-0/+0
|\
| * Link Capacity Estimation - RIL supportfenglu2015-04-154-1/+138
| | | | | | | | Change-Id: I9c4d4901d823d719be2b8bdec64f08eda342de53
* | Correct GET_RADIO_CAP documentationAbhishek Adappa2015-04-221-3/+1
| | | | | | | | Change-Id: If9c07105771769b52070a85f93bf6d9a11fa6b80
* | Link Capacity Estimation - RIL supportfenglu2015-04-164-1/+138
| | | | | | | | Change-Id: I9c4d4901d823d719be2b8bdec64f08eda342de53