aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* samsung-ipc: make #include relative to samsung-ipc/Denis 'GNUtoo' Carikli2020-07-221-3/+0
| | | | | | | | | | | | | | This has several advantages: - It makes the header context more obvious: #include "xmm626.h" could mislead people into thinking that the xmm626.h header is in the same directory than the file using that directive, while it is instead in another location. This in turn could make people suppose that there is a "xmm626.h" header specific to the galaxys2 driver. Instead the #include "modems/xmm616/xmm616.h" directive is much more clear. - We can have two headers with the same filename. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* modem: rename xmm626_sec_modem to xmm626_kernel_smdk4412Denis 'GNUtoo' Carikli2020-02-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The XMM626 is the modem model, and SEC is a reference to Samsung Electronics. However, in practice the xmm626_sec_modem file and functions are tied to a specific kernel interface which is not upstream. In CyanogenMod, LineageOS and Replicant (up to the 6.0 version), most of the devices supported by libsamsung-ipc use a kernel named android_kernel_samsung_smdk4412, which implements this interface. So it is more clear to use a name that reflects that instead of using the generic xmm626_sec_modem name. Even if SMDK4412 is also a Samsung evaluation board for the Exynos 4412 System on a chip, the kernel name is probably way more known to people working on supporting devices with an XMM626 modem in libsamsung-ipc. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* modems: xmm626: includes: add xmm626 prefixDenis 'GNUtoo' Carikli2020-02-081-3/+3
| | | | | | | This makes it more clear that the headers are specific to the xmm626 modem. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* ipc_devices.c: move it in the devices directoryDenis 'GNUtoo' Carikli2020-01-301-2/+3
| | | | | | | | As the various devices are in devices/, it also makes sense to move there the structs that define which device specific implementation to use. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* modems: move them in their own directoryDenis 'GNUtoo' Carikli2020-01-301-15/+15
| | | | | | | This improve clarity as devices typically refers to the smartphones and tablets but not the modems. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* add support for n5100Wolfgang Wiedmeyer2019-06-181-0/+2
| | | | | | | Code is mirrored from n7100 device support. Only the radio image path is different. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* svc: HelpersPaul Kocialkowski2014-07-271-0/+1
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* utils: Shared libraries don't allow for internal functionsPaul Kocialkowski2014-07-261-1/+0
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Generic xmm616 and xmm626 namesPaul Kocialkowski2014-05-161-15/+15
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ipc: Consistent coding style and major cleanupPaul Kocialkowski2014-02-151-15/+15
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* utils: Files rename, new functions, proper types and few other cleanupsPaul Kocialkowski2014-02-131-2/+2
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* devices folder instead of device, for better consistencyPaul Kocialkowski2014-02-081-32/+32
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Correct enumeration of files and devicesPaul Kocialkowski2014-02-081-18/+19
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Samsung Galaxy S3 (galaxys3) supportPaul Kocialkowski2013-07-031-0/+2
| | | | | Change-Id: If37a94d07129c37b8e4f647b479552dc60de90a3 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Major rework of xmm6260 common code (MIPI and HSIC) and xmm6260 devices codePaul Kocialkowski2013-07-031-18/+19
| | | | | Change-Id: I49fba6329824e1f1ab0aceef91a57f75727a41ab Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Split aries and crespo common code to xmm6160, along with major code reworkPaul Kocialkowski2013-06-301-0/+3
| | | | | 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-281-0/+2
| | | | | Change-Id: I0bd1d7781971f217903f307b5ac418180afc0d50 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Get rid of wakelocks, this should be dealt with on the upper layersPaul Kocialkowski2013-06-271-1/+0
| | | | | Change-Id: Iae3a43bc3019ee2bfdfc4ee3e3b2194b099372bc 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>
* 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>
* Rules to build piranha code on MakefilesPaul Kocialkowski2013-03-241-0/+3
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* SMS: Renamed structures according to messages names, build sms.cPaul Kocialkowski2012-11-011-0/+1
| | | | | Change-Id: I9e8d01ca8b0eb23d9ca2a2034c5bb9594f151e92 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Make wakelocks not crespo-specific and add for xmm6260Alexander Tarasikov2012-07-261-0/+1
|
* Removed deprecated util filesPaul Kocialkowski2012-07-051-1/+0
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* XMM6260: Split code into galaxys2, maguro and xmm2620 (shared code) devicesPaul Kocialkowski2012-07-051-8/+11
| | | | | | | | | | | | | | * Moved maguro and galaxys2 loaders to proper folders * Renamed i9100 to galaxys2 and i9250 to maguro * Device-specific ops, handlers, gprs_specs and nv_data_specs on XMM2620 devices though most data/functions are still shared in xmm2620_ipc * Removed radio_parts from modemctl_io_data * Moved CRC calculate function to xmm2620_loader * Moved io_helpers functions to xmm2620_loader * Listed include headers in each file instead of using common.h * Prefixed remaining xmm2620 files Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* XMM6260: Always use ipc log handler, also reduced log outputPaul Kocialkowski2012-07-051-2/+0
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Update firmware loader to the latest version, fix makefiles forAlexander Tarasikov2012-07-041-0/+12
| | | | maguro/galaxys2
* Define DEBUG when compiling with debugging enabledSimon Busch2012-02-231-1/+1
|
* Remove h1 relevant source files for now from MakefileSimon Busch2012-02-051-8/+2
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Update Makefile to distribute all necessary headers files and compile h1 ↵Simon Busch2012-02-041-0/+12
| | | | | | device support Signed-off-by: Simon Busch <morphis@gravedo.de>
* Modified ipc devices handling to use a table and permit explicit device namePaulK2012-02-031-0/+1
|
* Add aries device for compilation and register it's handlers on startupSimon Busch2012-01-301-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-01-301-3/+2
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Adjust to get everything compiling with autotools againSimon Busch2012-01-281-10/+1
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Moved nv_data functions and headers to rfs.c/rfs.h, plus some fixesPaulK2011-12-311-1/+1
|
* Added accuracy to crespo's struct ipc_gen_phone_res and added check functionPaulK2011-12-301-0/+1
|
* vapi: bind SMS structures and methodsSimon Busch2011-11-231-0/+1
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Add DEVICE_H1 or DEVICE_CRESPO as define to CFLAGSSimon Busch2011-10-301-0/+2
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* fix autotools setup to support the new device specific structureSimon Busch2011-10-291-2/+19
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Add setup method for call outgoing message and various cleanups for call ↵Simon Busch2011-10-271-0/+1
| | | | | | messages Signed-off-by: Simon Busch <morphis@gravedo.de>
* Implement several parts of known gprs messages typesSimon Busch2011-10-251-0/+1
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Various updates and correctionsSimon Busch2011-10-241-0/+1
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Add helper method to parse imsi from response dataSimon Busch2011-10-201-0/+1
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Rework API of this library to integrate better with other environments than ↵Simon Busch2011-10-101-1/+0
| | | | | | | | | | | | | | | | | Android * send/recv is now done outside this library; the user has to provide callbacks for send and recv * it's now possible to create more than one ipc client as every ipc API method needs an object of type ipc_client (which is the context it operates in) * there are now two different client types for the crespo machine: RFS and FMT * disabled h1 client for now * removed power on/off functionality; should be done by another userland component with handling the correct sysfs nodes rather than dealing with ioctls for this. * updated vala interface description file to reflect API changes * various source code cleanups Signed-off-by: Simon Busch <morphis@gravedo.de>
* Add openssl as dependencySimon Busch2011-10-031-0/+2
|
* Basic automake environment for building the librarySimon Busch2011-08-241-0/+22