summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for USSD messagesHEADreplicant-6.0Wolfgang Wiedmeyer2017-07-104-0/+517
| | | | | | | | | | | The implementation is based on the code for USSD support that was used before the rewrite of Samsung-RIL. USSD messages in GSM7 format are decoded to UTF8. The decoding code was adapted from huaweigeneric-ril[1]. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> [1] https://github.com/DerArtem/huaweigeneric-ril
* Add 00000 to the PLMN listreplicant-6.0-0001Wolfgang Wiedmeyer2016-12-291-0/+1
| | | | | | | | | | | Early during boot of the system, the modem answers with the string "00000" to the OPERATOR request. Samsung-RIL currently drops this response, while the proprietary RIL forwards it. Let's duplicate the behaviour of the proprietary RIL here. This seems to prevent that the RIL gets flooded with OPERATOR requests during system boot. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* network: Account for three-digit MNC codesWolfgang Wiedmeyer2016-12-291-1/+4
| | | | | | | Makes the OPERATOR request work in countries that use three-digit MNC codes. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* sms: Also check if RIL_REQUEST_SEND_SMS_EXPECT_MORE was already handledWolfgang Wiedmeyer2016-12-291-3/+4
| | | | | | This hopefully finally fixes sending of longer SMS messages. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* Revert "sms: Make RIL_REQUEST_SEND_SMS_EXPECT_MORE work"Wolfgang Wiedmeyer2016-12-291-11/+6
| | | | | | Does not work reliable. This reverts commit 3935ea6f21e4f42024a025de2cc3fb6bc1816002.
* sms: Make RIL_REQUEST_SEND_SMS_EXPECT_MORE workWolfgang Wiedmeyer2016-12-201-6/+11
| | | | | | | | | | ril_request_send_sms() is used both for RIL_REQUEST_SEND_SMS_EXPECT_MORE and RIL_REQUEST_SEND_SMS, so it shouldn't always only assume RIL_REQUEST_SEND_SMS, same for ipc_sms_svc_center_addr(). This fixes sending multipart messages. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* ipc_sec_pin_status: don't return too early if lockedWolfgang Wiedmeyer2016-12-181-1/+0
| | | | | | | | This fixes the issue when the PIN can't be entered successfully after it was entered incorrectly once. As a side-effect, the SIM lock screen shows much earlier. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* allow SIM_IO request also if the SIM is locked or absentWolfgang Wiedmeyer2016-02-061-2/+7
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* Merge remote-tracking branch 'replicant/master' into replicant-6.0Wolfgang Wiedmeyer2016-01-141-2/+2
|\
| * network: Report emergency ability when not connectedmasterPaul Kocialkowski2016-01-061-2/+2
| | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* | samsung-ril-socket: mic mute implementationWolfgang Wiedmeyer2015-12-236-0/+35
| | | | | | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | fix linker errorWolfgang Wiedmeyer2015-12-171-1/+1
|/ | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* client: RIL state update delegation, no client destroy, IPC client boot in openreplicant-4.2-0004replicant-4.2-0003Paul Kocialkowski2014-10-044-37/+42
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* RIL client open retry at RIL initPaul Kocialkowski2014-10-041-1/+11
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* samsung-ril-socket: SRS test messages implementationPaul Kocialkowski2014-10-046-0/+194
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* misc: IMSI requires SIM ready statePaul Kocialkowski2014-08-201-1/+1
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* SamsungServiceMode can run in low power modePaul Kocialkowski2014-08-091-8/+0
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Samsung-RIL rewrite: harder, better, probably not faster but definitely strongerPaul Kocialkowski2014-08-0738-7772/+10318
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* RIL_LOG macro to log messagesreplicant-4.2-0002replicant-4.2-0001Paul Kocialkowski2013-12-2020-273/+279
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* misc: Complete NITZ reportPaul Kocialkowski2013-09-291-1/+1
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Send internal SMS to alert the user when an important crash just happenedPaul Kocialkowski2013-09-296-3/+208
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* misc: Check for IPC message type properlyPaul Kocialkowski2013-09-291-14/+16
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Check modem state before RIL requests and properly report it on crashPaul Kocialkowski2013-09-2813-70/+198
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* sms: Write/delete SMS on SIM supportPaul Kocialkowski2013-09-013-0/+159
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* svc: Implement Samsung Service Mode OEM HookPaul Kocialkowski2013-08-254-0/+293
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* PLMN list updatePaul Kocialkowski2013-07-261-66/+123
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ipc: Open client after power onPaul Kocialkowski2013-07-031-8/+8
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Follow changes in libsamsung-ipc APIPaul Kocialkowski2013-07-035-226/+80
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Remove TODO listPaul Kocialkowski2013-03-311-8/+0
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* plmn_list: Update script and listPaul Kocialkowski2013-03-312-181/+302
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Update copyright informationPaul Kocialkowski2013-03-3127-71/+44
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Coding style: add spaces after switch statementsPaul Kocialkowski2013-03-318-28/+28
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Avoid checking ipc_message_info pointer since it is checked in readloopPaul Kocialkowski2013-03-3112-64/+53
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Coding style: add spaces around equal sign in for statementsPaul Kocialkowski2013-03-316-16/+16
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Define and use RIL_TOKEN_NULLPaul Kocialkowski2013-03-317-35/+36
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ss: Refactor code, check for NULL pointers and prevent memory leaksPaul Kocialkowski2013-03-311-4/+26
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* sms: Refactor code, check for NULL pointers and prevent memory leaksPaul Kocialkowski2013-03-311-93/+71
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* sat: Refactor code, check for NULL pointers and prevent memory leaksPaul Kocialkowski2013-03-312-70/+75
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* sec: Refactor code, check for NULL pointers and prevent memory leaksPaul Kocialkowski2013-03-312-122/+142
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* net: Refactor code, check for NULL pointers and prevent memory leaksPaul Kocialkowski2013-03-312-150/+169
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* misc: Refactor code, check for NULL pointers and prevent memory leaksPaul Kocialkowski2013-03-311-43/+72
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* gprs: Refactor code, check for NULL pointers and prevent memory leaksPaul Kocialkowski2013-03-311-20/+117
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* gen: Refactor code, check for NULL pointers and prevent memory leaksPaul Kocialkowski2013-03-311-6/+2
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* disp: Refactor code, check for NULL pointers and prevent memory leaksPaul Kocialkowski2013-03-311-10/+24
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* call: Refactor code, check for NULL pointers and prevent memory leaksPaul Kocialkowski2013-03-312-162/+158
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* srs: Refactor code, check for NULL pointers and prevent memory leaksPaul Kocialkowski2013-03-312-135/+132
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ipc: Refactor code, check for NULL pointers and prevent memory leaksPaul Kocialkowski2013-03-312-135/+183
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* client: Refactor code, check for NULL pointers and prevent memory leaksPaul Kocialkowski2013-03-302-37/+38
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* pwr: Refactor code, check for NULL pointers and prevent memory leaksPaul Kocialkowski2013-03-302-26/+21
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* snd: Refactor code, check for NULL pointers and prevent memory leaksPaul Kocialkowski2013-03-302-15/+36
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>