samsung-ril.git
3 years agoSamsung-RIL rewrite: harder, better, probably not faster but definitely stronger master
Paul Kocialkowski [Thu, 7 Aug 2014 11:12:15 +0000 (13:12 +0200)]
Samsung-RIL rewrite: harder, better, probably not faster but definitely stronger

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
4 years agoRIL_LOG macro to log messages
Paul Kocialkowski [Fri, 20 Dec 2013 21:29:42 +0000 (22:29 +0100)]
RIL_LOG macro to log messages

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
4 years agomisc: Complete NITZ report
Paul Kocialkowski [Sun, 29 Sep 2013 13:11:30 +0000 (15:11 +0200)]
misc: Complete NITZ report

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
4 years agoSend internal SMS to alert the user when an important crash just happened
Paul Kocialkowski [Sun, 29 Sep 2013 12:51:10 +0000 (14:51 +0200)]
Send internal SMS to alert the user when an important crash just happened

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
4 years agomisc: Check for IPC message type properly
Paul Kocialkowski [Sun, 29 Sep 2013 12:50:30 +0000 (14:50 +0200)]
misc: Check for IPC message type properly

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
4 years agoCheck modem state before RIL requests and properly report it on crash
Paul Kocialkowski [Sat, 28 Sep 2013 14:38:51 +0000 (16:38 +0200)]
Check modem state before RIL requests and properly report it on crash

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
4 years agosms: Write/delete SMS on SIM support
Paul Kocialkowski [Sun, 1 Sep 2013 12:48:42 +0000 (14:48 +0200)]
sms: Write/delete SMS on SIM support

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
4 years agosvc: Implement Samsung Service Mode OEM Hook
Paul Kocialkowski [Sun, 25 Aug 2013 19:23:39 +0000 (21:23 +0200)]
svc: Implement Samsung Service Mode OEM Hook

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
4 years agoPLMN list update
Paul Kocialkowski [Fri, 26 Jul 2013 14:39:27 +0000 (16:39 +0200)]
PLMN list update

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
4 years agoipc: Open client after power on
Paul Kocialkowski [Wed, 3 Jul 2013 21:10:29 +0000 (23:10 +0200)]
ipc: Open client after power on

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
4 years agoFollow changes in libsamsung-ipc API
Paul Kocialkowski [Wed, 3 Jul 2013 20:10:00 +0000 (22:10 +0200)]
Follow changes in libsamsung-ipc API

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agoRemove TODO list
Paul Kocialkowski [Sun, 31 Mar 2013 21:09:19 +0000 (23:09 +0200)]
Remove TODO list

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agoplmn_list: Update script and list
Paul Kocialkowski [Sun, 31 Mar 2013 21:03:03 +0000 (23:03 +0200)]
plmn_list: Update script and list

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agoUpdate copyright information
Paul Kocialkowski [Sun, 31 Mar 2013 21:00:40 +0000 (23:00 +0200)]
Update copyright information

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agoCoding style: add spaces after switch statements
Paul Kocialkowski [Sun, 31 Mar 2013 20:50:04 +0000 (22:50 +0200)]
Coding style: add spaces after switch statements

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agoAvoid checking ipc_message_info pointer since it is checked in readloop
Paul Kocialkowski [Sun, 31 Mar 2013 20:46:24 +0000 (22:46 +0200)]
Avoid checking ipc_message_info pointer since it is checked in readloop

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agoCoding style: add spaces around equal sign in for statements
Paul Kocialkowski [Sun, 31 Mar 2013 20:40:51 +0000 (22:40 +0200)]
Coding style: add spaces around equal sign in for statements

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agoDefine and use RIL_TOKEN_NULL
Paul Kocialkowski [Sun, 31 Mar 2013 20:37:27 +0000 (22:37 +0200)]
Define and use RIL_TOKEN_NULL

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agoss: Refactor code, check for NULL pointers and prevent memory leaks
Paul Kocialkowski [Sun, 31 Mar 2013 20:16:03 +0000 (22:16 +0200)]
ss: Refactor code, check for NULL pointers and prevent memory leaks

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agosms: Refactor code, check for NULL pointers and prevent memory leaks
Paul Kocialkowski [Sun, 31 Mar 2013 20:15:55 +0000 (22:15 +0200)]
sms: Refactor code, check for NULL pointers and prevent memory leaks

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agosat: Refactor code, check for NULL pointers and prevent memory leaks
Paul Kocialkowski [Sun, 31 Mar 2013 16:48:13 +0000 (18:48 +0200)]
sat: Refactor code, check for NULL pointers and prevent memory leaks

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agosec: Refactor code, check for NULL pointers and prevent memory leaks
Paul Kocialkowski [Sun, 31 Mar 2013 16:35:37 +0000 (18:35 +0200)]
sec: Refactor code, check for NULL pointers and prevent memory leaks

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agonet: Refactor code, check for NULL pointers and prevent memory leaks
Paul Kocialkowski [Sun, 31 Mar 2013 16:03:21 +0000 (18:03 +0200)]
net: Refactor code, check for NULL pointers and prevent memory leaks

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agomisc: Refactor code, check for NULL pointers and prevent memory leaks
Paul Kocialkowski [Sun, 31 Mar 2013 15:18:43 +0000 (17:18 +0200)]
misc: Refactor code, check for NULL pointers and prevent memory leaks

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agogprs: Refactor code, check for NULL pointers and prevent memory leaks
Paul Kocialkowski [Sun, 31 Mar 2013 14:32:23 +0000 (16:32 +0200)]
gprs: Refactor code, check for NULL pointers and prevent memory leaks

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agogen: Refactor code, check for NULL pointers and prevent memory leaks
Paul Kocialkowski [Sun, 31 Mar 2013 14:01:45 +0000 (16:01 +0200)]
gen: Refactor code, check for NULL pointers and prevent memory leaks

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agodisp: Refactor code, check for NULL pointers and prevent memory leaks
Paul Kocialkowski [Sun, 31 Mar 2013 13:58:56 +0000 (15:58 +0200)]
disp: Refactor code, check for NULL pointers and prevent memory leaks

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agocall: Refactor code, check for NULL pointers and prevent memory leaks
Paul Kocialkowski [Sun, 31 Mar 2013 13:52:24 +0000 (15:52 +0200)]
call: Refactor code, check for NULL pointers and prevent memory leaks

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agosrs: Refactor code, check for NULL pointers and prevent memory leaks
Paul Kocialkowski [Sun, 31 Mar 2013 12:00:26 +0000 (14:00 +0200)]
srs: Refactor code, check for NULL pointers and prevent memory leaks

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agoipc: Refactor code, check for NULL pointers and prevent memory leaks
Paul Kocialkowski [Sun, 31 Mar 2013 10:53:15 +0000 (12:53 +0200)]
ipc: Refactor code, check for NULL pointers and prevent memory leaks

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agoclient: Refactor code, check for NULL pointers and prevent memory leaks
Paul Kocialkowski [Sat, 30 Mar 2013 22:47:43 +0000 (23:47 +0100)]
client: Refactor code, check for NULL pointers and prevent memory leaks

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agopwr: Refactor code, check for NULL pointers and prevent memory leaks
Paul Kocialkowski [Sat, 30 Mar 2013 22:30:47 +0000 (23:30 +0100)]
pwr: Refactor code, check for NULL pointers and prevent memory leaks

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agosnd: Refactor code, check for NULL pointers and prevent memory leaks
Paul Kocialkowski [Sat, 30 Mar 2013 22:18:40 +0000 (23:18 +0100)]
snd: Refactor code, check for NULL pointers and prevent memory leaks

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agorfs: Refactor code, check for NULL pointers and prevent memory leaks
Paul Kocialkowski [Sat, 30 Mar 2013 21:51:17 +0000 (22:51 +0100)]
rfs: Refactor code, check for NULL pointers and prevent memory leaks

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agoRename samsung-ril to Samsung-RIL, refactor Android.mk and comments style
Paul Kocialkowski [Sat, 30 Mar 2013 21:55:41 +0000 (22:55 +0100)]
Rename samsung-ril to Samsung-RIL, refactor Android.mk and comments style

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agoipc: Set ipc message structure to 0 and double check before freeing
Paul Kocialkowski [Sat, 23 Mar 2013 19:50:18 +0000 (20:50 +0100)]
ipc: Set ipc message structure to 0 and double check before freeing

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agodisp: Log signal strength
Paul Kocialkowski [Fri, 8 Mar 2013 10:29:02 +0000 (11:29 +0100)]
disp: Log signal strength

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agopwr: Handle phone reset message
Paul Kocialkowski [Thu, 7 Mar 2013 20:33:36 +0000 (21:33 +0100)]
pwr: Handle phone reset message

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agosec: Use correct SIM ready status value
Paul Kocialkowski [Thu, 7 Mar 2013 20:22:24 +0000 (21:22 +0100)]
sec: Use correct SIM ready status value

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agodisp: Report signal strength from icon info
Paul Kocialkowski [Thu, 7 Mar 2013 18:54:45 +0000 (19:54 +0100)]
disp: Report signal strength from icon info

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agopwr: Complete request even if last state seems not to match
Paul Kocialkowski [Thu, 7 Mar 2013 18:26:36 +0000 (19:26 +0100)]
pwr: Complete request even if last state seems not to match

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agoSRS: srs-client library, proper structures for protocol data
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>
5 years agopwr: Wait for IPC_PWR_PHONE_PWR_UP to complete startup
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>
5 years agoPiranha (P5100/P3100 Galaxy Tab 2.0 tablets) support
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>
5 years agosec: Handle various SIM I/O message formats based on SIM ICC type
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>
5 years agosec: Do not consider absent SIM state as unknown
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>
5 years agosec: Assume SIM is ready when phonebook init is complete
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>
5 years agosec: Send SIM I/O requests one after another
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>
5 years agoChange coding style: add a space after if, for and while
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>
5 years agocompat: Removed separate header: apply per-version changes in the code
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>
5 years agosec: Rewrite SIM I/O functions
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>
5 years agoMISC: Timezone can be negative: handle that case as well
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>
5 years agoPWR: Report power states and return to RILJ properly
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>
5 years agoRFS: Export ipc_rfs_send function prototype
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>
5 years agoSAT: Rename STK functions, disable STK by default
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>
5 years agoCopyright: Corrected email address
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>
5 years agoDisp: Report RSSI properly with newer version
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>
5 years agoTODO: Removed implemented GPRS functions
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>
5 years agoSRS: Set non-blocking flag without override
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>
5 years agoGPRS: Pass CID to activate/deactivate IPC functions
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>
5 years agoSRS: Rework to handle multiple clients in a better way
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>
5 years agoUpdated copyright information
Paul Kocialkowski [Sun, 4 Nov 2012 19:16:38 +0000 (20:16 +0100)]
Updated copyright information

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
5 years agoSMS: Use lists stored in ril_data instead of global table
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>
5 years agoSMS: Process next incoming message after failure
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>
5 years agoSMS: Use lists stored in ril_data instead of global tpid table
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>
5 years agoGEN: Change function name to match naming style
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>
5 years agoGPRS: Use lists stored in ril_data instead of global table
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>
5 years agoGEN: Use lists stored in ril_data instead of global table
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>
5 years agoPWR: Fix typo error
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>
5 years agoReworked RIL requests, globals, SIM status, client
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>
5 years agoCall: return NULL and 0 len when no calls are to be listed
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>
5 years agoSEC: Avoid garbage when sending SIM IO
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>
5 years agoStick to the latest libsamsung-ipc changes
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>
5 years agoGPRS: Fixed style, compat and RIL_VERSION < 6 return data on SETUP_DATA_CALL
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>
5 years agoStick to the latest libsamsung-ipc changes
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>
5 years agoCosmetics: removed lines with tabs or spaces
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>
5 years agoSRS: Use different socket type based on RIL version
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>
5 years agoRework SRS to support multiple clients
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

