Paul Kocialkowski [Thu, 7 Mar 2013 13:41:30 +0000 (14:41 +0100)]
SRS: srs-client library, proper structures for protocol data
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Wed, 6 Mar 2013 18:45:12 +0000 (19:45 +0100)]
pwr: Wait for IPC_PWR_PHONE_PWR_UP to complete startup
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Wed, 6 Mar 2013 18:44:10 +0000 (19:44 +0100)]
Piranha (P5100/P3100 Galaxy Tab 2.0 tablets) support
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Sat, 9 Feb 2013 22:43:19 +0000 (23:43 +0100)]
sec: Handle various SIM I/O message formats based on SIM ICC type
Also make request id registration override older requests.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Sat, 9 Feb 2013 12:50:22 +0000 (13:50 +0100)]
sec: Do not consider absent SIM state as unknown
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Sat, 9 Feb 2013 11:31:11 +0000 (12:31 +0100)]
sec: Assume SIM is ready when phonebook init is complete
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Sat, 9 Feb 2013 11:45:41 +0000 (12:45 +0100)]
sec: Send SIM I/O requests one after another
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Sat, 9 Feb 2013 09:51:13 +0000 (10:51 +0100)]
Change coding style: add a space after if, for and while
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Sat, 9 Feb 2013 09:44:48 +0000 (10:44 +0100)]
compat: Removed separate header: apply per-version changes in the code
This is especially relevant when the elements of the structures changed
or need a different handling in the code: that way, we don't confuse which
structure is declared.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Sat, 9 Feb 2013 09:34:38 +0000 (10:34 +0100)]
sec: Rewrite SIM I/O functions
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Fri, 8 Feb 2013 21:35:03 +0000 (22:35 +0100)]
MISC: Timezone can be negative: handle that case as well
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Sun, 16 Dec 2012 11:07:11 +0000 (12:07 +0100)]
PWR: Report power states and return to RILJ properly
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Sat, 15 Dec 2012 10:00:43 +0000 (11:00 +0100)]
RFS: Export ipc_rfs_send function prototype
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Sat, 15 Dec 2012 10:05:46 +0000 (11:05 +0100)]
SAT: Rename STK functions, disable STK by default
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Mon, 19 Nov 2012 20:24:42 +0000 (21:24 +0100)]
Copyright: Corrected email address
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Sun, 18 Nov 2012 13:57:21 +0000 (14:57 +0100)]
Disp: Report RSSI properly with newer version
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Mon, 12 Nov 2012 11:28:15 +0000 (12:28 +0100)]
TODO: Removed implemented GPRS functions
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Mon, 12 Nov 2012 11:10:00 +0000 (12:10 +0100)]
SRS: Set non-blocking flag without override
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Sun, 11 Nov 2012 11:34:12 +0000 (12:34 +0100)]
GPRS: Pass CID to activate/deactivate IPC functions
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Mon, 5 Nov 2012 21:06:31 +0000 (22:06 +0100)]
SRS: Rework to handle multiple clients in a better way
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Sun, 4 Nov 2012 19:16:38 +0000 (20:16 +0100)]
Updated copyright information
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Paul Kocialkowski [Sun, 4 Nov 2012 18:35:33 +0000 (19:35 +0100)]
SMS: Use lists stored in ril_data instead of global table
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
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