Commit Graph

783 Commits

Author SHA1 Message Date
Denis Kenzior 26b68846a8 isi: Get rid of a pointless check in cf driver 2010-11-29 11:47:47 -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
Denis Kenzior ae2d960ec3 isi: Update radio-settings to use new API 2010-11-29 07:52:35 -06:00
Denis Kenzior 8f949a6d8c atmodem: Forgot to reset sms data on remove 2010-11-29 07:52:35 -06:00
Rémi Denis-Courmont 44c6918081 ste: Remove stray newlines in messages sent to log 2010-11-26 13:49:19 -06:00
Rémi Denis-Courmont 6a6f7bed3c isi: Remove stray newlines in messages sent to log 2010-11-26 13:48:41 -06:00
Sjur Brændeland a32965de27 stemodem: Change use of types
Use the type __u32 for sequence counting rather than guint32,
and "void *" instead of gpointer.
Reduce the size of RTNL message buffer from 4096 to 1024,
as this should be sufficient to hold the NEWLINK message.
2010-11-23 03:06:34 -06:00
Denis Kenzior 7cde43b4b6 call-settings: Add support for +COLR in atmodem 2010-11-22 16:48:45 -06:00
Pekka Pessi f3c75c9285 isi/voicecall: release COMING calls with BUSY cause
Very early incoming calls were not released with BUSY cause.
2010-11-22 08:19:38 -06:00
Sjur Brændeland 2f9af8c105 stemodem: Fix for error handling, memleak and changed some defines
* renamed MAX_LEN to IP_ADDR_LEN
* removed memory leak from unneeded strdup when parsing xml response.
* better handling of AT error responses
* reduced number of caif interfaces to 4
2010-11-13 10:30:43 +09:00
Marcel Holtmann 4a82cb0233 stemodem: Fix various coding style and logic issues with RTNL support 2010-11-13 10:26:07 +09:00
Sjur Brændeland 04479d8df7 stemodem: Add RTNL functionality managing CAIF Network Interfaces. 2010-11-13 10:16:18 +09:00
Denis Kenzior 5a1bd2c352 isimodem: Get rid of whitespace corruption 2010-11-11 09:08:09 -06:00
Aki Niemi b2faaa1058 isimodem: Fix style issues in gprs-context.c 2010-11-11 10:11:24 +02:00
Mika Liljeberg a4deaffa58 isimodem: revector GPRS context driver 2010-11-11 09:25:08 +02:00
Pekka Pessi b3495d3a9b isigen: increase offline timeout
The modem deregisters from network before response to MTC_STATE_REQ is
returned.  Deregistering can take up to 6 seconds.
2010-11-04 16:19:53 +01:00
Marit Henriksen a25d57531c atmodem: Remove at_pin_send_puk_cb, and use at_pin_send_cb instead.
When adding the use of pin event *EPEV also to at_pin_send_puk_cb,
it becomes identical to at_pin_send_cb, and can be removed.
2010-11-04 10:40:17 +01:00
Marcel Holtmann 1b920e4b57 stemodem: Fix broken coding style 2010-10-30 19:09:59 +02: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 080ff41db9 atmodem: Add support for IFX specific GPRS suspend notification
The Infineon modem informs about GPRS suspend cases. For example when
GPRS is active and a call is made. If the status changes, inform the
core about this change.

