aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc
Commit message (Collapse)AuthorAgeFilesLines
...
* aries: Read and write data in proper buffer-sized chunksPaul Kocialkowski2014-01-232-33/+109
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Samsung Galaxy Note 2 N7100 supportreplicant-4.2-0001Paul Kocialkowski2014-01-134-0/+471
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Device detection mechanism improvments and more constitant devices namingPaul Kocialkowski2014-01-136-174/+187
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* svc: Relevant messages and structures definitionsPaul Kocialkowski2013-08-251-0/+18
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Samsung Galaxy S3 (galaxys3) supportPaul Kocialkowski2013-07-035-2/+485
| | | | | Change-Id: If37a94d07129c37b8e4f647b479552dc60de90a3 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* xmm6260: Correct SEC modem ohci sysfs pathPaul Kocialkowski2013-07-031-1/+1
| | | | | Change-Id: Ia2ea23455b497117452b795336393428c7fa863d Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ipc devices: Include structures definitions from devices headersPaul Kocialkowski2013-07-036-35/+36
| | | | | Change-Id: I5a5efc12e72b8026bfc779aef89e2227eea5d23c Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Rename ipc_header to ipc_fmt_header, add ipc_rfs_header and utility functionsPaul Kocialkowski2013-07-035-334/+91
| | | | | Change-Id: I4559319bd4c56a5994f2966fa3b853429ccc921a Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* util: Rename block_size to chunkPaul Kocialkowski2013-07-031-3/+3
| | | | | Change-Id: Icbc6cbe057e9efcc0040540e24e70a967d632ce0 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Remove file read functions from ipc_utilPaul Kocialkowski2013-07-032-93/+0
| | | | | Change-Id: I24fcb86335ce2676fa5d88e6298aa002b7257bfe Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* rfs.c: Fix coding style and compilation warningsPaul Kocialkowski2013-07-031-31/+29
| | | | | Change-Id: I00d93d54e5b9bc645c65a9bd72fb0b6edae822ad Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ipc.c: Check heandlers data create/destroy pointersPaul Kocialkowski2013-07-031-2/+4
| | | | | Change-Id: I34cc6af9596500d4daf035250b4c25639e813b51 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* aries: Minor coding-style-related changesPaul Kocialkowski2013-07-031-31/+56
| | | | | Change-Id: I31e8020ea6c0e5a546a7acbf99284046d9cbdb7f 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: Minor coding-style-related changesPaul Kocialkowski2013-07-031-7/+7
| | | | | Change-Id: I38ad147a9bef00fea50ad1259bbc7d1f1e1980f8 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Major rework of xmm6260 common code (MIPI and HSIC) and xmm6260 devices codePaul Kocialkowski2013-07-0330-3739/+3548
| | | | | Change-Id: I49fba6329824e1f1ab0aceef91a57f75727a41ab Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* xmm6160: Rename modem_image to firmware to avoid confusionPaul Kocialkowski2013-07-014-17/+17
| | | | | Change-Id: I82bd09250192c47e3a5f43ead4bce2a899e484b4 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* xmm6160: Explicit PSI data argument namePaul Kocialkowski2013-07-012-4/+4
| | | | | Change-Id: Ie791289243ea9d359f143ad76f444dad89258efc Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* xmm6160: Use device-specific sizes and offsetsPaul Kocialkowski2013-06-306-32/+43
| | | | | Change-Id: Ia9d4736497cd0e5fe240f9474916b29e0343dd3a Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Prefix per-device headers definitions with the device namePaul Kocialkowski2013-06-306-158/+159
| | | | | 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-3010-920/+842
| | | | | Change-Id: Id78c7ce62bf5b9b875b6bc3dd53e6bf21fa36c95 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* New utilities (not exposed by the API) for various I/O and ipc fill functionsPaul Kocialkowski2013-06-284-1/+351
| | | | | 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>
* 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>