summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* client: Fix warning about array comparison to a null pointerDenis 'GNUtoo' Carikli2019-07-241-1/+1
| | | | | | | | | | | Without that fix we have: client.c:32:6: error: comparison of array 'ril_clients' equal to a null pointer is always false [-Werror,-Wtautological-pointer-compare] if (ril_clients == NULL || ril_clients_count == 0) ^~~~~~~~~~~ ~~~~ Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* Silence warnings about unused parametersDenis 'GNUtoo' Carikli2019-07-248-38/+74
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove unused variablesDenis 'GNUtoo' Carikli2019-07-248-21/+2
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove unused labelsDenis 'GNUtoo' Carikli2019-06-185-11/+1
| | | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* Add support for USSD messagesWolfgang Wiedmeyer2019-06-184-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 listWolfgang Wiedmeyer2019-06-181-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 Wiedmeyer2019-06-181-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 Wiedmeyer2019-06-181-3/+4
| | | | | | This hopefully finally fixes sending of longer SMS messages. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* ipc_sec_pin_status: don't return too early if lockedWolfgang Wiedmeyer2019-06-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 Wiedmeyer2019-06-181-2/+7
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* samsung-ril-socket: mic mute implementationWolfgang Wiedmeyer2019-06-186-0/+35
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* fix linker errorWolfgang Wiedmeyer2019-06-181-1/+1
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* network: Report emergency ability when not connectedPaul Kocialkowski2016-01-061-2/+2
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* 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>