Commit Graph

1060 Commits

Author SHA1 Message Date
Jeevaka Badrappan 7e52569104 hfpmodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Jeevaka Badrappan 0df21d68df mbmmodem: 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 fe9bb02484 cdmamodem: Fix the broken plugin naming 2011-01-09 11:01:31 -08:00
Pekka Pessi e0b6a058a2 isimodem: use simplified client interface 2011-01-07 13:39:18 +02:00
Pekka Pessi 340a6d8725 isimodem/sms: verify SMS and SIM resources 2011-01-07 13:32:27 +02:00
Pekka Pessi e130d21be9 isimodem: fix style issues 2011-01-07 13:32:27 +02:00
Pekka Pessi a3f491a82b isimodem: include complete ISI message in trace 2011-01-07 13:32:27 +02:00
Pekka Pessi b72c01173a isimodem: whitespace fixes 2011-01-07 13:32:27 +02:00
Marcel Holtmann 92e02b4621 hsomodem: Add query for supported frequencies 2011-01-05 23:05:00 -08:00
Marit Henriksen 42f3134802 stemodem: Fix for MT call not working when caller id is hidden.
In *ECAV, the number will not be included if caller id is hidden.
Set it to an empty string in that case, and set number type to
128, unknown number type.
2011-01-04 01:24:26 -08:00
Aki Niemi 998a25eec8 isimodem: Fix nettime parsing 2010-12-31 14:54:19 +02:00
Marcel Holtmann 39599b9106 netreg: Report timezone updates if available 2010-12-26 11:47:32 -08:00
Denis Kenzior 378135621a huawei: Minor style fixes 2010-12-23 18:47:47 -06:00
Lucas De Marchi 90d9bd3f2b huaweimodem: add frequency band selection support 2010-12-23 18:44:39 -06:00
Dara Spieker-Doyle eddc201bdd cdmamodem: Add cdmamodem stubs 2010-12-22 19:10:23 -06:00
Aki Niemi 9b5ea0189a isimodem: Minor style fixes 2010-12-22 17:47:22 +02:00
Aki Niemi ef22691f71 isimodem: Remove unnecessary check 2010-12-22 17:13:49 +02:00
Aki Niemi 8406a4935e isimodem: Fix ICC, IMSI and SPN reading 2010-12-22 17:13:48 +02:00
Aki Niemi 1bdc6f027c isimodem: Fix SCA query response handling 2010-12-22 17:13:48 +02:00
Aki Niemi c1cc241862 isimodem: Fix sms driver incoming NTF handling 2010-12-22 17:13:48 +02:00
Mika Liljeberg ae27b69769 isimodem: fix GPRS context removal 2010-12-22 17:13:48 +02:00
Aki Niemi a044bc7880 isimodem: Fix sms driver routing resp handling 2010-12-22 17:13:48 +02:00
Aki Niemi 46d52b5a90 isimodem: Add debugging for PN_WRAN id 2010-12-22 17:13:48 +02:00
Aki Niemi 1bffb5c909 isimodem: Rename debug to trace 2010-12-22 17:13:48 +02:00
Aki Niemi 98074fdb60 isimodem: Always compare to NULL explicitly 2010-12-22 17:13:48 +02:00
Aki Niemi b477941171 isimodem: Style fixes, indentation 2010-12-22 17:13:48 +02:00
Mika Liljeberg 1199b3fc54 isimodem: prevent gprs autodetach 2010-12-22 17:13:48 +02:00
Mika Liljeberg 1272da9bb2 isimodem: improve GPRS timeouts 2010-12-22 17:13:48 +02:00
Mika Liljeberg b08f5b9e3b isimodem: revector GPRS driver to new gisi API 2010-12-22 17:13:48 +02:00
Mika Liljeberg 29155d9a8a gisi: add definitions for reading product profile 2010-12-22 17:13:48 +02:00
Aki Niemi 11b65c55af isimodem: Fix call forwarding driver 2010-12-22 17:13:47 +02:00
Aki Niemi b156318105 isimodem: Remove unused variables 2010-12-22 17:13:47 +02:00
Mika Liljeberg ddba09c870 isimodem: convert radio settings to new gisi API 2010-12-22 17:13:47 +02:00
Aki Niemi 3fed5c83ee isimodem: Adapt and refactor sms driver 2010-12-22 17:13:47 +02:00
Aki Niemi d365237a65 isimodem: Adapt and refactor ssn driver 2010-12-22 17:13:47 +02:00
Aki Niemi 3942066eae isimodem: Adapt and refactor ussd driver 2010-12-22 17:13:47 +02:00
Aki Niemi b8b1f6c969 isimodem: Adapt and refactor call meter driver 2010-12-22 17:13:47 +02:00
Aki Niemi 5a8cf6552d isimodem: Remove useless debug 2010-12-22 17:13:47 +02:00
Aki Niemi a1d8fb8c72 isimodem: Clean up sim driver some more 2010-12-22 17:13:47 +02:00
Aki Niemi d9fbf0d427 isimodem: Adapt and refactor cbs driver 2010-12-22 17:13:47 +02:00
Aki Niemi 66d1cfa347 isimodem: Add missing CBS codepoint 2010-12-22 17:13:47 +02:00
Aki Niemi 346ee5b051 isimodem: Adapt and refactor voicecall driver 2010-12-22 17:13:47 +02:00
Aki Niemi 4f9c5b7713 isimodem: Adapt and refactor sim driver 2010-12-22 17:13:46 +02:00
Aki Niemi 332afc9cbc isimodem: Adapt and refactor phonebook driver 2010-12-22 17:13:46 +02:00
Aki Niemi 90f31a1cb9 isimodem: Adapt and refactor netreg driver 2010-12-22 17:13:46 +02:00
Aki Niemi f01d0454a7 isimodem: Add convenience macro for version debug 2010-12-22 17:13:46 +02:00
Aki Niemi 48ea0fd5b7 isimodem: Adapt and refactor infoserver 2010-12-22 17:13:46 +02:00
Aki Niemi 5de8900262 isimodem: Adapt and refactor devinfo driver 2010-12-22 17:13:46 +02:00
Aki Niemi 3c2c1f8daf isimodem: Adapt and refactor debugging 2010-12-22 17:13:46 +02:00
Aki Niemi d1a0775a48 isimodem: Adapt and refactor call forwarding 2010-12-22 17:13:46 +02:00
Aki Niemi 698e97c75c isimodem: Adapt and refactor call barring driver 2010-12-22 17:13:46 +02:00
Aki Niemi ab814c8fc4 isimodem: Adapt and refactor audio settings driver 2010-12-22 17:13:46 +02:00
Lucas De Marchi 32f250470a huaweimodem: Add support for radio settings 2010-12-21 16:02:52 -06:00
Sjur Brændeland f5864cf31c stemodem: Use RTNL to create network interfaces. 2010-12-21 06:37:53 -08:00
Sjur Brændeland b108042e66 stemodem: Create network interfaces statically 2010-12-21 06:37:44 -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
Denis Kenzior c37f155478 ifx: Take out unused defines 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
Pekka Pessi a67c5cf4c5 isi/voicecall: fix handling of waiting calls
Also, do not retrieve calls after isi_release_all_active() because
retrieving is now only an unwanted side-effect .
2010-12-03 14:52:40 +02:00
Pekka Pessi be2778cb99 isi/voicecall: avoid side-effects of release
If a call was held automatically when an another call was dialed or
answered, it gets retrieved when the other call is released unless
auto change features is explicitly disabled.

