Commit Graph

16 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
Marcel Holtmann 4e77afffb3 drivers: Update copyright information 2011-10-10 13:39:48 -07:00
Jeevaka Badrappan c65903bddd ifxmodem: add support for user_confirmation in stk 2011-07-15 11:09:04 -05:00
Jeevaka Badrappan 52e46e42ff ifxmodem: remove NULL check 2011-01-29 18:39:37 +01:00
Jeevaka Badrappan d8f7f53096 ifxmodem: change AT command for enabling SATK 2011-01-14 01:18:58 +01:00
Jeevaka Badrappan e7367d7ae1 ifxmodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Lucas De Marchi b82a7f8511 drivers: explicitly compare pointers to NULL
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>
2010-11-29 11:37:09 -06:00
Denis Kenzior f07b326090 ifxmodem: Notify core about handled commands 2010-10-27 12:25:53 -05:00
Marcel Holtmann f2ab189b6e ifxmodem: Signal STK session end only after normal ending of command
The Infineon modem returns more detailed information of the SIM Toolkit
proactive sessions to the modem driver. A proactive session starts with
the status response '91 xx' (proactive command pending) and ends with a
status response response of '90 00' (normal ending of command) after
Terminal Response.

So only when receiving '90 00' result, the indication that the session
has ended should be given to the core.
2010-10-20 12:01:25 +02:00
Marcel Holtmann fd74feac0d ifxmodem: Fix missing result iter init call for SIM Toolkit 2010-10-19 12:16:13 +02:00
Marcel Holtmann 19c1b9cbf6 ifxmodem: Enable SIM Toolkit with AT+CFUN=6
The current Infineon firmware overloads the AT+CFUN command with
enabling SIM Toolkit and fetching of proactive commands. It seems
to be safe to send this command in offline mode (AT+CFUN=4) and
also in online mode (AT+CFUN=1). These are the two cases where
SIM Toolkit atom would be initialized.
2010-10-19 11:56:45 +02:00
Marcel Holtmann dd0ff9310d ifxmodem: Make SIM Toolkit envelope submission work 2010-09-26 21:47:19 +09:00
Marcel Holtmann 66ee45eb53 ifxmodem: Fix whitespace corruption 2010-09-24 01:32:21 +09:00
Marcel Holtmann adf2ffd38b ifxmodem: Add debug for envelope response data 2010-09-24 01:13:22 +09:00
Marcel Holtmann 27676eea77 ifxmodem: Add support for SIM Toolkit (raw mode) 2010-09-24 00:59:13 +09:00