This uses GPRS_SUSPENDED_UNKNOWN_CAUSE reason since the modem does not
give a clear reason why GPRS was suspended. With this reason there is
a delay before the status change gets send out as D-Bus signal.
2010-10-29 13:39:27 +02:00
Marcel Holtmann 0ec69a291d atmodem: Add dummy handler for generic time zone update 2010-10-28 19:11:18 +02:00
Marcel Holtmann ed7a22c867 atmodem: Time reporting on Infineon modem is IFX specific
The time reporting via +CTZV and +CTZDST on the Infineon modem is not
following the standard. So mark these clearly as IFX specific.
2010-10-28 19:05:29 +02:00
Marcel Holtmann 969e242d72 atmodem: Enable home zone reporting for IFX modems
For the Infineon modem the AT+XHOMEZR option can be set to get informed
about home zone labels. If this information is available, it it still
not properly used, but it shows up in the traces for reference.
2010-10-28 19:01:55 +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
Mika Liljeberg d34bbba722 isimodem: add support for FastDormancy property 2010-10-27 22:26:16 -05:00
Denis Kenzior f07b326090 ifxmodem: Notify core about handled commands 2010-10-27 12:25:53 -05:00
Denis Kenzior 8eb658f5ea mbmmodem: Notify core about handled commands 2010-10-27 12:25:51 -05:00
Denis Kenzior 412ce05fde calypsomodem: Notify core about handled commands 2010-10-27 12:25:48 -05:00
Marcel Holtmann 9c476f1f0a mbmmodem: Print IP details after GPRS context setup 2010-10-27 14:55:13 +02:00
Marcel Holtmann 65f1ad4ce2 atmodem: Print IP details after GPRS context setup 2010-10-27 14:54:46 +02:00
Marcel Holtmann c7d09b7218 mbmmodem: Remove some pointless debug prefix strings 2010-10-27 13:28:55 +02:00
Marcel Holtmann 0de74b6edb ifxmodem: Fix handling of radio access mode enum 2010-10-27 11:06:05 +02:00
Marcel Holtmann 927bdcf87f hsomodem: Fix handling of radio access mode enum 2010-10-27 11:05:59 +02:00
Marcel Holtmann 64f327e2d0 nwmodem: Fix handling of radio access mode enum 2010-10-27 11:05:33 +02:00
Marcel Holtmann 3c2d59978b mbmmodem: Add some more GPRS context debug statements 2010-10-27 01:40:25 +02:00
Marcel Holtmann 6ccbeadb12 huaweimodem: Fix some GPRS context debug statements 2010-10-27 01:34:02 +02:00
Marcel Holtmann 9eb88496ac ifxmodem: Add full set of GPRS context debug statements 2010-10-27 01:31:54 +02:00
Marcel Holtmann 9b316185c6 atmodem: Add some more GPRS context debug statements 2010-10-27 01:29:55 +02:00
Marcel Holtmann 52f3c3462b huaweimodem: Add some more GPRS context debug statements 2010-10-27 01:27:17 +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 4d22e65b80 huaweimodem: Add bits and pieces for NDIS receive handling 2010-10-25 23:10:31 +02:00
Marcel Holtmann 125519ccbb ifxmodem: Fix handling of AT+XDNS with multiple contexts 2010-10-25 22:51:09 +02:00
Marcel Holtmann 8da7e98ce4 atmodem: Enable time zone reporting for Option modems 2010-10-25 02:03:00 +02:00
Marcel Holtmann 033c772e7b atmodem: Enable time update reporting for MBM modems 2010-10-24 21:48:56 +02:00
Marcel Holtmann 0dc986a464 huaweimodem: Increase NDIS setup time to 20 seconds 2010-10-24 15:35:45 +02:00
Marcel Holtmann a9ad547535 mbmmodem: Check IP address with AT+CGPADDR for older modems 2010-10-24 14:55:50 +02:00
Andrzej Zaborowski 9e46e27932 atmodem: Delay return from send_dtmf
AT+VTS responds with an OK immediately, so add a wait in the driver
before returning so that core knows when the tone has finished.  Note
that some modems actually do wait against 27.007, and other modems
use a manufacturer specific AT command and the drivers will need to
handle accordingly.
2010-10-22 22:28:50 -05:00
Marcel Holtmann cf2ba64872 atmodem: Parse optional PLMN parameter of AT+COPS=? result
The Infineon modem adds an optional <plmn_list> parameter after the
access technology parameter <AcT>. It is not always present, but when
present it makes the operator listing fail.

+COPS: (2,"T-Mobile D","TMO D","26201",0,0),(3,"E-Plus","E-Plus","26203",0,),(3,"Vodafone.de","Vodafone.de","26202",0,),(3,"o2 - de","o2 - de","26207",0,)

Not all networks have this parameter and maybe only the home network
has it anyway. And so far this feature seems to be Infineon specific,
but just in case, parse the parameter if present to make sure the
operator listing is available.
2010-10-22 01:00:58 +02:00