Commit Graph

79 Commits

Author SHA1 Message Date
Denis Kenzior 86e64128fa ifxmodem: Remove atom if driver fails to init 2012-03-26 16:50:46 -05:00
Marcel Holtmann e5c966ce53 ifxmodem: Add support for dynamic DNS for IPv6 and dual mode contexts 2012-02-10 12:02:42 +01:00
Marcel Holtmann 5c5eff0b5b ifxmodem: Add support for IPv6 and dual mode contexts 2012-02-10 11:45:34 +01:00
Marcel Holtmann 25bde3be6b ifxmodem: Remove audio settings mode handling
With the current updated setup, the audio settings mode is no longer
provided. So don't bother even trying to configure it.
2012-02-10 10:04:34 +01:00
Marcel Holtmann b88a621528 ifxmodem: Remove another usage g_utf8_validate 2012-02-10 09:42:54 +01:00
Denis Kenzior 9d666ccce0 ifx: Don't use g_utf8_validate
Emergency Numbers can only be digits, so there's no point to use the
'Hammer of Thor' that is g_utf8_validate when a much simpler function
will do the job just as well.
2012-02-10 00:38:37 -06:00
Denis Kenzior 7e42c5bbb0 ifx: Modify XLEMA behavior
XLEMA reports emergency numbers that are hardcoded (e.g. 112 and 911)
and that are already read from EFecc.  The additional emergency numbers
we are interested in should only come from the NVM or the network NITZ
update.
2012-02-09 22:34:02 -06:00
Marcel Holtmann cfdc96186e ifxmodem: Handle malformed emergency numbers
This might be either a modem firmware bug or the SIM card is provisioned
really badly, but the last entry contains garbage characters.

ofonod[20620]: Voice: < \r\n+XLEMA: 1,9,"112",,1\r\n\r\n+XLEMA: 2,9,"911",,1\r\n\r\n+XLEMA: 3,9,"000",57,1\r\n\r\n+XLEMA: 4,9,"08",49,1\r\n\r\n+XLEMA: 5,9,"112",49,1\r\n\r\n+XLEMA: 6,9,"118",0,1\r\n\r\n+XLEMA: 7,9,"119",0,1\r\n\r\n+XLEMA: 8,9,"911",0,1\r\n\r\n+XLEMA: 9,9,"999\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377",0,1\r\n