Drop cause_type parameter because it is never used.

Use cause code for busy when releasing incoming or waiting calls.
2010-12-03 14:52:33 +02:00
Pekka Pessi eb3af79700 isi/voicecall: add call id to queued requests 2010-12-03 14:51:40 +02:00
Pekka Pessi fe28e6cd05 isi/voicecall: fix status reporting
Do not report incoming calls to the oFono core until they can be
answered.

Report MT_RELEASED or MO_RELEASED via ofono_voicecall_notify(),
TERMINATED calls via ofono_voicecall_disconnected().
2010-12-03 14:50:05 +02:00
Gustavo F. Padovan 169651314e atmodem: fix DBG message 2010-12-02 08:15:04 -06:00
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
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
Aki Niemi eac5b46c19 isimodem: Remove hack for notifying strength 2010-10-21 21:39:41 +03:00
Marcel Holtmann ae6c0edeae atmodem: Add support for IFX specific phonebook ready notification 2010-10-21 20:31:25 +02:00
Marcel Holtmann 94d67b9c66 atmodem: Use g_try_new0 when checking for the result 2010-10-21 20:00:07 +02:00
Marcel Holtmann 9bdc2b0a43 ifxmodem: Add skeleton for Infineon specific GPRS context driver 2010-10-21 19:44:28 +02:00
Marcel Holtmann 49544d43d8 atmodem: Check for TUN/TAP support before enabling PPP 2010-10-21 18:23:20 +02:00
Pekka Pessi ffa9edfb82 isi: fix SMS
Align read-params with update-params properly.

