summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reworked RIL requests, globals, SIM status, clientPaul Kocialkowski2012-11-0121-694/+858
| | | | | | | | | | | * Handling ril requests with lists * Renamed functions to complete requests * Globals (most of them) are held in ril_data * Renamed SIM_Status to ril_sim_state * Renamed client object to data * Moved client funcs to a sub-structure Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Call: return NULL and 0 len when no calls are to be listedPaul Kocialkowski2012-09-191-0/+7
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* SEC: Avoid garbage when sending SIM IOPaul Kocialkowski2012-09-141-17/+15
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Stick to the latest libsamsung-ipc changesPaul Kocialkowski2012-09-092-5/+5
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* GPRS: Fixed style, compat and RIL_VERSION < 6 return data on SETUP_DATA_CALLPaul Kocialkowski2012-09-075-35/+101
| | | | | | SEC/SMS: Fixed compat Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Stick to the latest libsamsung-ipc changesPaul Kocialkowski2012-09-064-81/+83
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Cosmetics: removed lines with tabs or spacesPaul Kocialkowski2012-08-2810-18/+18
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* SRS: Use different socket type based on RIL versionPaul Kocialkowski2012-08-281-1/+4
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Rework SRS to support multiple clientsAlexander Tarasikov2012-08-274-133/+113
| | | | | | This fixes deadlocks on Galaxy Nexus (Tuna) when GPS/NFC libraries open the socket thus preventing in-call audio from functioning
* Synchronize ril and ipc notificationsAlexander Tarasikov2012-08-261-2/+24
| | | | | This fixes RSSI status and probably some other concurrency issues
* Only fake ril version on jellybeanAlexander Tarasikov2012-08-251-1/+5
|
* Fix compiling gprs on GingerbreadAlexander Tarasikov2012-08-251-3/+11
|
* Fix GPRS on ICS/JBAlexander Tarasikov2012-08-252-70/+158
|
* compat: fix data fail causeAlexander Tarasikov2012-08-241-0/+1
|
* Merge remote-tracking branch 'ksys/master' into replicant-mergeAlexander Tarasikov2012-08-2413-52/+249
|\ | | | | | | | | | | Conflicts: gprs.c net.c
| * Use RADIO_STATE_ON on ICS/JB onlyAlexander Tarasikov2012-08-243-3/+5
| |
| * Add a pointer check to ipc_net_plmn_selAlexander Tarasikov2012-08-231-3/+12
| |
| * Add the compat.h header to multiple Android treesAlexander Tarasikov2012-08-234-27/+56
| |
| * Use RADIO_STATE_ONAlexander Tarasikov2012-08-202-3/+5
| |
| * Switch to v6 structures (mostly a cosmetic change)Alexander Tarasikov2012-08-201-6/+6
| |
| * Hack RIL_VERSION to make voice calls work on jellybeanAlexander Tarasikov2012-07-251-1/+1
| |
| * Fix some compilation warningsAlexander Tarasikov2012-07-259-36/+52
| |
| * Fix compilation on jellybeanAlexander Tarasikov2012-07-233-2/+18
| |
| * Fix ussd message corruptionAlexander Tarasikov2012-07-131-1/+1
| |
| * Move SmsCodingScheme to utils.c for future reuseAlexander Tarasikov2012-07-133-38/+42
| |
| * Fix USSD encoding for all GSM7/UCS2/ASCII casesAlexander Tarasikov2012-07-131-5/+45
| | | | | | | | | | | | | | This is a port of the DCS decoding function from the XDANDROID RIL. Now latin and unicode USSD notifications are correctly received. Verified by receiving cyrillic messages
| * Add UCS2 USSD decodingAlexander Tarasikov2012-07-131-2/+18
| |
| * Add the utf8_write function to decode ucs2 dataAlexander Tarasikov2012-07-132-0/+38
| | | | | | | | | | This function is copied from the XDANDROID ril. It writes the USC2-BE data to the char buffer.
| * srs: use SOCKET_ABSTRACT to fix ICS permissionsAlexander Tarasikov2012-07-081-1/+1
| |
| * Hack ussd for latin ascii to make it work at leastAlexander Tarasikov2012-07-061-0/+7
| |
| * Add maguro makefilesAlexander Tarasikov2012-07-061-0/+11
| |
| * GPRS: Changes for ICSPaul Kocialkowski2012-07-061-16/+16
| | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
| * ICS MODIFYPaul Kocialkowski2012-07-061-0/+11
| |
* | Try to fix ipc_net_plmn_sel segmentation fault.Paul Kocialkowski2012-08-241-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Without that fix we have: I/DEBUG ( 2256): #00 pc 0000ed68 /system/lib/libsamsung-ril.so (ipc_net_plmn_sel) I/DEBUG ( 2256): #01 pc 0000bdfa /system/lib/libsamsung-ril.so (ipc_fmt_dispatch) I/DEBUG ( 2256): #02 pc 0000c6f6 /system/lib/libsamsung-ril.so (ipc_fmt_read_loop) I/DEBUG ( 2256): #03 pc 0000bff4 /system/lib/libsamsung-ril.so (ril_client_thread) I/DEBUG ( 2256): #04 pc 00012e2c /system/lib/libc.so (__thread_entry) I/DEBUG ( 2256): #05 pc 0001295c /system/lib/libc.so (pthread_create) Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* | GPRS: free a bunch of strings after being usedPaul Kocialkowski2012-07-081-0/+5
| | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* | GPRS: Get and store interface given the cid, cleanup and other fixesPaul Kocialkowski2012-07-082-37/+39
| | | | | | | | | | | | | | | | | | * Interface is asked given the CID * Interface string is stored in the per-cid connection structure * Activate GPRS handler before getting the iface string * Cleaned TODO list and some misused LOG levels Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* | GPRS: Improved stability with status, fail cause and per-cid handlingPaul Kocialkowski2012-07-083-129/+651
| | | | | | | | | | | | | | | | | | | | * GPRS call status handling (state and fail cause) * Last call fail cause reporting * Data call list reporting * Take GPRS call status in account before reporting connection change * Per-cid GPRS connection handling Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* | Call: Added last call fail cause supportPaul Kocialkowski2012-07-063-1/+44
|/ | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Increased the max number of attempts when creating a client to 10Paul Kocialkowski2012-07-051-2/+2
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* GPRS: Use GPRS capabilities to decide whether to send port listPaul Kocialkowski2012-07-041-1/+4
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* RFS: Only print the first 0x100 bytesPaul Kocialkowski2012-07-041-2/+2
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* GPRS: improved error-handling while setting up data call and pdp contextPaul Kocialkowski2012-07-021-7/+27
| | | | | | | * Missing return after reporting failure to RILJ on setup_data_call * Dedicated function to handle pdp_context gen_phone_res and return to RILJ Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* GPRS: port list and iface activation/deactivation supportPaulK2012-06-072-16/+114
| | | | Signed-off-by: PaulK <contact@paulk.fr>
* Updated ToDo listPaulK2012-04-032-3/+4
|
* Removed unused code realted to SIM and typo on SMSPaulK2012-03-293-11/+4
|
* Fixed SIM status handling and added generic RIL_TOKEN_DATA_WAITINGPaulK2012-03-293-82/+75
|
* Re-enabled RFS, which was disabled for testsPaulK2012-02-251-2/+2
|
* Added DTMF global sort of lock and set the functions to use gen_phone_resPaulK2012-02-252-7/+34
|
* Followed libsamsung-ipc changes on ipc_sec_phone_lockPaulK2012-02-241-8/+8
|
* Fixed some unusual return values on errorPaulK2012-02-241-4/+6
|