aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* New utilities (not exposed by the API) for various I/O and ipc fill functionsPaul Kocialkowski2013-06-286-11/+359
| | | | | Change-Id: I0bd1d7781971f217903f307b5ac418180afc0d50 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ipc util: Do not use strdup, to avoid memory leakPaul Kocialkowski2013-06-271-188/+317
| | | | | Change-Id: Ieee54f1a57ff76d59732c109e54cf05f90546e5e Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* More cosmetics on headersPaul Kocialkowski2013-06-273-18/+17
| | | | | Change-Id: I16793eb395d656d551f768dd4287889c1ece52fa Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Get rid of wakelocks, this should be dealt with on the upper layersPaul Kocialkowski2013-06-277-123/+0
| | | | | Change-Id: Iae3a43bc3019ee2bfdfc4ee3e3b2194b099372bc Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Rework handlers and ipc functions for better consistencyPaul Kocialkowski2013-06-2719-828/+734
| | | | | | | | | | | | | | | | | | | | Detailed list of the changes introduced by this commit: * Rename ipc_client_bootstrap_modem to ipc_client_bootstrap * Rename ipc_client_new/free to ipc_client_create/destroy * Rename log_handler to log_callback and change arguments order * Remove handlers common data and fd mechanisms * Set transport, power and gprs common data for handlers * Add data_create and data_destroy handlers * Rework arguments order for handlers * Add poll transport handler * Remove functions types typedefs * Remove dumb ipc_client_send_* functions * Remove ipc_client_gprs_handlers_available * Adapt device files for the new API changes * Adapt modemctrl for the new API changes Change-Id: Ia9ba1045dbbf9f5e31a201aa8629b49019158972 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* rfs.c: Coding style cosmeticsPaul Kocialkowski2013-06-271-86/+83
| | | | | Change-Id: I6d3745a75d6cb8ee945a4636fd6e6c2ff5ce4c66 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ipc.c: Coding style cosmeticsPaul Kocialkowski2013-06-261-48/+27
| | | | | Change-Id: I4a1d423bb84002e71af54daa0f5227b7a2859a63 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ipc_client_send: Single function with return codePaul Kocialkowski2013-06-262-29/+7
| | | | | Change-Id: I480b2496dabfada37e1ce60ab20401adf02b2e01 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* rfs.h: Coding stylePaul Kocialkowski2013-06-251-1/+1
| | | | | Change-Id: I27dd350d72d1aac1f3d4d0ffae27f92bd75e5b42 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Coding style: Move ; around in for statementsPaul Kocialkowski2013-06-253-5/+5
| | | | | Change-Id: I08cc4a5c404d1b513c56aa1eaeb68dfa6768a4e4 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Add newline and indentation on long functions namesPaul Kocialkowski2013-06-2514-53/+99
| | | | | Change-Id: Ie393301a04523816e7aa674e57a4c3a2eb93247e Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Refactor code for consistent coding style and avoid using assertPaul Kocialkowski2013-06-2515-106/+118
| | | | | Change-Id: Idca5edb70869e07d35744301b185df02e42f5b4c Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Renamed ipc_private.h to ipc.hPaul Kocialkowski2013-06-2516-19/+28
| | | | | Change-Id: Ie80159518b6d7d1a6422d3dc47a903eb7fdad6d8 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* modemctrl: Update Copyright block for better accuracyPaul Kocialkowski2013-06-251-3/+4
| | | | | Change-Id: I0ddd3a6b32920033c3d70f046aea3674f94fa75e Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Moved radio.h and types.h to samsung-ipc.h (API) and protocol.h (IPC protocol).Paul Kocialkowski2013-06-2529-254/+354
| | | | | | | Also some minor headers cosmetics. Change-Id: Id2b988b118d956e91827b9b840e3f384424593ae Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Drop (incomplete) support for Samsung H1Paul Kocialkowski2013-06-255-349/+0
| | | | | Change-Id: Ica4a4d34085adc800924be9009c636abc61036f3 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Drop support for the (incomplete) old protocol implementation used on H1.Paul Kocialkowski2013-06-2533-968/+619
| | | | | | | Also refactor headers: values aligned to 16x4 spaces and other cosmetics Change-Id: I5a6f2c2471599c88c4be74591117d0ab2dfaaddf Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Update changelog for new releaseSimon Busch2013-06-231-710/+367
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Update documentation in preparation of a new releaseSimon Busch2013-06-232-1/+24
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Update list of authors based on git historySimon Busch2013-06-231-0/+3
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Add missing modem_prj.h file to automake configurationSimon Busch2013-06-231-0/+1
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Fix outstanding compiler warningsSimon Busch2013-06-232-1/+7
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Rules to build piranha code on MakefilesPaul Kocialkowski2013-03-241-0/+3
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* xmm6260: Set message info data to NULL before alloc (or no alloc)Paul Kocialkowski2013-03-231-0/+1
| | | | | Change-Id: I5eb463630dfd611e0f3db439ea1a1efb420bcc5a Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* modemctrl: Remove SIM initializing messagePaul Kocialkowski2013-03-071-3/+0
| | | | | Change-Id: If73a5bc5a87ae1bfdb0921ef16338be11cc7b989 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* sec: Use correct SIM ready status valuePaul Kocialkowski2013-03-071-1/+1
| | | | | Change-Id: I71afe804d05585a0f232fe2fd685c5e78101def4 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* disp: Second byte of icon info is the reception level in barsPaul Kocialkowski2013-03-071-1/+1
| | | | | Change-Id: I54963a4db11c6e766c787e2cc173cd5a27662b53 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* prainha: Remove TODO commentPaul Kocialkowski2013-03-061-2/+0
| | | | | Change-Id: I8a61b582c16b8169505c7252f6d7260a542a290b Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Piranha (P5100/P3100 Galaxy Tab 2.0 tablets) supportPaul Kocialkowski2013-03-066-1/+963
| | | | | Change-Id: Ie3d120723aeff044d127ff66e46ec9e7b5f476cc Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Merge pull request #4 from Jooles/masterSimon Busch2013-02-171-0/+10
|\ | | | | Added Spica support
| * Added spica (i5700) to available devices in Android.mkJulian Cromarty2013-02-141-0/+10
|/ | | | Change-Id: I7e20a28c0c7aa749e037721bbaf36125cde5cbba
* sec: RSIM access data structure when SIM ICC type != 1Paul Kocialkowski2013-02-091-1/+12
| | | | | Change-Id: I4580ffcc91486363dc50a1fca116991fda098e48 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* misc: Timezone value can be negative, use a signed char accordinglyPaul Kocialkowski2013-02-081-1/+1
| | | | | Change-Id: I8dc9fb1412df458eda38683580764490135df45f Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* sms: Correct memcpy argument (don't use a pointer to pointer)Paul Kocialkowski2013-01-301-1/+1
| | | | | Change-Id: I53bc70e83df6c50f64629abb2157cae28b6a0dea Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* sec: correct binary represetation of SIM access commandsSimon Busch2013-01-151-2/+6
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Misc: Correct the value for time info messagePaul Kocialkowski2012-12-161-1/+1
| | | | | Change-Id: Ia1dd301a339c34ac443fbc1da81e8d29b1f8f2a3 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Permit explicit board name instead of device namePaul Kocialkowski2012-12-152-16/+16
| | | | | Change-Id: I7ed51c0a35061daeaac302c8bac90a1c3b577e1d Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Aries: Stick a bit more with SEC ril, preventing some failuresPaul Kocialkowski2012-11-181-56/+54
| | | | | Change-Id: I54f069f32f85528176b8e06ac587d8948fae47f2 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ipc: reset client structure after allocation to zeroSimon Busch2012-11-141-0/+2
| | | | | | | | | When we're just allocating memory and do not care about the content of the allocated memory area we can head into cases where the internal parts of the structures are already set with a random value and then causes segfaults cause code peaces are trying to access invalid memory areas. Signed-off-by: Simon Busch <morphis@gravedo.de>
* Fix wrong device detection; we have to check for board_name instead of ↵Simon Busch2012-11-141-1/+1
| | | | | | device name Signed-off-by: Simon Busch <morphis@gravedo.de>
* Fix vapi errors due to ipc_sms_send_msg and ipc_sms_deliv_report_msg renames.Denis 'GNUtoo' Carikli2012-11-121-2/+2
| | | | | | | | Without that fix we have: smshandler.c:111:34: error: field 'ackmsg' has incomplete type smshandler.c:113:34: error: field '_tmp4_' has incomplete type Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* GPRS: Pass CID to activate/deactivate functionsPaul Kocialkowski2012-11-114-14/+25
| | | | | | | Aries: Use CID to activate/deactivate the corresponding iface Change-Id: Ifd153eda59404921bc6ea12d27f94d5aee7b06ff Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* SMS: Renamed structures according to messages names, build sms.cPaul Kocialkowski2012-11-015-15/+28
| | | | | Change-Id: I9e8d01ca8b0eb23d9ca2a2034c5bb9594f151e92 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* crespo: Kernel-version-dependant gprs specsPaul Kocialkowski2012-10-134-8/+48
| | | | | Change-Id: I208edeb3b9f8bdce4051b42d0ecda85259cf1d82 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Kernel version in IPC device desc, with detection codePaul Kocialkowski2012-10-133-12/+46
| | | | | Change-Id: Ica8dd604ddaff527436e9ba909ab7d22eda9a875 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Fix vapi errors due to ipc_net_current_plmn rename.Denis 'GNUtoo' Carikli2012-09-301-1/+1
| | | | | | | | Without that fix we have: mediators_network.c: In function 'samsung_network_get_status_real_run_co': mediators_network.c:1575:24: error: dereferencing pointer to incomplete type Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* Fix vapi errors due to ipc_net_regist rename.Denis 'GNUtoo' Carikli2012-09-301-1/+1
| | | | | | | | Without that fix we have many errors such as this one: mediators_network.c: In function 'samsung_network_get_status_real_run_co': mediators_network.c:1473:21: error: dereferencing pointer to incomplete type Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* Merge pull request #3 from GNUtoo/mastermorphis2012-09-301-2/+2
|\ | | | | Fix VAPI's ipc_net_{regist_setup,plmn_sel_setup} renames for fsogsmd
| * Fix VAPI's ipc_net_{regist_setup,plmn_sel_setup} renames for fsogsmdDenis 'GNUtoo' Carikli2012-09-301-2/+2
|/ | | | | | | | | | | Without that fix fsogmsd fails to compile that way: mediators_network.c: In function 'samsung_network_register_real_run_co': mediators_network.c:711:2: warning: implicit declaration of function 'ipc_net_plmn_sel_setup' [-Wimplicit-function-declaration] And: mediators_network.c: In function 'samsung_network_get_status_real_run_co': mediators_network.c:1426:2: warning: implicit declaration of function 'ipc_net_regist_setup' [-Wimplicit-function-declaration] Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* samsung-ipc: cleanup to match common code styleSimon Busch2012-09-216-56/+50
|