Align and fill tpdu sub block in submit.
2010-10-20 15:41:10 -05:00
Pekka Pessi ec2e576863 isi: fix SMS
Read absence/presence flags from correct field.

Try to avoid overwriting other SMS parameters but SCA address.

Use g_isi_(v)send().
2010-10-20 12:53:29 -05:00
Pekka Pessi 6861510e5e isi: fix hangup_active and set_udub methods
The concept of "active" call seems to be overloaded.
2010-10-20 12:52:44 -05:00
Aki Niemi ae8deb68e8 isimodem: Fix setting SCA type 2010-10-20 17:31:17 +03:00
Marcel Holtmann 040a34cad2 atmodem: Decode and report time information from network 2010-10-20 13:55:20 +02:00
Marcel Holtmann 98eed08d29 atmodem: Add skeleton for time update reporting 2010-10-20 13:27:04 +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
Aki Niemi 255782f8c2 isimodem: Fix request cleanup code
Adds a check for when the driver is being removed, in which case no
new ISI requests should be generated.
2010-10-19 15:06:35 +03: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 a917f094cb atmodem: Add SIM ready quirk for IFX when entering PUK
For the Infineon modem, also the PUK entering needs to be extended with
a quirk to wait for the SIM ready notification.
2010-10-18 15:10:05 +02:00
Marcel Holtmann 43a6ece561 atmodem: Remove workaround for SIM ready notifier removal 2010-10-15 16:07:51 +03:00
Denis Kenzior aa50067ccd sim: Use enums for EF valid / invalidated status 2010-10-15 07:25:50 -05:00
Petteri Tikander 44bb863538 isimodem: returns file-status of SIM EF-file 2010-10-15 02:19:43 -05:00
Petteri Tikander 84efadcf5a atmodem: returns file-status of SIM EF-file 2010-10-15 02:19:02 -05:00
Aki Niemi 297b14ca8b isimodem: Fix copyright and license boilerplate 2010-10-14 15:22:16 +03:00
Aki Niemi 69087a565c isimodem: Fix SMSC address update request 2010-10-14 15:22:16 +03:00
Marcel Holtmann 4cacd3a76c atmodem: Send DTMF commands without quotes
The AT+VTS command takes a single character and should not use quotes.
2010-10-13 08:25:59 +03: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
Pekka Pessi a5e13cb049 isimodem/voicecall: fix hangup_active 2010-10-06 12:07:27 +02:00
Marcel Holtmann 2b331684cb huaweimodem: Print the NDIS device node to be used 2010-10-05 16:30:04 +02:00
Marcel Holtmann b41f354a2f huaweimodem: Add error handling for too many ^DHCP failures 2010-10-05 16:28:52 +02:00
Aki Niemi 29bbf89c52 isimodem: Properly clean up audio settings driver 2010-10-01 17:11:25 +03:00
Kai Vehmanen 78d4ee9336 isimodem: Add support for audio settings
The audio state is mapped directly to isimodem's call server status
indications. When active, the modem speech path should be opened, and
when closed, the modem speech path may be closed.
2010-10-01 17:11:24 +03:00
Marcel Holtmann b7f6b1c997 ifxmodem: Notify about audio settings mode 2010-10-01 07:29:53 +02:00
Marcel Holtmann 3fd4af4fc2 audio: Update audio settings API for active notification 2010-10-01 07:14:59 +02:00
Aki Niemi cbf53bc708 isimodem: Report GPRS detach 2010-09-30 11:25:48 +03:00
Aki Niemi 6509152544 isimodem: Fix signal strength reporting
ISI modems send the signal strength indication before registration
status changes, which causes the core to ignore initial signal
strength values.
2010-09-30 11:25:48 +03:00
Pekka Pessi ce2ff83187 isimodem: remove generic modem driver parts
The isimodem driver is now part of isigen (just like atmodem and atgen).
2010-09-30 11:25:47 +03:00
Marcel Holtmann fb864c91c0 ifxmodem: Remove setting of XPROGRESS notifications
The XPROGRESS notifcations are now handled inside an Infineon specific
audio settings driver. So no need to do that in the the voice call
driver as well.
2010-09-30 00:21:23 +09:00
Marcel Holtmann 0a71c6686f ifxmodem: Add support for audio settings 2010-09-30 00:20:22 +09:00
Marcel Holtmann 9fed676875 huaweimodem: Add support for audio settings interface 2010-09-29 23:58:52 +09:00
Marcel Holtmann 462d79b5fe huaweimodem: Add missing empty line 2010-09-29 23:42:55 +09:00
Marcel Holtmann 3ad4e5ab21 atmodem: Update IFX specific SIM ready checking
It seems that the XSIM notification doesn't really send SIM ready
status. It sends ready to attach instead:

  > AT+CPIN="0000"\r
  < \r\nOK\r\n
  < \r\n+XLOCK: "PN",5,0,"PU",5,0,"PP",5,0,"PC",5,0,"PS",5,0\r\n
  < \r\n+XSIM: 7\r\n

