Commit Graph

933 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
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
Denis Kenzior bdc8d02bc8 atmodem: Default to +CHUP to hangup_all 2010-08-20 16:15:11 -05:00
Marcel Holtmann 773b3a8088 atmodem: Add a few more debug statements for SMS support 2010-08-20 21:53:21 +02:00
Marcel Holtmann 6df7c1a1c6 atmodem: Add a few more debug statements for CBS support 2010-08-20 21:45:45 +02:00
Marcel Holtmann 240e3878ae atmodem: Add Nokia specific quirk for AT+CGEREP handling 2010-08-20 20:57:30 +02:00
Marcel Holtmann 1313a2fe01 atmodem: Fix copy and paste typo 2010-08-20 16:53:07 +02:00
Marcel Holtmann cda0fd9eff atmodem: Enable MBM specific notification for registration and bearer 2010-08-20 16:50:42 +02:00
Marcel Holtmann 208f2ea9c4 mbmmodem: Enable PDP context setup debug notifications 2010-08-20 15:44:45 +02:00
Marcel Holtmann 841d770988 stemodem: Fix whitespace damage in radio settings driver 2010-08-20 14:13:07 +02:00
Marcel Holtmann 3251e7e234 mbm: Fix naming of MBM driver for GPRS context handling 2010-08-20 14:12:01 +02:00
Marcel Holtmann 205b3b813a atmodem: Turn a STE GPRS quirk into a MBM and STE quirk 2010-08-20 14:05:18 +02:00
Marcel Holtmann 3aa7e1b18e atmodem: Add really nasty hack for Nokia AT+COPS bug
The Nokia modem returns an invalid response when trying to read the
numeric value for MCC/MNC of the current network.

Control:> AT+COPS?\r
Control:< \r\n+COPS: 0,2,"26207,0\r\n\r\nOK\r\n

The closing " is just missing and this confuses the AT parser. In case
of a Nokia modem skip reading the numerical values for the network.
2010-08-20 03:00:49 +02:00
Marcel Holtmann 667c4eea84 atmodem: No CIND for Nokia data cards 2010-08-20 02:24:53 +02:00
Marcel Holtmann 814c11d872 atmodem: Add vendor quirk for Nokia data cards 2010-08-20 02:24:07 +02:00
Sjur Brændeland e22c79af72 stemodem: Add Radio Settings to STE Modem 2010-08-17 14:40:44 +02:00
Marcel Holtmann 3adf7a07ca atmodem: Allow missing DCS parameter in USSD result 2010-08-17 00:49:23 +02:00
Marcel Holtmann 10466f6664 atmodem: Add Qualcomm specific USSD quirk 2010-08-16 22:38:38 +02:00
Marcel Holtmann a79901e26f atmodem: Add support for storing USSD vendor quirks 2010-08-16 22:21:52 +02:00
Marcel Holtmann 70ce93a981 calypsomodem: Remove useless NULL checks before g_free 2010-08-16 22:12:08 +02:00
Marcel Holtmann de221f87fa stemodem: Remove useless NULL checks before g_free 2010-08-16 22:11:21 +02:00
Marcel Holtmann e4e215e88b mbmmodem: Remove useless NULL checks before g_free 2010-08-16 22:09:09 +02:00
Marcel Holtmann f284f3542b hsomodem: Remove useless NULL checks before g_free 2010-08-16 22:08:08 +02:00
Marcel Holtmann 41133da001 hfpmodem: Remove useless NULL checks before g_free 2010-08-16 22:06:24 +02:00
Denis Kenzior 3ea7893108 ussd: Use cb_data instead of custom structure 2010-08-16 15:04:26 -05:00
Marcel Holtmann a8d3e7433a atmodem: Remove useless NULL checks before g_free 2010-08-16 22:02:01 +02:00
Marcel Holtmann 83a04505bf netreg: Add quirk for ZTE modem without CIND support 2010-08-16 15:14:17 +02:00
Denis Kenzior fa822e906e atutil: Don't try parsing lac/ci when unregistered 2010-08-13 18:29:42 -05:00
Denis Kenzior f51b8af585 nwemodem: Fix up radio-settings driver 2010-08-13 14:00:43 -05:00