Commit Graph

418 Commits

Author SHA1 Message Date
Jeevaka Badrappan e4ef929aee atmodem: fix memory leak 2011-01-29 12:43:17 -06:00
Marcel Holtmann 1973805069 atmodem: The Gobi devices don't support SMS ACK PDUs either 2011-01-29 18:39:37 +01:00
Jeevaka Badrappan 4258fb5915 atmodem: remove NULL check 2011-01-29 18:39:37 +01:00
Jeevaka Badrappan ac20890cc9 atutil: use g_new0 for callback data memory 2011-01-29 18:39:37 +01:00
Marcel Holtmann 938e635ae6 atmodem: Add Sierra vendor quirk for SIM file reading 2011-01-27 15:49:32 +01:00
Marcel Holtmann 141c18dd03 atmodem: Add vendor entry for Sierra Wireless 2011-01-27 15:47:16 +01:00
Jeevaka Badrappan 12c3cf6969 voicecall: remove ofono_cug_option 2011-01-26 16:38:15 -06:00
Lucas De Marchi b7fca84c93 atmodem: rename parameter according to header 2011-01-26 18:23:38 +01:00
Marcel Holtmann 89c4ea6130 atmodem: Add support for technology reporting via CNTI 2011-01-22 15:03:12 +01:00
Marcel Holtmann 62686f7719 atmodem: Add support for Gobi technology change handling 2011-01-22 13:12:15 +01:00
Marcel Holtmann ef0b594dfc atmodem: The Gobi devices have CI and LAC as unqouted strings 2011-01-22 12:37:19 +01:00
Marcel Holtmann 66032172ef atmodem: Use Qualcomm Gobi quirks for SMS, CBS and USSD 2011-01-22 11:36:43 +01:00
Marcel Holtmann b7739919f8 atmodem: Use switch statements for USSD vendor quirks 2011-01-22 11:27:53 +01:00
Marcel Holtmann 2253222069 atmodem: Use switch statements for CBS vendor quirks 2011-01-22 11:23:22 +01:00
Marcel Holtmann 503e5e0321 atmodem: Use switch statements for SMS vendor quirks 2011-01-22 11:20:10 +01:00
Marcel Holtmann ec0f0c2a68 atmodem: Add quirk for Qualcomm Gobi modems 2011-01-22 11:09:31 +01:00
Andrzej Zaborowski 03b294d194 sim-auth: Add atmodem driver 2011-01-20 11:20:57 -06:00
Aki Niemi 56b428dcd5 atmodem: Remove deregister implementation 2011-01-20 09:55:23 -06:00
Marcel Holtmann 63fd483fc9 atmodem: Always listen for bearer notifications 2011-01-20 12:13:17 +01:00
Rémi Denis-Courmont e3f51d7507 atmodem: packet switch bearer support 2011-01-20 12:10:32 +01:00
Denis Kenzior 58f223da5f sim: Add a missing break statement just in case 2011-01-19 14:57:12 -06:00
Jeevaka Badrappan 508b93eecb atmodem: add ifx support for pin retry count 2011-01-19 14:57:12 -06:00
Denis Kenzior 16929cc978 voicecall: Be more explicit when copying structs 2011-01-18 16:09:28 -06:00
Lucas De Marchi 2c79277073 atmodem: add cdip to voicecall 2011-01-18 16:09:28 -06:00
Lucas De Marchi 700550e2f3 atmodem: add cdip to call-settings 2011-01-18 16:09:27 -06:00
Jeevaka Badrappan 3ae5e46b69 atmodem: fix signal strength issue with ifx 2011-01-18 16:05:29 +01:00
Jeevaka Badrappan d9ae1405f3 atmodem: coding style fix 2011-01-18 15:55:41 +01:00
Jeevaka Badrappan cfdad1d377 atutil: remove unused mpty 2011-01-13 12:31:54 -06:00
Rémi Denis-Courmont bcfd049853 atmodem: fix +COLR parsing
AT+COLR does not have a local presentation mode and thus it cannot be
factored with the other commands.

This partially reverts commit f2baa88d75.
2011-01-13 10:31:54 -06:00
Denis Kenzior febb9014ca atutil: Break out attribute parser into atutil 2011-01-12 23:53:38 -06:00
Jeevaka Badrappan b97676acc3 atmodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Marcel Holtmann 4bab8d3ad3 atmodem: Use switch statement for vendor quirks 2011-01-10 15:35:39 -08:00
Denis Kenzior 94c104b25f sim: Fix missing return in the atmodem driver
In some circumstances it was possible to call the callback with both
failure and success
2011-01-10 16:21:16 -06:00
Denis Kenzior 55d47dcac1 sim: Prefer not using _ prefix for style reasons 2011-01-10 16:14:50 -06:00
Lucas De Marchi 5dfd568a2a atmodem: implement query for remaining pin retries
Implement query method for the remaining pin retries on huawei modem.
2011-01-10 16:08:55 -06:00
Lucas De Marchi 45f2576bb6 atmodem: check for VENDOR_HUAWEI on sim atom 2011-01-10 15:38:29 -06:00
Marcel Holtmann 39599b9106 netreg: Report timezone updates if available 2010-12-26 11:47:32 -08:00
Denis Kenzior b68fb125b8 atmodem: Always poll clcc, even if cring + clip
Even in the case of CRING and CLIP being used, we should start a CLCC
poll.  This is because we must still rely on polling CLCC to detect when
an incoming call has been terminated by the remote side.
2010-12-16 18:40:19 -06:00
Denis Kenzior 3254e5e99f atmodem: Fix reporting of CLIP
When RING & CLCC polling is used, the CLIP will not be reported
correctly if the CLIP: notification does not arrive
2010-12-16 18:40:19 -06:00
Denis Kenzior 0597b3501a atmodem: Do not re-parse CLIP / CNAP
These needs to be parsed once and not parsed unnecessarily once the
information has been recorded
2010-12-16 18:40:19 -06:00
Denis Kenzior a1bf26f15d atmodem: Set cnap validity to not provided 2010-12-16 18:40:19 -06:00
Denis Kenzior f2baa88d75 atmodem: Unify COLR/CNAP/CLIP/COLP parser 2010-12-16 18:40:19 -06:00
Denis Kenzior f46e0fb73b atmodem: Fix parsing of CNAP status 2010-12-16 18:40:18 -06:00
Gustavo F. Padovan b01d8f5bf7 atmodem: add CNAP to call-settings 2010-12-16 18:40:18 -06:00
Gustavo F. Padovan f28f0b3dea atmodem: Add CNAP parsing to voicecall 2010-12-16 18:40:18 -06:00
Denis Kenzior 0512a6b740 atutil: Fix parsing of un-quoted CREG / CGREG
On broken hardware like the Huawei, it is possible to receive both an
unsolicited and a solicited version of the CREG / CGREG within within
the same response set.  Skipping of the unsolicited version was not
handled correctly.  This attempts to fix this issue.
2010-12-11 11:39:07 -06:00
Gustavo F. Padovan 5ca42255c5 atmodem: use macros for CLIP validity 2010-12-10 12:59:26 -06:00
Gustavo F. Padovan 8dec9a989b atmodem: cleanup DBG messages 2010-12-10 12:58:12 -06:00
Gustavo F. Padovan 169651314e atmodem: fix DBG message 2010-12-02 08:15:04 -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