5 years agoSynchronize ril and ipc notifications
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

5 years agoOnly fake ril version on jellybean
Alexander Tarasikov [Sat, 25 Aug 2012 17:56:54 +0000 (21:56 +0400)]
Only fake ril version on jellybean

5 years agoFix compiling gprs on Gingerbread
Alexander Tarasikov [Sat, 25 Aug 2012 16:48:38 +0000 (20:48 +0400)]
Fix compiling gprs on Gingerbread

5 years agoFix GPRS on ICS/JB
Alexander Tarasikov [Fri, 24 Aug 2012 21:19:54 +0000 (01:19 +0400)]
Fix GPRS on ICS/JB

5 years agocompat: fix data fail cause
Alexander Tarasikov [Fri, 24 Aug 2012 16:29:09 +0000 (20:29 +0400)]
compat: fix data fail cause

5 years agoMerge remote-tracking branch 'ksys/master' into replicant-merge
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

5 years agoUse RADIO_STATE_ON on ICS/JB only
Alexander Tarasikov [Fri, 24 Aug 2012 16:02:49 +0000 (20:02 +0400)]
Use RADIO_STATE_ON on ICS/JB only

5 years agoTry to fix ipc_net_plmn_sel segmentation fault.
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>
5 years agoAdd a pointer check to ipc_net_plmn_sel
Alexander Tarasikov [Wed, 22 Aug 2012 21:30:06 +0000 (01:30 +0400)]
Add a pointer check to ipc_net_plmn_sel

