Commit Graph

352 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
Giacinto Cifelli bd6f807849 drivers: support for auth NONE
Added the explicit support for auth NONE.
It needs to be added in all drivers/*/gprs-context.c atoms.

This method is already supported by all atoms that support
authentication (ie, all but Sierra' swmodem driver).

The behavior is left unchanged in case of inconsistent parameters:
if username is empty, then fallback to auth NONE.
2018-10-09 12:35:44 -05:00
Clayton Craft cbac15cdd9 isimodem: Use correct callback for pin status 2017-09-11 10:37:06 -05:00
Denis Kenzior 5d1702fa0e isi: Change query_locked to query_facility_lock 2016-04-27 11:13:33 -05:00
Denis Kenzior 7d5d131e99 isimodem: Remove unimplemented query_locked method 2016-04-27 11:06:52 -05:00
Kuba Pawlak 2d80a04a05 drivers/isimodem: fix GCC 6.0 errors
-Werror=misleading-indentation
2016-04-18 09:52:56 -05:00
Denis Kenzior d32c6451bd isi: Update UICC driver to the new API 2012-11-22 10:26:34 -06:00
Denis Kenzior 6451d012ec isimodem: Update sim driver to the new API 2012-11-22 10:26:34 -06:00
Denis Kenzior bddfb9bfc5 isimodem: Fix style issues in previous commit 2012-09-11 23:30:25 -05:00
Jarko Poutiainen dc2dc41bcf isimodem: voicecall answer fix for Nemo on N9
Voicecall answering in Mer/Nemomobile run on Nokia N9 will fail
unless call id is passed to modem.
2012-09-11 23:29:43 -05:00
Marcel Holtmann 3be98b5b97 isimodem: Avoid shadowing variables 2012-07-15 20:14:12 -03:00
Denis Kenzior b6588a9e9e sms: Constify isimodem driver submit method 2012-06-16 09:50:05 -05:00
Marcel Holtmann 6b0880f8a7 isimodem: Remove includes of <glib/gtypes.h> 2012-03-19 16:12:36 -07:00
Syam Sidhardhan 31db8836a6 isimodem: Remove extra bogus semicolon 2011-12-28 16:00:39 -06:00
Marcel Holtmann 48190bdc11 drivers: Some more copyright fixes 2011-10-15 12:21:30 -07:00
Marcel Holtmann 4e77afffb3 drivers: Update copyright information 2011-10-10 13:39:48 -07:00
Aki Niemi 059a5c80f7 isimodem: Add UICC functionality
Based on patches from:
Iiro Kaihlaniemi <iiro.kaihlaniemi@nokia.com>
Jessica Nilsson <jessica.j.nilsson@stericsson.com>
2011-08-29 14:32:45 +03:00
Iiro Kaihlaniemi 1542b6f928 isimodem: Add UICC utilities 2011-08-29 14:32:43 +03:00
Iiro Kaihlaniemi 5acb0a8d7e isimodem: Allow network registration automatically 2011-08-29 14:32:43 +03:00
Iiro Kaihlaniemi ee92dedf28 isimodem: Add missing codepoints and debugs 2011-08-29 14:32:42 +03:00
Aki Niemi 8cbb0252b4 isimodem: Add baseline for UICC driver 2011-06-17 17:04:34 +03:00
Aki Niemi 6f6f7f39e0 isimodem: Add missing codepoints and debugs 2011-06-17 16:44:51 +03:00
Aki Niemi bc8423d475 isimodem: Fix style in UICC definitions 2011-06-17 16:38:17 +03:00
Arun Ravindran 870905a62a isimodem: Improper handling of missed call 2011-06-14 11:27:13 +03:00
Aki Niemi 0b627c8e1e isimodem: Add SCA support to wgmodem2.5 driver 2011-04-14 15:30:24 +03:00
Aki Niemi 27046f9505 isimodem: Refactor sms driver 2011-04-14 15:30:23 +03:00
Aki Niemi 64100070c7 isimodem: Use constants where possible 2011-04-14 15:30:23 +03:00
Aki Niemi 57f8f3ef1d isimodem: Fix message sending in SMS driver
The same enum name SMS_ROUTE_DEFAULT has different constants in
different modem API versions. This was causing "invalid parameter"
errors with some modems.
2011-04-14 15:30:23 +03:00
Aki Niemi 5d7b355ca2 isimodem: Fix macro to be safer to use 2011-04-14 15:30:23 +03:00
Aki Niemi 6c8f1d059a isimodem: Add reahcbility check for CBS driver 2011-04-14 15:30:23 +03:00
Pekka Pessi 60918dd3f2 isimodem: fix call_create_resp handling
In case of call creation failure modem may return a valid call id in
order to send CALL_SERVICE_DENIED_IND which we do not handle.

Fixes MeeGo bug#15855.
2011-04-12 20:39:19 +03:00
Aki Niemi c33853ecf3 isimodem: Update SMS driver for wgmodem2.5
Based on patches from:
Jessica Nilsson <jessica.j.nilsson@stericsson.com>
2011-04-12 20:39:19 +03:00
Aki Niemi b62a01eae4 isimodem: Remove split voicecall driver
Only a single driver created, with two clients checked for
reachability in parallel.
2011-04-12 20:39:18 +03:00
Aki Niemi 74dbe2da99 isimodem: Add helper macros for 16/32bit values 2011-04-12 20:39:18 +03:00
Aki Niemi e17da972e2 isimodem: Rename resource debug macro 2011-04-12 20:39:18 +03:00
Aki Niemi 638b55f584 isimodem: Add helper macro for version checking 2011-04-12 20:39:18 +03:00
Aki Niemi 61df8b3474 isimodem: Indent and add missing codepoints
In addition, renaming some wgmodem2.5-specific subblocks so that they
use the same names as most recent on-line documentation.
2011-04-12 20:39:18 +03:00
Arun Ravindran b8b03a2da6 isimodem: Fix hangup for hold initiated calls 2011-04-07 11:01:29 +03:00
Arun Ravindran c2b3d39566 isimodem: Fix false reporting of active call state 2011-04-07 10:59:18 +03:00
Aki Niemi 9ddc98cd2f isimodem: Add missing PN_MODEM_* debugs 2011-04-07 10:45:55 +03:00
Aki Niemi b10750976e isimodem: Move common debugs to a single place 2011-04-07 10:44:58 +03:00
Aki Niemi a9fd4838a6 isimodem: Refactor netreg driver probing
Go back to using a single driver instance, with concurrent
reachability checks of both possible resources.
2011-04-07 09:40:07 +03:00
Aki Niemi 0308190eb6 isimodem: Add missing debugs to info resources 2011-04-07 09:35:10 +03:00
Mika Liljeberg fdc711c607 isimodem: fix operator name reading for old modems 2011-03-31 10:26:21 -05:00
Mika Liljeberg c9a5b5143c isimodem: remove atoms that fail to probe 2011-03-31 10:22:22 -05:00
Aki Niemi 28ab3db004 isimodem: Fix indentation in SIM driver 2011-03-24 14:56:48 +02:00
Pekka Pessi 2b857d068b isimodem/sim: added PIN and SIM state handling
Using PN_SECURITY resource to obtain PIN statuses.

Using ofono_sim_ready_notify() aka __ofono_sim_recheck_pin() to report
the ready state.
2011-03-24 14:51:16 +02:00
Mika Liljeberg 44ad041c27 isimodem: fix network registration for older modems 2011-03-24 14:43:53 +02:00
Mika Liljeberg cf334808be isimodem: IPv6 support 2011-03-15 17:11:58 -05:00