aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/device/crespo/crespo_ipc.c
Commit message (Collapse)AuthorAgeFilesLines
* devices folder instead of device, for better consistencyPaul Kocialkowski2014-02-081-559/+0
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* device: Buffer has length and tail is footerPaul Kocialkowski2014-01-261-2/+2
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Good-looking copyright blocks, with the right order in copyright linesPaul Kocialkowski2014-01-251-3/+2
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Rename ipc_header to ipc_fmt_header, add ipc_rfs_header and utility functionsPaul Kocialkowski2013-07-031-12/+12
| | | | | Change-Id: I4559319bd4c56a5994f2966fa3b853429ccc921a Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* crespo: Minor coding-style-related changesPaul Kocialkowski2013-07-031-6/+36
| | | | | Change-Id: Ia5f8ad45e97dd29bf9a0b7b8531966cedc11bf3a Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* xmm6160: Rename modem_image to firmware to avoid confusionPaul Kocialkowski2013-07-011-3/+3
| | | | | Change-Id: I82bd09250192c47e3a5f43ead4bce2a899e484b4 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* xmm6160: Use device-specific sizes and offsetsPaul Kocialkowski2013-06-301-3/+12
| | | | | Change-Id: Ia9d4736497cd0e5fe240f9474916b29e0343dd3a Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Prefix per-device headers definitions with the device namePaul Kocialkowski2013-06-301-44/+44
| | | | | Change-Id: I90362b4fe9ecb21fd09e27d4a15a43033ed7adaf Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Split aries and crespo common code to xmm6160, along with major code reworkPaul Kocialkowski2013-06-301-371/+181
| | | | | Change-Id: Id78c7ce62bf5b9b875b6bc3dd53e6bf21fa36c95 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Get rid of wakelocks, this should be dealt with on the upper layersPaul Kocialkowski2013-06-271-9/+0
| | | | | Change-Id: Iae3a43bc3019ee2bfdfc4ee3e3b2194b099372bc Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Rework handlers and ipc functions for better consistencyPaul Kocialkowski2013-06-271-136/+135
| | | | | | | | | | | | | | | | | | | | 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>
* Renamed ipc_private.h to ipc.hPaul Kocialkowski2013-06-251-1/+1
| | | | | 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-251-1/+1
| | | | | | | Also some minor headers cosmetics. Change-Id: Id2b988b118d956e91827b9b840e3f384424593ae Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* crespo: Kernel-version-dependant gprs specsPaul Kocialkowski2012-10-131-5/+33
| | | | | Change-Id: I208edeb3b9f8bdce4051b42d0ecda85259cf1d82 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* switch to GPLv2+ as license as decided by all authors per mailSimon Busch2012-09-211-1/+1
|
* ipc: fix gprs_get_iface functionsPaul Kocialkowski2012-09-101-3/+5
| | | | | Change-Id: Idea112725ca55ea341d11055a332b1c8625e614c Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ipc: refactor ipc_client_gprs_get_iface method to return iface name instead ↵Simon Busch2012-09-091-3/+3
| | | | | | | 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.
* Merge remote-tracking branch 'astarasikov/merge-24-aug'Simon Busch2012-08-271-31/+5
|\ | | | | | | | | Conflicts: include/Makefile.am
| * Merge tag 'tuna-stc-jb-v1' into morphis-masterAlexander Tarasikov2012-08-241-31/+5
| |\ | | | | | | | | | | | | Conflicts: samsung-ipc/device/maguro/maguro_loader.c
| | * Make wakelocks not crespo-specific and add for xmm6260Alexander Tarasikov2012-07-261-31/+5
| | |
* | | Add cmd field to ipc_message_info structure which will be prefilledSimon Busch2012-08-241-0/+1
|/ /
* | rfs: fix warnings about ignored return results from std. library functionsSimon Busch2012-08-091-2/+4
| |
* | crespo: fix all warnings regarding ignored return value from std. library ↵Simon Busch2012-08-091-27/+53
| | | | | | | | functions
* | Prefix method correctly with ipc_client_Simon Busch2012-08-081-3/+3
| |
* | Simplify open/close handler signatureSimon Busch2012-08-081-3/+2
| |
* | GPRS: Get interface name given the connection ID (cid)Paul Kocialkowski2012-07-081-2/+2
|/ | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* XMM6260/Crespo: Fixed common_data_set_fdPaul Kocialkowski2012-07-051-1/+1
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Removed device loop code (the upper layer must decide whether to loop or not)Paul Kocialkowski2012-07-051-23/+9
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Unified debug messages on send/recv with ipc_util functionsPaul Kocialkowski2012-07-051-44/+4
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Reworked nv_data handling in nv_data_specs, moved some functions to gprs_specsPaul Kocialkowski2012-07-041-15/+18
| | | | | | | | | | | | | | nv_data: * Reworked device-specific nv_data passthrough functions * Moved default values in rfs.h * Added more specific infos (size, chunk size, secret) * Applied to xmm6260 device gprs: * Moved non-io-related gprs handlers to gprs_specs * Applied to crespo, aries and xmm6260 devices Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Aries/Crespo: Added GPRS capabilities handlerPaul Kocialkowski2012-07-041-0/+11
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* GPRS interface name function for crespoPaulK2012-06-071-0/+9
| | | | Signed-off-by: PaulK <contact@paulk.fr>
* Adjust for recent changes to device creation structureSimon Busch2012-02-031-6/+0
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Register aries handlers on library initializationSimon Busch2012-02-031-1/+1
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Rework device specific code so we can build one library for all devices nowSimon Busch2012-02-031-3/+9
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Modified handlers with common handlers data and device-specific functionsPaulK2012-01-141-2/+59
|
* Moved nv_data functions and headers to rfs.c/rfs.h, plus some fixesPaulK2011-12-311-3/+2
|
* Set negative rc for errors, plus cosmeticsPaulK2011-12-301-21/+14
|
* Finished crespo RFS implementation and code cleanupPaulK2011-12-301-35/+66
|
* Added RFS headers and RECV function for crespoPaulK2011-12-251-9/+74
|
* Corrected wake_lock in crespoPaulK2011-11-211-7/+9
|
* Switched utility functions to ipc_utils (for client-side logging)PaulK2011-11-071-6/+7
|
* Switched crespo's nv_data functions to the client log handler instead of printfPaulK2011-11-061-3/+2
|
* Corrected wake_lock in crespo_ipc and split struct ipc_call_outgoingPaulK2011-10-311-8/+8
|
* Only print hexdump for messages when build in debug modeSimon Busch2011-10-301-1/+5
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Fixed IPC_PWR_PHONE_STATE (from SEC RIL logs) removed last SIMIO bits + ↵PaulK2011-10-301-3/+18
| | | | other stuff
* New handlers structure (a data pointer for each handler function)PaulK2011-10-291-32/+8
|
* Add vim modeline for uniform indentationSimon Busch2011-10-291-0/+2
| | | | | | | On IRC we agreed to use vim:ts=4:sw=4:expandtab as uniform indentation style for the library. Signed-off-by: Simon Busch <morphis@gravedo.de>
* Corrected Android.mk, crespo_ipc file, some headers and helpers.PaulK2011-10-281-13/+14
|
* replace ipc_request and ipc_response by a single struct ipc_message_infoJoerie de Gram2011-10-281-1/+1
|