So either SIM ready or ready to attach is received more to the
post_sim state.
2010-09-29 23:23:29 +09:00
Denis Kenzior e14c9214eb huawei: Add release_specific to voicecall 2010-09-29 01:16:53 -05:00
Marcel Holtmann 590e154734 atmodem: Remove quirk for Huawei voice call support
The Huawei voice call support has its own driver now. So this quirk
is no longer needed.
2010-09-29 08:32:23 +09:00
Marcel Holtmann 5269a2f9be huaweimodem: Implement hangup_active callback and not hangup_all 2010-09-29 08:05:41 +09:00
Denis Kenzior ddb32c99ab ifx: ifx_chup should send a +CHUP 2010-09-28 16:39:58 -05:00
Denis Kenzior af643b1989 hso: Fix the username and password order
QCPDPP apparently takes the password first, then username
2010-09-27 19:28:19 -05:00
Marcel Holtmann 11154dfea0 ifxmodem: Enable audio related progress information
This is using AT+XPROGRESS=1 to enable the audio related notifications
of the modem. None of these information is currently used. This command
is only present to have these details show up in the debug logs.
2010-09-27 23:33:58 +09:00
Aki Niemi 3ffd6d248b isimodem: Return success on topic set/clear
The isimodem driver accepts all topics by default.
2010-09-27 16:07:44 +03:00
Aki Niemi 7e5a5e665b isimodem: Fix CBS decoding 2010-09-27 16:07:39 +03:00
Marcel Holtmann 0e398f0d56 huaweimodem: Handle option parameter on call end notification 2010-09-27 17:25:43 +09:00
Denis Kenzior 25e17334b7 huawei: Only notify for voice calls 2010-09-26 22:44:01 -05:00
Denis Kenzior 10c6bebd80 huawei: Track alerting state 2010-09-26 22:36:00 -05:00
Denis Kenzior 7d10119946 huawei: Track outgoing calls 2010-09-26 22:34:24 -05:00
Denis Kenzior 9d1aac47e7 huawei: Notify the core on connect and end call 2010-09-26 22:16:29 -05:00
Marcel Holtmann 6235b26e93 huaweimodem: Add voice call creation support 2010-09-27 08:46:15 +09:00
Marcel Holtmann fcdd8b40b4 calypsomodem: Some cleanups in voice call driver 2010-09-27 08:11:04 +09:00
Marcel Holtmann d66e699a88 stemodem: Some cleanups in voice call driver 2010-09-27 08:09:38 +09:00
Marcel Holtmann 6fbbd4ca3e atmodem: Some cleanups in voice call driver 2010-09-27 08:07:02 +09:00
Marcel Holtmann 6d2b2dcc4a ifxmodem: Two more cleanups 2010-09-27 08:06:48 +09:00
Marcel Holtmann cfca38bad1 ifxmodem: Some cleanups in voice call driver 2010-09-27 08:03:40 +09:00
Marcel Holtmann f271edef86 huaweimodem: Allow GPRS context allocation to fail 2010-09-27 00:10:17 +09:00
Marcel Holtmann 97b98fc9bf huaweimodem: Register for voice call specific notifications 2010-09-27 00:07:09 +09:00
Marcel Holtmann 521396d55b huaweimodem: Add skeleton for simple voice call driver 2010-09-26 23:51:27 +09:00
Marcel Holtmann dd0ff9310d ifxmodem: Make SIM Toolkit envelope submission work 2010-09-26 21:47:19 +09:00
Marcel Holtmann 7847b86646 calypsomodem: Make SIM Toolkit envelope submission work again 2010-09-26 21:45:50 +09:00
Marcel Holtmann f6c119ba20 mbmmodem: Add comment about optional response data back 2010-09-26 21:43:57 +09:00
Denis Kenzior 9620b00e77 ifx: Fix double free issue 2010-09-26 07:41:06 -05:00
Denis Kenzior 779cc467de mbm: Make stk envelope submission work again 2010-09-26 07:41:06 -05:00
Marcel Holtmann 25bb671d4e atmodem: Add special handling for Infineon SIM ready state 2010-09-25 11:32:40 +09:00
Marcel Holtmann 554344b453 ifxmodem: Fix name of voice call driver 2010-09-25 11:29:47 +09:00
Marcel Holtmann ae2a9207a4 atmodem: Add support for Infineon CNMA without PDU
Seems like the Infineon modem can't handle a provided PDU to the CNMA
command. So just leave it out.
2010-09-24 18:28:32 +09:00
Marcel Holtmann 2be1c13dbb atmodem: Add special handling of Infineon signal strength reporting
The custom signal strength reporting could be done inside the modem
plugin actually, but Calypso, Huawei etc. add quirks to the generic
network registration driver. So for now do it the same way until
this gets cleaned up for all modem plugins.
2010-09-24 18:23:31 +09:00
Denis Kenzior 71fb9c74c6 ifx: Take out the vendor field in voicecall driver 2010-09-24 00:30:02 -05:00
Denis Kenzior 6db4483f26 ifx: Assume CLIP always arrives
If the CLIP always arrives after a CRING, then we do not ever need to
poll CLCC.
2010-09-24 00:30:02 -05:00
Denis Kenzior 4b134bd15f ifx: Don't bother polling on an ATD
The core can handle stateless drivers that do not keep clip state, in
the case of IFX we can skip the poll after ATD for finding out our CLIP
and just keep it as invalid / obtained from COLP.  The core should do
the right thing.
2010-09-24 00:29:59 -05:00
Denis Kenzior 09c0ae8478 atmodem: Update comment 2010-09-24 00:18:40 -05:00
Marcel Holtmann c5fdbe8827 ifxmodem: Reorder voicecall driver before all other 2010-09-24 14:16:01 +09:00
Denis Kenzior 7ab1258a76 ifx: Update comment 2010-09-24 00:08:32 -05:00
Denis Kenzior 44f31d7e91 ifx: xcallstat should notify active->held 2010-09-24 00:08:30 -05:00
Denis Kenzior 26d6de7f53 ifx: Remove a few CLCC polls
Polling here is no longer needed due to XCALLSTAT
2010-09-23 23:53:41 -05:00
Denis Kenzior 1fc2216bfd ifx: Don't bother using RING
We enable CRC=1, so only CRING should be sent
2010-09-23 23:53:41 -05:00
Denis Kenzior 6b10d14402 ifx: IFX provides hangup_all and hangup_active 2010-09-23 23:53:41 -05:00
Denis Kenzior e1ee41b654 ifx: IFX provides swap_without_accept using CHLD=6 2010-09-23 23:53:40 -05:00
Denis Kenzior 6d37663713 ifx: No need to register to standard notifications
XCALLSTAT tells us when a call has been disconnected
2010-09-23 23:53:40 -05:00
Denis Kenzior 9d70f936e9 ifx: Use none_prefix on other init commands 2010-09-23 23:53:40 -05:00
Denis Kenzior 1f68dcabeb ifx: Add IFX proprietory XCALLSTAT indicator 2010-09-23 23:53:38 -05:00
Denis Kenzior 8028a0b788 ifx: Copy voicecall driver from atmodem
IFX is a fairly bone stock AT based modem so the atmodem driver is a
good start.
2010-09-23 21:56:23 -05:00
Denis Kenzior 01cfe43824 calypso: Provide hangup_all and hangup_active
On Calypso, ATH hangs up all calls except waiting calls and CHUP hangs
up only active calls, but not held or waiting.
2010-09-23 21:55:58 -05:00
Marcel Holtmann 430259e38b atmodem: Add vendor quirk for Infineon modems 2010-09-24 02:38:23 +09:00
Marcel Holtmann 66ee45eb53 ifxmodem: Fix whitespace corruption 2010-09-24 01:32:21 +09:00
Marcel Holtmann 27018b1a55 calypsomodem: Cleanup of SIM Toolkit support 2010-09-24 01:21:10 +09:00
Marcel Holtmann adf2ffd38b ifxmodem: Add debug for envelope response data 2010-09-24 01:13:22 +09:00
Marcel Holtmann 7bdb923f67 mbmmodem: Add debug for envelope response data 2010-09-24 01:13:01 +09:00
Marcel Holtmann 4749645aaf mbmmodem: Fix small typo 2010-09-24 01:07:03 +09:00
Marcel Holtmann 6a3f1d9b91 mbmmodem: Cleanup of SIM Toolkit support 2010-09-24 01:05:26 +09:00
Marcel Holtmann 27676eea77 ifxmodem: Add support for SIM Toolkit (raw mode) 2010-09-24 00:59:13 +09:00
Marcel Holtmann ac63fd956f ifxmodem: Add support for radio settings 2010-09-23 23:27:08 +09:00
Marcel Holtmann 9f906504a5 atmodem: Allow setting PPP debug via environment variable 2010-09-20 08:28:13 +09:00
Marcel Holtmann a4aeedc3f0 ifxmodem: Add skeleton for Infineon driver plugin 2010-09-18 22:18:51 +09:00
Denis Kenzior 315cfd4217 isimodem/ussd: Fix 64-bit compilation issue 2010-09-16 13:53:26 -05:00
Pekka Pessi fe14190935 isimodem/ussd: fix mobile-terminated cases
ACK notifys. Handle mobile-terminated requests gracefully.
2010-09-16 13:47:46 -05:00
Pekka Pessi 5e92604955 isimodem/debug: debug USSD type 2010-09-16 13:47:15 -05:00
Pekka Pessi a111048129 isimodem/ussd: clean const casts 2010-09-16 08:58:54 -05:00
Denis Kenzior c97489a161 ussd: Tweak buffer size 2010-09-15 12:11:08 -05:00
Denis Kenzior f6a4d4a5ce ussd: Rework ussd_request
- Only allocate variables which are needed
- Make sure buffers are big enough
- converted is a simple string, no need to use fancy printf magic
2010-09-14 22:05:32 -05:00
Denis Kenzior 82e6ddfd4b ussd: Simplify ussd notification parser logic 2010-09-14 21:54:25 -05:00
Jeevaka Badrappan eb425a281f ussd: Driver API changes
To support 8bit and UCS2 formatted USSDs as well as Send USSD Proactive
Command.
2010-09-14 17:01:49 -05:00
Jeevaka Badrappan 09de3fdaab ussd: Read current CSCS charset 2010-09-14 11:50:28 -05:00
Lucas De Marchi 74125ff5d4 Fix common misspellings in drivers
Fix common misspellings by using the list available at
http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines

From the list cited above, the substitution script found the following
misspellings:

subsidary(-ies)->subsidiary(-ies)
transfering->transferring
2010-09-14 16:00:16 +09:00
Jeevaka Badrappan a632cfe11b atutil: Add parsing of CSCS queries 2010-09-10 12:00:43 -05:00
Mika Liljeberg 74e4f9ee51 isimodem: implement Suspended property 2010-09-10 10:52:07 -05:00
Marcel Holtmann a0fe9cbdbd atmodem: Add Huawei quirk for voice call handling 2010-09-04 23:44:30 +02:00
Pekka Pessi c5d8bdeeb6 isimodem/ussd: use g_isi_send() 2010-09-02 07:52:11 +03:00
Pekka Pessi 9d4a232313 isimodem/gprs: use g_isi_send() 2010-09-02 07:52:07 +03:00
Denis Kenzior 150edce5c3 phonebook: Trivial style / wording fixes 2010-08-30 17:58:53 -05:00
Thadeu Lima de Souza Cascardo b452c29d42 atmodem/phonebook: parse text as hexstring
Some modems omit the quotes when dumping strings in UCS2. Parsing
them as hexstring already does the hex decoding and accepts missing
quotes.
2010-08-30 17:54:10 -05:00
Denis Kenzior 4292b2dbed sim: Turn around the order of arguments
The void *user argument was first.  It should be last instead to be
consistent with the other watch functions.
2010-08-30 14:29:34 -05:00
Aki Niemi 76fce49e49 Remove unnecessary alignment to 32bit boundary 2010-08-30 17:54:36 +03:00
Pekka Pessi 2778092b83 isimodem/gprs: fix attached_status response 2010-08-26 10:38:04 -05:00
Marcel Holtmann bfd2c768cd huaweimodem: Add NDIS based GPRS context driver 2010-08-23 22:08:23 +02:00
Marcel Holtmann ff456286cf hsomodem: Minor style fixes in GPRS context driver 2010-08-23 16:29:51 +02:00
Marcel Holtmann 416bbcff7f huaweimodem: Add skeleton for Huawei modem driver 2010-08-23 16:12:16 +02:00