aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* includes: svc.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-68/+67
| | | | | | | This contains no functional changes. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: ss.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-22/+20
| | | | | | | This contains no functional changes. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: snd.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-28/+26
| | | | | | | This contains no functional changes. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: sms.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-73/+75
| | | | | | | This contains no functional changes. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: sec.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-101/+105
| | | | | | | This contains no functional changes. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: sat.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-12/+12
| | | | | | | This contains no functional changes. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: samsung-ipc.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-44/+56
| | | | | | | This contains no functional changes. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: rfs.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-24/+24
| | | | | | | This contains no functional changes. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: pwr.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-16/+14
| | | | | | | This contains no functional changes. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: protocol.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-42/+40
| | | | | | | | | | | | | | | This contains no functional changes. The commented out code if any has also been preserved as it could be relevant to the understanding of the code. It will be kept until we understand why the code has been commented. In that case we either need to remove it completely or to replace it by a comment explaining why not having that code was necessary. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: pb.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-8/+6
| | | | | | | | | | | | | | | This contains no functional changes. The commented out code if any has also been preserved as it could be relevant to the understanding of the code. It will be kept until we understand why the code has been commented. In that case we either need to remove it completely or to replace it by a comment explaining why not having that code was necessary. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: net.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-66/+65
| | | | | | | | | | | | | | | This contains no functional changes. The commented out code if any has also been preserved as it could be relevant to the understanding of the code. It will be kept until we understand why the code has been commented. In that case we either need to remove it completely or to replace it by a comment explaining why not having that code was necessary. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: misc.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-28/+26
| | | | | | | | | | | | | | | This contains no functional changes. The commented out code if any has also been preserved as it could be relevant to the understanding of the code. It will be kept until we understand why the code has been commented. In that case we either need to remove it completely or to replace it by a comment explaining why not having that code was necessary. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: imei.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-5/+3
| | | | | | | | | | | | | | | This contains no functional changes. The commented out code if any has also been preserved as it could be relevant to the understanding of the code. It will be kept until we understand why the code has been commented. In that case we either need to remove it completely or to replace it by a comment explaining why not having that code was necessary. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: gprs.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-93/+93
| | | | | | | | | | | | | | | This contains no functional changes. The commented out code if any has also been preserved as it could be relevant to the understanding of the code. It will be kept until we understand why the code has been commented. In that case we either need to remove it completely or to replace it by a comment explaining why not having that code was necessary. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: gen.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-9/+7
| | | | | | | | | | | | | | | This contains no functional changes. The commented out code if any has also been preserved as it could be relevant to the understanding of the code. It will be kept until we understand why the code has been commented. In that case we either need to remove it completely or to replace it by a comment explaining why not having that code was necessary. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: disp.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-16/+14
| | | | | | | | | | | | | | | This contains no functional changes. The commented out code if any has also been preserved as it could be relevant to the understanding of the code. It will be kept until we understand why the code has been commented. In that case we either need to remove it completely or to replace it by a comment explaining why not having that code was necessary. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* includes: call.h: switch to Linux code styleDenis 'GNUtoo' Carikli2020-06-271-79/+80
| | | | | | | | | | | | | | | This contains no functional changes. The commented out code if any has also been preserved as it could be relevant to the understanding of the code. It will be kept until we understand why the code has been commented. In that case we either need to remove it completely or to replace it by a comment explaining why not having that code was necessary. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
* Fix IPC_GPRS_FAIL_CAUSE_UNKOWN_PDP_CONTEXT typoDenis 'GNUtoo' Carikli2020-06-111-1/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Fix ipc_sec_lock_infomation_response_data typoDenis 'GNUtoo' Carikli2020-06-111-1/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Fix ipc_sec_lock_infomation_request_data typoDenis 'GNUtoo' Carikli2020-06-111-2/+2
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Fix ipc_sec_lock_infomation_setup typoDenis 'GNUtoo' Carikli2020-06-111-1/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Fix IPC_SEC_LOCK_INFOMATION typoDenis 'GNUtoo' Carikli2020-06-111-1/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* devices: gprs activate/deactivate handlers: pass the ipc_client structDenis 'GNUtoo' Carikli2020-02-281-2/+2
| | | | | | | | | This enables to use logging inside the callbacks. At this point the ipc_client struct is already available, so it is safe to do that. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* devices: transport: pass the ipc_client structDenis 'GNUtoo' Carikli2020-02-211-5/+5
| | | | | | | | | This enables to use logging inside the callbacks. At this point the ipc_client struct is already available, so it is safe to do that. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* device boot handlers: pass it the ipc_client structDenis 'GNUtoo' Carikli2020-02-211-1/+2
| | | | | | | | | | | This enables to use logging inside the handlers: ipc_client_log needs access to the ipc_client struct to work. At this point the ipc_client struct is already available, so it is safe to do that. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* samsung-ipc.h: fix include for timeval structDenis 'GNUtoo' Carikli2020-02-081-1/+1
| | | | | | | | | | When creating a new file which only includes samsung-ipc.h, with -Werror, we have a compilation error: error: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* file_data_{read,write}: Add loggingDenis 'GNUtoo' Carikli2020-01-301-4/+5
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* ipc_nv_data_md5_calculate: print errors when ipc_client is defined.Denis 'GNUtoo' Carikli2020-01-301-2/+3
| | | | | | | Without that, there are no ways to know the cause of failures with ipc_nv_data_md5_calculate. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add IPC_CLIENT_TYPE_DUMMYDenis 'GNUtoo' Carikli2020-01-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The libsamsung-ipc logging system depends on having a valid ipc_client struct which is created by ipc_client_create. This enable libsamsung-ipc to be reused accross software stacks that use different logging systems. For instance the libsamsung-ipc can be used by libsamsung-ril which integrates libsamsung-ipc logging to the Android logging system. However this has several side effects: - Standalone tools like nv_data-md5 that may not necessarily run on a device with a compatible modem and driver end up not printing many of the information it should be printing. - As ipc_client_create tries to autodetect hardware and software configurations, and that logging is only available after it succeed, the early intialisation prints are not forwarded to the logging system. This can be an issue on Android as users and developers expect the logging to go to 'logcat' and getting the early logs require more extesive modification of the system. This enables to create a dummy ipc_client with working logging. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* tools: nv_data-md5 tool for calculating (salted) nv_data md5Paul Kocialkowski2016-02-021-0/+8
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* gprs: Unknown fieldsPaul Kocialkowski2014-11-101-2/+2
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* External fds polling supportPaul Kocialkowski2014-08-071-2/+7
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* sec: RSIM access extract helperPaul Kocialkowski2014-08-041-0/+2
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* rfs: Proper helpersPaul Kocialkowski2014-08-041-3/+6
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* sms: SVC center addr extract helperPaul Kocialkowski2014-08-041-0/+2
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* sms: Size function for helpers that return data with non-explicit sizePaul Kocialkowski2014-08-031-1/+6
| | | | | | Also, pdu is data, not string Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* sec: Size function for helpers that return data with non-explicit sizePaul Kocialkowski2014-08-031-0/+2
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* rfs: Size function for helpers that return data with non-explicit sizePaul Kocialkowski2014-08-021-0/+1
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* net: PLMN list extract helpers, PLMN typePaul Kocialkowski2014-08-021-1/+7
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* call: Size function for helpers that return data with non-explicit sizePaul Kocialkowski2014-08-021-0/+2
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* disp: Proper icon info structure and flagsPaul Kocialkowski2014-08-021-4/+18
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* gprs: Various bits and updatesPaul Kocialkowski2014-07-301-10/+20
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* gprs: Fail causes import from TizenPaul Kocialkowski2014-07-291-10/+28
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* GPRS cid count is unsigned integerPaul Kocialkowski2014-07-281-6/+6
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* svc: HelpersPaul Kocialkowski2014-07-271-2/+12
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Offset is unsigned intPaul Kocialkowski2014-07-262-5/+6
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* sec: RSIM access helperPaul Kocialkowski2014-07-261-0/+2
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* utils: Dedicated function for length/sizePaul Kocialkowski2014-07-261-1/+3
|
* utils: Shared libraries don't allow for internal functionsPaul Kocialkowski2014-07-261-0/+13
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>