Commit Graph

19 Commits

Author SHA1 Message Date
Jonas Bonn 3beeff758d treewide: Remove superfluous use of _GNU_SOURCE
There are a large number of files in the tree that define _GNU_SOURCE
despite not actually using features hidden behind this flag.  This patch
removes all these definitions in one fell swoop...
2018-10-17 10:01:57 -05:00
Jonas Bonn 67701b1c40 drivers: constify vtables
The driver vtables are read-only structures.  This patch declares them as
'const' allowing the compiler to (optionally) put them in the RELRO
section.  RELRO pages may be marked as read-only by the linker after
the relocations have been done ensuring that they aren't inadvertently
or maliciously altered at runtime.
2018-10-17 09:56:27 -05:00
John Ernberg 397102bdc5 rilmodem: Use g_slist_free_full 2016-04-22 15:21:39 -05:00
Denis Kenzior dae1073f13 rilmodem: Don't include grilunsol.h 2015-12-04 13:43:58 -06:00
Denis Kenzior fcde83dcbf rilmodem: Don't include grilreply.h 2015-12-03 11:41:10 -06:00
Denis Kenzior 69f6a77d78 rilmodem: use g_new0 instead of g_try_new0 2015-12-03 11:38:36 -06:00
Denis Kenzior 5ea2800800 rilmodem: Implement clcc_poll_cb inline 2015-12-03 11:38:04 -06:00
Denis Kenzior 194003912d rilmodem: Don't include grilrequest.h 2015-12-03 10:20:44 -06:00
Denis Kenzior 3e58f7722f rilmodem: Implement lastcause_cb inline 2015-11-12 14:22:36 -06:00
Denis Kenzior c5c6620aa2 rilmodem: Implement ril_ss_notify inline 2015-11-12 14:15:17 -06:00
Denis Kenzior 88f507c1ac rilmodem: Implement dial inline 2015-11-12 14:01:23 -06:00
Denis Kenzior a453157f94 rilmodem: Implement hangups inline 2015-11-12 13:58:15 -06:00
Denis Kenzior 4cbc608e9e rilmodem: Implement send_one_dtmf inline 2015-11-12 13:42:41 -06:00
Denis Kenzior e696d87f34 rilmodem: Implement ril_private_chat inline 2015-11-12 13:27:35 -06:00
Denis Kenzior 5ba7127b10 rilmodem: Implement enable_supp_svc inline 2015-11-12 13:22:25 -06:00
Denis Kenzior 0b23b2b74b rilmodem: Get rid of ril_voicecall_driver_data 2015-11-12 13:17:55 -06:00
Denis Kenzior d351e3ac03 voicecall: Remove redundant comment 2015-11-12 13:17:55 -06:00
Denis Kenzior e3ee401d72 rilmodem: Remove auto-answering logic
This was only used for testing at the factory for a specific product.
Does not belong in the driver code.
2015-11-12 13:17:52 -06:00
Tony Espy e918a6b222 rilmodem: driver for Android modems
Driver for modems that are accessed through the Android Radio Interface
Layer (RIL) for telephony, using the gril library. The driver is almost
feature complete with some exceptions, being CBS and SAT the most
prominent.

Co-authored-by: Tony Espy <espy@canonical.com>
Co-authored-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
Co-authored-by: Alfonso Sanchez-Beato <alfonso.sanchez-beato@canonical.com>
Co-authored-by: Islam Amer <islam.amer@jollamobile.com>
Co-authored-by: Jussi Kangas <jussi.kangas@tieto.com>
Co-authored-by: Juho Hämäläinen <juho.hamalainen@tieto.com>
Co-authored-by: Petri Takalokastari <petri.takalokastari@oss.tieto.com>
Co-authored-by: Jarko Poutiainen <Jarko.Poutiainen@oss.tieto.com>
Co-authored-by: Tommi Kenakkala <tommi.kenakkala@oss.tieto.com>
Co-authored-by: Miia Leinonen <miia.leinonen@oss.tieto.com>
Co-authored-by: Martti Piirainen <martti.piirainen@canonical.com>
Co-authored-by: You-Sheng Yang <vicamo.yang@canonical.com>
2015-10-13 17:38:45 -05:00