summaryrefslogtreecommitdiffstats
path: root/gprs.c
Commit message (Collapse)AuthorAgeFilesLines
* Avoid checking ipc_message_info pointer since it is checked in readloopPaul Kocialkowski2013-03-311-9/+6
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Coding style: add spaces around equal sign in for statementsPaul Kocialkowski2013-03-311-5/+5
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Define and use RIL_TOKEN_NULLPaul Kocialkowski2013-03-311-8/+8
| | | | 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>
* Rename samsung-ril to Samsung-RIL, refactor Android.mk and comments stylePaul Kocialkowski2013-03-301-5/+5
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Change coding style: add a space after if, for and whilePaul Kocialkowski2013-02-091-79/+79
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Copyright: Corrected email addressPaul Kocialkowski2012-11-191-1/+1
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* GPRS: Pass CID to activate/deactivate IPC functionsPaul Kocialkowski2012-11-111-2/+2
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* GPRS: Use lists stored in ril_data instead of global tablePaul Kocialkowski2012-11-011-85/+126
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Reworked RIL requests, globals, SIM status, clientPaul Kocialkowski2012-11-011-46/+53
| | | | | | | | | | | * 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>
* Stick to the latest libsamsung-ipc changesPaul Kocialkowski2012-09-091-4/+4
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* GPRS: Fixed style, compat and RIL_VERSION < 6 return data on SETUP_DATA_CALLPaul Kocialkowski2012-09-071-28/+87
| | | | | | SEC/SMS: Fixed compat Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Cosmetics: removed lines with tabs or spacesPaul Kocialkowski2012-08-281-2/+2
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Fix compiling gprs on GingerbreadAlexander Tarasikov2012-08-251-3/+11
|
* Fix GPRS on ICS/JBAlexander Tarasikov2012-08-251-70/+157
|
* 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-081-37/+38
| | | | | | | | | * 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-081-123/+614
| | | | | | | | | | * 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>
* GPRS: Use GPRS capabilities to decide whether to send port listPaul Kocialkowski2012-07-041-1/+4
| | | | 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-071-16/+111
| | | | Signed-off-by: PaulK <contact@paulk.fr>
* Fixed code according to libsamsung-ipc changesPaulK2012-02-171-3/+3
|
* Modified gprs.c to match libsamsung-ipc changesPaulK2012-02-011-4/+1
|
* Added very unclean data dactivation functionPaulK2012-01-141-0/+13
|
* Fixed DNS configurationPaulK2012-01-141-0/+11
|
* GPRS: fix the routeDenis 'GNUtoo' Carikli2012-01-141-7/+4
| | | | | | | | | | | Note that this fix is not perfect(a better fix would be to retrive the correct route from the ipc(the one retrived before was not the correct route, that's why this fix was done)). Also note that the DNS should be setup in setprop/getprop in order to have data activation fully working. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* Added RFS functions and IPC_GEN_PHONE_RES proper handling, applied to dataPaulK2011-12-311-11/+29
|
* Added preliminary data supportPaulK2011-12-291-0/+145