Lucas De Marchi
67f78f680d
plugins: 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 12:55:49 -06:00
Lucas De Marchi
62781988e2
phonesim: implement ctm atom
2010-11-29 10:38:58 -06:00
Rémi Denis-Courmont
1578c0e2f4
isigen: Remove stray newlines in DBG
2010-11-26 13:49:32 -06:00
Mika Liljeberg
39d6fffae8
isigen: create four gprs contexts
2010-11-11 09:52:34 -06:00
Pekka Pessi
179a81ac7c
udev: do not use weird serial with zte
2010-11-08 13:12:09 -06:00
Pekka Pessi
fbacb9de28
zte: use AT+CFUN=1;+CFUN=4 in enable
...
Direct +CFUN transition 0 -> 4 gets SIM in inconsistent state.
2010-11-08 11:50:07 -06:00
Torgny Johansson
aa3122fcbc
Add vid/pid for Ericsson F5521gw
2010-11-08 19:37:38 +09:00
Hannu Lyytinen
aa792453ae
Added Nokia CS-17 to udev rules.
...
The stick has to be initialized with usb_modeswitch, though.
2010-11-07 12:45:49 +01:00
Hannu Lyytinen
2cf6a4819f
Fixes segfault when removing Nokia Datacard.
2010-11-07 12:45:39 +01:00
Denis Kenzior
473cd4a7c6
smart-messaging: Implement SendAppointment
2010-11-04 10:25:42 -05:00
Denis Kenzior
7ecff9f83b
smart-messaging: Implement SendBusinessCard
2010-11-04 10:25:42 -05: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
Marcel Holtmann
ce7b1e2e67
build: Remove generic AT command modem plugin
...
This plugin was used for initial testing and is no longer needed. So
just remove it.
2010-11-04 15:20:38 +01:00
Denis Kenzior
59bbdd5d08
smart-messaging: Register to vCal notifications
2010-11-02 14:58:21 -05:00
Denis Kenzior
429dcb6ef5
smart-messaging: Register for vCard notifications
2010-11-02 14:58:21 -05:00
Denis Kenzior
6e6409ff42
smart-messaging: Free agent when sms atom exits
2010-11-02 14:58:21 -05:00
Denis Kenzior
49eee4006a
smart-messaging: Implement unregister agent
2010-11-02 14:58:21 -05:00
Denis Kenzior
d56e72ee1d
smart-messaging: Implement RegisterAgent
2010-11-02 14:58:21 -05:00
Denis Kenzior
0d80076c79
push-notification: Handle WAP push messages
2010-11-02 12:15:53 -05:00
Denis Kenzior
f9066be4f0
push-notification: Free agent when sms atom exits
2010-11-02 12:15:53 -05:00
Denis Kenzior
853f449892
push-notification: Implement unregister agent
2010-11-02 12:15:53 -05:00
Denis Kenzior
df5339bf89
push-notification: Implement register agent
2010-11-02 12:15:53 -05:00
Denis Kenzior
55a61c3a63
push-notification: Add skeleton
2010-11-02 12:15:53 -05:00
Mika Liljeberg
6f94ed0685
isigen: fix phonet address initialization
2010-11-01 17:27:33 +01:00
Marcel Holtmann
f6c3a9ae94
ifx: Enable vendor quirk for GPRS atom
...
Enabling the Infineon specific vendor quirk for the GPRS atom will enable
support for the GPRS suspend notifications.
2010-10-29 13:42:34 +02:00
Marcel Holtmann
6c52b1ff63
mbm: Fix setting GPRS context type for wrong atom
2010-10-27 11:53:13 +02:00
Marcel Holtmann
0b66264f8b
mbm: Set specific GPRS context type for different atoms
2010-10-27 11:37:17 +02:00
Marcel Holtmann
23f2706dd0
mbm: Handle TTY disconnect for PPP based GPRS context
...
The Ericsson MBM modems also hangup the TTY when disconnecting PPP and
in that case the TTY needs to be re-opened. In addition it seems that
the TTY is actually blocked until the context is fully brought down, so
also a delay is required.
2010-10-27 02:02:41 +02:00
Marcel Holtmann
10ee140c24
mbm: Use the variant specific enum in a cleaner way
2010-10-27 01:18:42 +02:00
Marcel Holtmann
1e0602a9a8
mbm: Use data port for second PPP based GPRS context
2010-10-27 01:17:10 +02:00
Marcel Holtmann
305514ced9
ifx: Add support for having three active GPRS contexts
...
The Infineon modem can at least support three active GPRS contexts in
M-RAW_IP mode. So use another DLC for the third context.
2010-10-26 17:05:23 +02:00
Marcel Holtmann
74c23d3302
ifx: Use M-RAW_IP support only with internal multiplexer
...
The GPRS context can only be fully supported with the internal multiplexer
right now. So use M-RAW_IP support in that case. If using a kernel based
multiplexer, then no GPRS context is provided.
2010-10-26 17:00:52 +02:00
Marcel Holtmann
4acf7cfbea
phonesim: Fix missing return from plugin init
2010-10-25 23:14:05 +02:00
Marcel Holtmann
ef4d2fb322
phonesim: Register modem driver before creating modems
2010-10-25 22:33:18 +02:00
Denis Kenzior
de3c0d6247
phonesim: Support multiple contexts
2010-10-25 14:45:12 -05:00
Denis Kenzior
eb0557ff9b
phonesim: Enable dummy phonesim contexts
2010-10-25 14:45:12 -05:00
Marcel Holtmann
f8ef39c96e
build: Add example configuration for phonesim plugin
2010-10-25 20:48:55 +02:00
Marcel Holtmann
7738f94451
build: Remove modemconf plugin support
2010-10-25 20:43:05 +02:00
Marcel Holtmann
7c2529077c
phonesim: Don't use modem.conf for phonesim modems
2010-10-25 20:12:32 +02:00
Marcel Holtmann
2c863506d3
ifx: Detect when DLC shutdown happens
...
In case one of the DLCs shuts down, the system has an undefined state
and thus just shutdown the whole device.
2010-10-24 20:15:45 +02:00
Marcel Holtmann
4a5f37dafd
ifx: Detect modems stuck in multiplexer mode
...
When the initial AT commands on the master device don't respond, then
the modem is stuck in multiplexer mode. For now just report an error.
2010-10-24 20:00:32 +02:00
Marcel Holtmann
e4b09b3012
ifx: Use PPP based GPRS context if M-RAW_IP is not available
2010-10-23 12:57:42 +02:00
Marcel Holtmann
2c06348356
ifx: Add two GPRS contexts since the modem should support it
2010-10-21 23:51:36 +02:00
Marcel Holtmann
f6b92bd2d9
ifx: Use Infineon specific GPRS context driver
2010-10-21 21:54:04 +02:00
Marcel Holtmann
cca0782029
ifx: Use Infineon specific phonebook vendor quirk
2010-10-21 20:32:18 +02:00
Marcel Holtmann
e74723776a
ifx: Assign GPRS DLCs as slaves of the network DLC
2010-10-21 18:51:38 +02:00
Marcel Holtmann
2475d8826c
ifx: Wait for DLC creation to settle (internal multiplexer)
...
When driving the Infineon modem with the builtin multiplexer there is
a small race condition with setting up the channels and sending the
first AT commands. The window here is pretty small, but it seems to be
a modem firmware issue. In case the AT command is send right away it can
happen that the modem does not process any further AT commands. In that
case the setup is stuck and enabling the modem fails.
Just adding a 10 milliseconds delay after DLC creation and before
sending the first AT commands is enough to make this work smoothly.
2010-10-19 22:59:21 +02:00
Marcel Holtmann
93f7bca25f
phonesim: Add missing ATE0 when in multiplexer mode
2010-10-19 20:42:29 +02:00
Marcel Holtmann
96c04a744b
phonesim: Fix multiplexer setup handling and modem power
2010-10-19 18:50:52 +02:00
Marcel Holtmann
56480ba582
ifx: Separate AT command from multiplexer debug setting
2010-10-17 14:50:45 +02:00