aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of wakelocks, this should be dealt with on the upper layersPaul Kocialkowski2013-06-274-94/+0
| | | | | Change-Id: Iae3a43bc3019ee2bfdfc4ee3e3b2194b099372bc Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Rework handlers and ipc functions for better consistencyPaul Kocialkowski2013-06-2717-756/+672
| | | | | | | | | | | | | | | | | | | | 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-261-22/+5
| | | | | Change-Id: I480b2496dabfada37e1ce60ab20401adf02b2e01 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-257-24/+41
| | | | | Change-Id: Ie393301a04523816e7aa674e57a4c3a2eb93247e Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Refactor code for consistent coding style and avoid using assertPaul Kocialkowski2013-06-2514-106/+117
| | | | | 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>
* Moved radio.h and types.h to samsung-ipc.h (API) and protocol.h (IPC protocol).Paul Kocialkowski2013-06-2517-18/+18
| | | | | | | Also some minor headers cosmetics. Change-Id: Id2b988b118d956e91827b9b840e3f384424593ae Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Drop (incomplete) support for Samsung H1Paul Kocialkowski2013-06-253-343/+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-251-2/+0
| | | | | | | Also refactor headers: values aligned to 16x4 spaces and other cosmetics Change-Id: I5a6f2c2471599c88c4be74591117d0ab2dfaaddf Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* 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-231-0/+1
| | | | 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>
* 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-065-0/+940
| | | | | Change-Id: Ie3d120723aeff044d127ff66e46ec9e7b5f476cc 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>
* Permit explicit board name instead of device namePaul Kocialkowski2012-12-151-10/+10
| | | | | 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>
* GPRS: Pass CID to activate/deactivate functionsPaul Kocialkowski2012-11-113-12/+23
| | | | | | | 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-012-4/+5
| | | | | 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>
* samsung-ipc: cleanup to match common code styleSimon Busch2012-09-216-56/+50
|
* maguro: cleanup code to match common code styleSimon Busch2012-09-212-41/+36
|
* xmm6260: cleanup code a bit to match common code styleSimon Busch2012-09-214-63/+53
|
* switch to GPLv2+ as license as decided by all authors per mailSimon Busch2012-09-2132-32/+32
|
* ipc: don't set a default log handler; should be set only on demandSimon Busch2012-09-201-2/+0
|
* ipc: fix gprs_get_iface functionsPaul Kocialkowski2012-09-104-10/+12
| | | | | Change-Id: Idea112725ca55ea341d11055a332b1c8625e614c Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* call: fix retrieval of the number of a callSimon Busch2012-09-091-5/+6
|
* ipc: refactor ipc_client_gprs_get_iface method to return iface name instead ↵Simon Busch2012-09-096-19/+18
| | | | | | | of using a parameter Allocating memory and setting a pointer to it for the user via a parameter is kind of unnecessary. It's better to return the pointer instead.
* sec: add setup method for ipc_sec_change_locking_pw_set message typeSimon Busch2012-09-091-0/+18
|
* sec: add setup method for ipc_sec_phone_lock_set message typeSimon Busch2012-09-091-0/+13
|
* Aries: Use new IPC open/close definitionsPaul Kocialkowski2012-09-071-4/+5
| | | | | Change-Id: I348c615371bcc24796ea0b7ea33a32eab23709c4 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* net: renaming some parts to be more reasonableSimon Busch2012-08-301-2/+2
|
* sec: rename IPC_SEC_PIN_STATUS to IPC_SEC_SIM_STATUSSimon Busch2012-08-291-1/+1
|
* sec: refactor type naming to be clean and not misleadingSimon Busch2012-08-291-0/+10
|
* Reformat log output for received/sent messagesSimon Busch2012-08-281-4/+4
|
* xm6269: drop log statement as it fills up the log output unnecessarilySimon Busch2012-08-281-1/+0
|
* Use correct helper method to print request typeSimon Busch2012-08-281-1/+1
|
* maguro: try to load radio image from more than on source pathSimon Busch2012-08-272-6/+17
|
* Make everything compile again after last mergeSimon Busch2012-08-271-0/+1
|
* Merge remote-tracking branch 'astarasikov/merge-24-aug'Simon Busch2012-08-279-47/+135
|\ | | | | | | | | Conflicts: include/Makefile.am
| * maguro: replace constant with mask for boot replyAlexander Tarasikov2012-08-262-2/+2
| |
| * Revert "Add a delay to maguro fw loader to work around buggy init"Alexander Tarasikov2012-08-261-2/+0
| | | | | | | | | | The real cause of call failure was samsung-ril-client This delay is not needed
| * Merge branch 'morphis-master' into tuna-trackingAlexander Tarasikov2012-08-2514-170/+365
| |\