summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Paul Kocialkowski [Sun, 4 Nov 2012 12:27:58 +0000 (13:27 +0100)]
SMS: Process next incoming message after failure
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Thu, 1 Nov 2012 18:23:49 +0000 (19:23 +0100)]
SMS: Use lists stored in ril_data instead of global tpid table
Some strutures were also renamed to Stick to libsamsung-ipc changes
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Thu, 1 Nov 2012 18:22:51 +0000 (19:22 +0100)]
GEN: Change function name to match naming style
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Thu, 1 Nov 2012 14:38:36 +0000 (15:38 +0100)]
GPRS: Use lists stored in ril_data instead of global table
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Thu, 1 Nov 2012 12:57:52 +0000 (13:57 +0100)]
GEN: Use lists stored in ril_data instead of global table
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Thu, 1 Nov 2012 12:57:28 +0000 (13:57 +0100)]
PWR: Fix typo error
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Thu, 1 Nov 2012 11:40:36 +0000 (12:40 +0100)]
Reworked RIL requests, globals, SIM status, client
* 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>
Paul Kocialkowski [Wed, 19 Sep 2012 17:04:07 +0000 (19:04 +0200)]
Call: return NULL and 0 len when no calls are to be listed
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Fri, 14 Sep 2012 17:31:12 +0000 (19:31 +0200)]
SEC: Avoid garbage when sending SIM IO
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Sun, 9 Sep 2012 14:11:15 +0000 (16:11 +0200)]
Stick to the latest libsamsung-ipc changes
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Fri, 7 Sep 2012 15:27:46 +0000 (17:27 +0200)]
GPRS: Fixed style, compat and RIL_VERSION < 6 return data on SETUP_DATA_CALL
SEC/SMS: Fixed compat
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Thu, 6 Sep 2012 20:09:08 +0000 (22:09 +0200)]
Stick to the latest libsamsung-ipc changes
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Tue, 28 Aug 2012 19:57:35 +0000 (21:57 +0200)]
Cosmetics: removed lines with tabs or spaces
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Tue, 28 Aug 2012 19:29:03 +0000 (21:29 +0200)]
SRS: Use different socket type based on RIL version
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Alexander Tarasikov [Sun, 26 Aug 2012 21:05:35 +0000 (01:05 +0400)]
Rework SRS to support multiple clients
This fixes deadlocks on Galaxy Nexus (Tuna)
when GPS/NFC libraries open the socket thus preventing
in-call audio from functioning
Alexander Tarasikov [Sun, 26 Aug 2012 00:40:39 +0000 (04:40 +0400)]
Synchronize ril and ipc notifications
This fixes RSSI status and probably some other concurrency
issues
Alexander Tarasikov [Sat, 25 Aug 2012 17:56:54 +0000 (21:56 +0400)]
Only fake ril version on jellybean
Alexander Tarasikov [Sat, 25 Aug 2012 16:48:38 +0000 (20:48 +0400)]
Fix compiling gprs on Gingerbread
Alexander Tarasikov [Fri, 24 Aug 2012 21:19:54 +0000 (01:19 +0400)]
Fix GPRS on ICS/JB
Alexander Tarasikov [Fri, 24 Aug 2012 16:29:09 +0000 (20:29 +0400)]
compat: fix data fail cause
Alexander Tarasikov [Fri, 24 Aug 2012 16:24:35 +0000 (20:24 +0400)]
Merge remote-tracking branch 'ksys/master' into replicant-merge
Conflicts:
gprs.c
net.c
Alexander Tarasikov [Fri, 24 Aug 2012 16:02:49 +0000 (20:02 +0400)]
Use RADIO_STATE_ON on ICS/JB only
Paul Kocialkowski [Sat, 18 Aug 2012 14:45:31 +0000 (16:45 +0200)]
Try to fix ipc_net_plmn_sel segmentation fault.
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>
Alexander Tarasikov [Wed, 22 Aug 2012 21:30:06 +0000 (01:30 +0400)]
Add a pointer check to ipc_net_plmn_sel
Alexander Tarasikov [Wed, 22 Aug 2012 21:21:52 +0000 (01:21 +0400)]
Add the compat.h header to multiple Android trees
Alexander Tarasikov [Mon, 20 Aug 2012 09:57:05 +0000 (13:57 +0400)]
Use RADIO_STATE_ON
Alexander Tarasikov [Mon, 20 Aug 2012 09:56:41 +0000 (13:56 +0400)]
Switch to v6 structures (mostly a cosmetic change)
Alexander Tarasikov [Wed, 25 Jul 2012 07:48:42 +0000 (11:48 +0400)]
Hack RIL_VERSION to make voice calls work on jellybean
Alexander Tarasikov [Wed, 25 Jul 2012 07:23:02 +0000 (11:23 +0400)]
Fix some compilation warnings
Alexander Tarasikov [Mon, 23 Jul 2012 13:46:45 +0000 (17:46 +0400)]
Fix compilation on jellybean
Alexander Tarasikov [Fri, 13 Jul 2012 12:45:12 +0000 (16:45 +0400)]
Fix ussd message corruption
Alexander Tarasikov [Fri, 13 Jul 2012 12:30:35 +0000 (16:30 +0400)]
Move SmsCodingScheme to utils.c for future reuse
Alexander Tarasikov [Fri, 13 Jul 2012 12:04:37 +0000 (16:04 +0400)]
Fix USSD encoding for all GSM7/UCS2/ASCII cases
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
Alexander Tarasikov [Fri, 13 Jul 2012 11:12:15 +0000 (15:12 +0400)]
Add UCS2 USSD decoding
Alexander Tarasikov [Fri, 13 Jul 2012 09:54:28 +0000 (13:54 +0400)]
Add the utf8_write function to decode ucs2 data
This function is copied from the XDANDROID ril.
It writes the USC2-BE data to the char buffer.
Alexander Tarasikov [Sun, 8 Jul 2012 19:52:34 +0000 (23:52 +0400)]
srs: use SOCKET_ABSTRACT to fix ICS permissions
Paul Kocialkowski [Sun, 8 Jul 2012 16:02:20 +0000 (18:02 +0200)]
GPRS: free a bunch of strings after being used
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Sun, 8 Jul 2012 15:27:52 +0000 (17:27 +0200)]
GPRS: Get and store interface given the cid, cleanup and other fixes
* 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>
Paul Kocialkowski [Sat, 7 Jul 2012 22:43:47 +0000 (00:43 +0200)]
GPRS: Improved stability with status, fail cause and per-cid handling
* 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>
Paul Kocialkowski [Fri, 6 Jul 2012 13:29:24 +0000 (15:29 +0200)]
Call: Added last call fail cause support
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Alexander Tarasikov [Fri, 6 Jul 2012 12:01:35 +0000 (16:01 +0400)]
Hack ussd for latin ascii to make it work at least
Alexander Tarasikov [Fri, 6 Jul 2012 08:52:32 +0000 (12:52 +0400)]
Add maguro makefiles
Paul Kocialkowski [Wed, 4 Jul 2012 17:08:52 +0000 (19:08 +0200)]
GPRS: Changes for ICS
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Wed, 4 Jul 2012 16:13:27 +0000 (18:13 +0200)]
ICS MODIFY
Paul Kocialkowski [Thu, 5 Jul 2012 20:28:23 +0000 (22:28 +0200)]
Increased the max number of attempts when creating a client to 10
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Wed, 4 Jul 2012 16:21:31 +0000 (18:21 +0200)]
GPRS: Use GPRS capabilities to decide whether to send port list
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Wed, 4 Jul 2012 16:12:40 +0000 (18:12 +0200)]
RFS: Only print the first 0x100 bytes
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Mon, 2 Jul 2012 10:28:07 +0000 (12:28 +0200)]
GPRS: improved error-handling while setting up data call and pdp context
* 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>
PaulK [Thu, 7 Jun 2012 20:26:56 +0000 (22:26 +0200)]
GPRS: port list and iface activation/deactivation support
Signed-off-by: PaulK <contact@paulk.fr>
PaulK [Tue, 3 Apr 2012 10:04:16 +0000 (12:04 +0200)]
Updated ToDo list
PaulK [Thu, 29 Mar 2012 18:49:24 +0000 (20:49 +0200)]
Removed unused code realted to SIM and typo on SMS
PaulK [Thu, 29 Mar 2012 18:14:42 +0000 (20:14 +0200)]
Fixed SIM status handling and added generic RIL_TOKEN_DATA_WAITING
PaulK [Sat, 25 Feb 2012 10:58:57 +0000 (11:58 +0100)]
Re-enabled RFS, which was disabled for tests
PaulK [Fri, 24 Feb 2012 23:05:28 +0000 (00:05 +0100)]
Added DTMF global sort of lock and set the functions to use gen_phone_res
PaulK [Fri, 24 Feb 2012 16:21:49 +0000 (17:21 +0100)]
Followed libsamsung-ipc changes on ipc_sec_phone_lock
PaulK [Fri, 24 Feb 2012 16:14:05 +0000 (17:14 +0100)]
Fixed some unusual return values on error
PaulK [Fri, 24 Feb 2012 16:13:50 +0000 (17:13 +0100)]
Fixed IMEI/Baseband infos once and for all!
PaulK [Fri, 24 Feb 2012 16:13:31 +0000 (17:13 +0100)]
Fixed disp icon info once and for all!
PaulK [Fri, 24 Feb 2012 16:11:50 +0000 (17:11 +0100)]
Massive rework of SIM handling, with new features SIM PIN-related.
PaulK [Wed, 22 Feb 2012 18:22:21 +0000 (19:22 +0100)]
Typo ril_tokens_net_state_dump
PaulK [Wed, 22 Feb 2012 18:21:33 +0000 (19:21 +0100)]
Fixed IMEI/IMEISV (one request depends on the other one)
PaulK [Wed, 22 Feb 2012 15:38:30 +0000 (16:38 +0100)]
Fixed RSSI interpretation from icon_info messages
PaulK [Wed, 22 Feb 2012 14:52:10 +0000 (15:52 +0100)]
Updated ToDo list
PaulK [Tue, 21 Feb 2012 23:04:00 +0000 (00:04 +0100)]
Cleaned code for network type selection and added stable PLMN selection
PaulK [Tue, 21 Feb 2012 17:39:39 +0000 (18:39 +0100)]
Fixed IPC_NET_MODE_SEL related functions
PaulK [Mon, 20 Feb 2012 23:21:31 +0000 (00:21 +0100)]
Using the global Operators list on QUERY_AVAILABLE_NETWORKS and added the table gen script
PaulK [Mon, 20 Feb 2012 23:01:46 +0000 (00:01 +0100)]
Added USSD support
PaulK [Fri, 17 Feb 2012 18:49:39 +0000 (19:49 +0100)]
Fixed code according to libsamsung-ipc changes
PaulK [Wed, 1 Feb 2012 16:54:27 +0000 (17:54 +0100)]
Added GSM7 <-> ASCII code
PaulK [Wed, 1 Feb 2012 16:41:23 +0000 (17:41 +0100)]
Don't return failure if net requests are overlaping
PaulK [Wed, 1 Feb 2012 16:40:21 +0000 (17:40 +0100)]
Modified gprs.c to match libsamsung-ipc changes
PaulK [Wed, 1 Feb 2012 16:39:48 +0000 (17:39 +0100)]
Using rc instead of calling the function in the if statement
PaulK [Wed, 1 Feb 2012 16:38:22 +0000 (17:38 +0100)]
Changed Android.mk to match libsamsung-ipc changes
PaulK [Sat, 14 Jan 2012 20:54:01 +0000 (21:54 +0100)]
Added very unclean data dactivation function
PaulK [Sat, 14 Jan 2012 20:50:32 +0000 (21:50 +0100)]
Fixed DNS configuration
Denis 'GNUtoo' Carikli [Sat, 14 Jan 2012 20:34:10 +0000 (21:34 +0100)]
GPRS: fix the route
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>
PaulK [Sat, 14 Jan 2012 18:35:26 +0000 (19:35 +0100)]
Changed IPC Client to deal with new handlers common data
PaulK [Sat, 7 Jan 2012 16:56:19 +0000 (17:56 +0100)]
Updated TODO list
PaulK [Sat, 7 Jan 2012 14:39:57 +0000 (15:39 +0100)]
Added support for SMS Multipart messages
PaulK [Sat, 7 Jan 2012 13:41:19 +0000 (14:41 +0100)]
Added full PLMN list (from Wikipedia)
PaulK [Sat, 7 Jan 2012 13:12:55 +0000 (14:12 +0100)]
Added Burst DTMF suppport
PaulK [Tue, 3 Jan 2012 20:05:25 +0000 (21:05 +0100)]
Added SND functions (volume works as well as mic mute), updated TODO list
PaulK [Sun, 1 Jan 2012 18:33:24 +0000 (19:33 +0100)]
Improved SMS stability (now it's stable), still no multi-message, plus bug fixes
PaulK [Sat, 31 Dec 2011 15:46:51 +0000 (16:46 +0100)]
Added RFS functions and IPC_GEN_PHONE_RES proper handling, applied to data
PaulK [Fri, 30 Dec 2011 21:18:16 +0000 (22:18 +0100)]
Consider numbers starting with "+" as international calls
PaulK [Thu, 29 Dec 2011 14:31:34 +0000 (15:31 +0100)]
Send back network type anyway
PaulK [Thu, 29 Dec 2011 13:47:34 +0000 (14:47 +0100)]
Added preliminary data support
PaulK [Thu, 29 Dec 2011 12:32:26 +0000 (13:32 +0100)]
Added preliminary RFS support, code cleanup, completed TODO list
PaulK [Wed, 21 Dec 2011 20:54:03 +0000 (21:54 +0100)]
RIL rework: multi-client, more stable, added GPLv3 copyright notice
PaulK [Wed, 7 Dec 2011 19:13:01 +0000 (20:13 +0100)]
Added DTMF support
PaulK [Sun, 4 Dec 2011 11:45:31 +0000 (12:45 +0100)]
Added Samsung Ril Socket (SRS) support: this permits working audio calls on nexus s
PaulK [Sat, 3 Dec 2011 14:08:47 +0000 (15:08 +0100)]
Fixed call-related functions
PaulK [Fri, 25 Nov 2011 22:15:05 +0000 (23:15 +0100)]
Corrected hex2bin (it made an infinite loop if data wasn't only ASCII: i was not incremented)
PaulK [Tue, 22 Nov 2011 20:50:42 +0000 (21:50 +0100)]
Modified samsung-ril to work on Nexus S.
Currently, the following is working:
* (automatic) network registration (clean and stable)
* SMS (no clean queue engine and no support for multiple message SMS)
* SIM I/O
* Other minor stuff
And the following is left to do:
* DATA (3G)
* airplane to normal power mode
* calls (including audio routing)
* RFS messages handling (mostly to be done at IPC level)
* Other minor stuff
Joerie de Gram [Wed, 26 Oct 2011 16:03:00 +0000 (18:03 +0200)]
Temporary initial commit