5 years agoAdd the compat.h header to multiple Android trees
Alexander Tarasikov [Wed, 22 Aug 2012 21:21:52 +0000 (01:21 +0400)]
Add the compat.h header to multiple Android trees

5 years agoUse RADIO_STATE_ON
Alexander Tarasikov [Mon, 20 Aug 2012 09:57:05 +0000 (13:57 +0400)]
Use RADIO_STATE_ON

5 years agoSwitch to v6 structures (mostly a cosmetic change)
Alexander Tarasikov [Mon, 20 Aug 2012 09:56:41 +0000 (13:56 +0400)]
Switch to v6 structures (mostly a cosmetic change)

5 years agoHack RIL_VERSION to make voice calls work on jellybean
Alexander Tarasikov [Wed, 25 Jul 2012 07:48:42 +0000 (11:48 +0400)]
Hack RIL_VERSION to make voice calls work on jellybean

5 years agoFix some compilation warnings
Alexander Tarasikov [Wed, 25 Jul 2012 07:23:02 +0000 (11:23 +0400)]
Fix some compilation warnings

5 years agoFix compilation on jellybean
Alexander Tarasikov [Mon, 23 Jul 2012 13:46:45 +0000 (17:46 +0400)]
Fix compilation on jellybean

5 years agoFix ussd message corruption
Alexander Tarasikov [Fri, 13 Jul 2012 12:45:12 +0000 (16:45 +0400)]
Fix ussd message corruption

5 years agoMove SmsCodingScheme to utils.c for future reuse
Alexander Tarasikov [Fri, 13 Jul 2012 12:30:35 +0000 (16:30 +0400)]
Move SmsCodingScheme to utils.c for future reuse

5 years agoFix USSD encoding for all GSM7/UCS2/ASCII cases
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

5 years agoAdd UCS2 USSD decoding
Alexander Tarasikov [Fri, 13 Jul 2012 11:12:15 +0000 (15:12 +0400)]
Add UCS2 USSD decoding

5 years agoAdd the utf8_write function to decode ucs2 data
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.

5 years agosrs: use SOCKET_ABSTRACT to fix ICS permissions
Alexander Tarasikov [Sun, 8 Jul 2012 19:52:34 +0000 (23:52 +0400)]
srs: use SOCKET_ABSTRACT to fix ICS permissions

5 years agoGPRS: free a bunch of strings after being used
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>