Fix this by just validating the string and cutting off once an invalid
character is found.
2012-02-10 02:15:16 +01:00
Denis Kenzior d5bdd1f741 ifx: Add necessary incantations for audio 2012-02-09 08:36:18 -06: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
Denis Kenzior a60c4df143 ifxmodem: Remove unneeded code 2011-06-06 18:06:10 -05:00
Denis Kenzior 1aaa5da906 ifxmodem: Fix minor style issue 2011-06-06 18:04:26 -05:00
Jeevaka Badrappan 377a512375 ifxmodem: emergency number list support 2011-06-06 17:57:58 -05:00
Mika Liljeberg cbda267674 ifxmodem: update to new gprs context interface 2011-03-15 17:11:59 -05:00
Jeevaka Badrappan fdebfa0b21 ifxmodem: fix issue in set rat mode 2011-02-11 11:43:54 -08:00
Jeevaka Badrappan 0930de9319 ifxmodem: add CNAP support 2011-02-11 11:21:12 -06:00
Jeevaka Badrappan 67f41014de ifxmodem: move call creation to xcallstat_notify 2011-02-08 11:52:38 -06:00
Jeevaka Badrappan 09780386d8 ifxmodem: remove colp handling done inside atd_cb 2011-02-07 16:56:53 -06:00
Jeevaka Badrappan 9e944f550c ifxmodem: add handling of XCOLP notification 2011-02-07 16:55:33 -06:00
Jeevaka Badrappan 2037f5515c ifxmodem: fix issue with gatchat usage 2011-02-07 15:40:53 -06:00
Jeevaka Badrappan 021e8836b8 ifxmodem: M16 coding style fix 2011-02-05 07:04:53 -08:00
Jeevaka Badrappan b4c8d107ad ifxmodem: Use defined call_status enum 2011-02-05 05:09:09 -08:00
Jeevaka Badrappan 8453b2680e ifxmodem: fix xtms read and test cmd prefix
with the latest modem firmware, xctms prefix
is returned as per the 3GPP format.
2011-02-04 14:54:31 +01:00
Lucas De Marchi 641a6d98be ifxmodem: use ofono_call initializer 2011-02-01 18:31:36 +01:00
Jeevaka Badrappan 52e46e42ff ifxmodem: remove NULL check 2011-01-29 18:39:37 +01:00
Jeevaka Badrappan 12c3cf6969 voicecall: remove ofono_cug_option 2011-01-26 16:38:15 -06:00
Jeevaka Badrappan d8f7f53096 ifxmodem: change AT command for enabling SATK 2011-01-14 01:18:58 +01:00
Jeevaka Badrappan d0f0e99f47 ifxmodem: add enable/disable ctm support 2011-01-14 01:16:33 +01:00
Jeevaka Badrappan e7367d7ae1 ifxmodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Denis Kenzior c37f155478 ifx: Take out unused defines 2010-12-16 18:40:18 -06: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
Marcel Holtmann cada693dc8 ifxmodem: Enable emergency call state notifications
This enables the Infineon specific emergency call state notifications so
that they show up in the traces when this happens. No logic to handle
them properly is implemented.
2010-10-29 13:56:09 +02:00
Marcel Holtmann b433249763 ifxmodem: Enable Calling Name Presentation (CNAP) notifications
This enables the CNAP notifications so that they show up in the traces
if used by a network. No logic is implemented to handle them.
2010-10-28 18:10:15 +02:00
Denis Kenzior f07b326090 ifxmodem: Notify core about handled commands 2010-10-27 12:25:53 -05:00
Marcel Holtmann 0de74b6edb ifxmodem: Fix handling of radio access mode enum 2010-10-27 11:06:05 +02:00
Marcel Holtmann 9eb88496ac ifxmodem: Add full set of GPRS context debug statements 2010-10-27 01:31:54 +02:00
Marcel Holtmann 21a7e11e7f ifxmodem: Add some more GPRS context debug statements 2010-10-27 01:25:56 +02:00
Marcel Holtmann 21a6a00646 ifxmodem: Add support GPRS contexts with username and password 2010-10-26 22:50:00 +02:00
Marcel Holtmann 3477a9c9e9 ifxmodem: Fix GPRS disconnect handling from network side 2010-10-26 14:43:49 +02:00
Marcel Holtmann 125519ccbb ifxmodem: Fix handling of AT+XDNS with multiple contexts 2010-10-25 22:51:09 +02:00
Marcel Holtmann df2d0dc805 ifxmodem: Use g_try_new0 when checking for the result 2010-10-22 00:21:06 +02:00
Marcel Holtmann f0175ba3fc ifxmodem: Fix compiler warnings in GPRS context driver 2010-10-21 23:54:53 +02:00
Marcel Holtmann 655f1b74d3 ifxmodem: Add support for Infineon GPRS context setup with M-RAW_IP
This patch adds support for setting up a GPRS context and then switching
it into M-RAW_IP mode. The handling of the M-RAW_IP data stream is not
yet implemented.
2010-10-21 21:50:52 +02:00
Marcel Holtmann 9bdc2b0a43 ifxmodem: Add skeleton for Infineon specific GPRS context driver 2010-10-21 19:44:28 +02: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 b7fbef011b ifxmodem: Send DTMF commands without quotes
The AT+VTS command takes a single character and should not use quotes.
2010-10-13 08:24:13 +03:00
Marcel Holtmann b7f6b1c997 ifxmodem: Notify about audio settings mode 2010-10-01 07:29:53 +02:00