platform/upstream/ofono.git
13 years agoatmodem: Enable timezone reporting for ZTE modems
Marcel Holtmann [Wed, 3 Aug 2011 21:26:53 +0000 (23:26 +0200)]
atmodem: Enable timezone reporting for ZTE modems

13 years agoatmodem: The ZTE dongles send LAC and CI as unquoted strings
Marcel Holtmann [Wed, 3 Aug 2011 21:13:11 +0000 (23:13 +0200)]
atmodem: The ZTE dongles send LAC and CI as unquoted strings

13 years agozte: Use vendor quirk for GPRS atom
Marcel Holtmann [Wed, 3 Aug 2011 21:12:55 +0000 (23:12 +0200)]
zte: Use vendor quirk for GPRS atom

13 years agospeedup: Use vendor quirk for network registration and GPRS atoms
Marcel Holtmann [Wed, 3 Aug 2011 20:39:11 +0000 (22:39 +0200)]
speedup: Use vendor quirk for network registration and GPRS atoms

13 years agoatmodem: The Speedup dongles send LAC and CI as unquoted strings
Marcel Holtmann [Wed, 3 Aug 2011 20:37:16 +0000 (22:37 +0200)]
atmodem: The Speedup dongles send LAC and CI as unquoted strings

13 years agodunmodem: Add stub for gprs.
Mario Tokarz [Wed, 3 Aug 2011 13:04:20 +0000 (15:04 +0200)]
dunmodem: Add stub for gprs.

13 years agodevinfo: Use correct prefix for cdma
Guillaume Zajac [Wed, 3 Aug 2011 13:44:31 +0000 (15:44 +0200)]
devinfo: Use correct prefix for cdma

13 years agocdmamodem: remove an unneeded buffer and sprintf.
Bertrand Aygon [Wed, 3 Aug 2011 16:33:48 +0000 (18:33 +0200)]
cdmamodem: remove an unneeded buffer and sprintf.

13 years agodbus: Add CDMA netreg atom interface name
Bertrand Aygon [Tue, 2 Aug 2011 12:45:17 +0000 (14:45 +0200)]
dbus: Add CDMA netreg atom interface name

13 years agoudev: Add rule for 4G Systems W14 dongle
Marcel Holtmann [Wed, 3 Aug 2011 16:54:27 +0000 (18:54 +0200)]
udev: Add rule for 4G Systems W14 dongle

13 years agobluetooth: Add UUID for DUN.
Mario Tokarz [Wed, 3 Aug 2011 11:48:29 +0000 (13:48 +0200)]
bluetooth: Add UUID for DUN.

13 years agombm: Don't bother with NULL checking for SIM state query free
Marcel Holtmann [Wed, 3 Aug 2011 12:31:56 +0000 (14:31 +0200)]
mbm: Don't bother with NULL checking for SIM state query free

13 years agozte: Fix race condition with SIM state polling and removal
Marcel Holtmann [Wed, 3 Aug 2011 12:30:41 +0000 (14:30 +0200)]
zte: Fix race condition with SIM state polling and removal

13 years agospeedup: Fix race condition with SIM state polling and removal
Marcel Holtmann [Wed, 3 Aug 2011 12:29:32 +0000 (14:29 +0200)]
speedup: Fix race condition with SIM state polling and removal

13 years agoatutil: Handle empty SIM state polling request gracefully
Marcel Holtmann [Wed, 3 Aug 2011 12:27:17 +0000 (14:27 +0200)]
atutil: Handle empty SIM state polling request gracefully

13 years agohuawei: Fix race condition with enable polling
Marcel Holtmann [Wed, 3 Aug 2011 12:26:23 +0000 (14:26 +0200)]
huawei: Fix race condition with enable polling

13 years agohuawei: Fix race condition with online enable polling
Marcel Holtmann [Wed, 3 Aug 2011 12:23:21 +0000 (14:23 +0200)]
huawei: Fix race condition with online enable polling

13 years agoudev: switch ttys for SpeedUp 8000.
Bertrand Aygon [Mon, 1 Aug 2011 12:25:55 +0000 (14:25 +0200)]
udev: switch ttys for SpeedUp 8000.

On SpeedUp 8000, notifications are received only on ttyUSB1.
So we must use this tty for aux, and use ttyUSB3 for modem.

13 years agombmmodem: Set baud rate to 115200 for GPS interface
Marcel Holtmann [Fri, 29 Jul 2011 18:50:37 +0000 (20:50 +0200)]
mbmmodem: Set baud rate to 115200 for GPS interface

13 years agonovatel: Enable support for SIM phonebook
Marcel Holtmann [Fri, 29 Jul 2011 15:36:08 +0000 (17:36 +0200)]
novatel: Enable support for SIM phonebook

13 years agoatmodem: Handle SIM busy condition gracefully for phonebooks
Marcel Holtmann [Fri, 29 Jul 2011 15:33:22 +0000 (17:33 +0200)]
atmodem: Handle SIM busy condition gracefully for phonebooks

Before the phonebook is ready, the SIM card needs certain amount of
time. Something between 20-30 seconds in general. So if the modem
returns an error indicating the SIM is busy, then try again in
regular intervals.

13 years agoconnman: Fix crash due to uninitialized path
Guillaume Zajac [Fri, 29 Jul 2011 13:49:09 +0000 (15:49 +0200)]
connman: Fix crash due to uninitialized path

13 years agoconnman: Fix crash in request_reply
Guillaume Zajac [Fri, 29 Jul 2011 12:49:56 +0000 (14:49 +0200)]
connman: Fix crash in request_reply

13 years agoconnman: Fix crash in parse_reply
Guillaume Zajac [Fri, 29 Jul 2011 12:49:56 +0000 (14:49 +0200)]
connman: Fix crash in parse_reply

13 years agozte: delay the sending of &C0 after SIM is ready.
Bertrand Aygon [Fri, 29 Jul 2011 13:58:11 +0000 (15:58 +0200)]
zte: delay the sending of &C0 after SIM is ready.

13 years agoudev: add support for Olive V-ME101 HSIA modem
Bertrand Aygon [Fri, 29 Jul 2011 13:14:46 +0000 (15:14 +0200)]
udev: add support for Olive V-ME101 HSIA modem

13 years agoudev: add support for Vodafone K3570-Z modem
Bertrand Aygon [Fri, 29 Jul 2011 12:59:31 +0000 (14:59 +0200)]
udev: add support for Vodafone K3570-Z modem

13 years agohuaweicdma: Fix stale PCUI channel after hot-unplug
Marcel Holtmann [Fri, 29 Jul 2011 13:26:13 +0000 (15:26 +0200)]
huaweicdma: Fix stale PCUI channel after hot-unplug

13 years agospeedupcdma: Fix stale control channel after hot-unplug
Marcel Holtmann [Fri, 29 Jul 2011 13:25:24 +0000 (15:25 +0200)]
speedupcdma: Fix stale control channel after hot-unplug

13 years agogobi: Fix stale control channel after hot-unplug
Marcel Holtmann [Fri, 29 Jul 2011 13:24:33 +0000 (15:24 +0200)]
gobi: Fix stale control channel after hot-unplug

13 years agonokia: Fix stale control channel after hot-unplug
Marcel Holtmann [Fri, 29 Jul 2011 13:22:51 +0000 (15:22 +0200)]
nokia: Fix stale control channel after hot-unplug

13 years agonovatel: Fix stale control channel after hot-unplug
Marcel Holtmann [Fri, 29 Jul 2011 13:19:53 +0000 (15:19 +0200)]
novatel: Fix stale control channel after hot-unplug

13 years agospeedup: Fix stale control channel after hot-unplug
Marcel Holtmann [Fri, 29 Jul 2011 13:17:06 +0000 (15:17 +0200)]
speedup: Fix stale control channel after hot-unplug

13 years agozte: Fix stale control channel after hot-unplug
Marcel Holtmann [Fri, 29 Jul 2011 13:16:00 +0000 (15:16 +0200)]
zte: Fix stale control channel after hot-unplug

13 years agohuawei: Fix stale PCUI channel after hot-unplug
Marcel Holtmann [Fri, 29 Jul 2011 13:12:59 +0000 (15:12 +0200)]
huawei: Fix stale PCUI channel after hot-unplug

13 years agohuawei: Style cleanup for comments
Marcel Holtmann [Fri, 29 Jul 2011 13:14:30 +0000 (15:14 +0200)]
huawei: Style cleanup for comments

13 years agohuawei: Shutdown the modem within disable callback
Marcel Holtmann [Fri, 29 Jul 2011 12:56:41 +0000 (14:56 +0200)]
huawei: Shutdown the modem within disable callback

13 years agoudev: Add extra debug statements for device actions
Marcel Holtmann [Fri, 29 Jul 2011 12:55:56 +0000 (14:55 +0200)]
udev: Add extra debug statements for device actions

13 years agomodem: Add some more debug outputs
Marcel Holtmann [Fri, 29 Jul 2011 12:30:58 +0000 (14:30 +0200)]
modem: Add some more debug outputs

13 years agomain: Print message when starting to shutdown
Marcel Holtmann [Fri, 29 Jul 2011 12:12:18 +0000 (14:12 +0200)]
main: Print message when starting to shutdown

13 years agoudev: Report problems with the udev monitor channel
Marcel Holtmann [Fri, 29 Jul 2011 12:08:28 +0000 (14:08 +0200)]
udev: Report problems with the udev monitor channel

13 years agoatmodem: Add Huawei specific technology reporting
Marcel Holtmann [Fri, 29 Jul 2011 11:11:44 +0000 (13:11 +0200)]
atmodem: Add Huawei specific technology reporting

13 years agoatmodem: Add Huawei specific GPRS bearer notifications
Marcel Holtmann [Fri, 29 Jul 2011 11:11:17 +0000 (13:11 +0200)]
atmodem: Add Huawei specific GPRS bearer notifications

13 years agoRelease 0.53 0.53
Marcel Holtmann [Thu, 28 Jul 2011 22:32:15 +0000 (00:32 +0200)]
Release 0.53

13 years agoudev: Assign 12d1:140b to Huawei CDMA modem driver
Denis Kenzior [Thu, 28 Jul 2011 20:56:55 +0000 (22:56 +0200)]
udev: Assign 12d1:140b to Huawei CDMA modem driver

A simple Google search revealed that 12d1:140b is only used by CDMA
devices from Huawei. Mainly the EC1260 and EC126 and so just assign
the CDMA driver to it.

13 years agospeedup: delay &C0.
Bertrand Aygon [Thu, 28 Jul 2011 14:16:10 +0000 (16:16 +0200)]
speedup: delay &C0.

13 years agospeedup: remove online/offline mechanism.
Bertrand Aygon [Thu, 28 Jul 2011 14:16:09 +0000 (16:16 +0200)]
speedup: remove online/offline mechanism.

13 years agohuawei: Complete rewrite to better support state transitions
Marcel Holtmann [Thu, 28 Jul 2011 20:06:29 +0000 (22:06 +0200)]
huawei: Complete rewrite to better support state transitions

When switching from offline into online mode, the SIM card access
gets temporarily disabled by the modem firmware. To work around
this limitation poll the SIM card state.

13 years agoudev: Add support for SpeedUp 7300 EVDO modem.
Bertrand Aygon [Thu, 28 Jul 2011 12:43:34 +0000 (14:43 +0200)]
udev: Add support for SpeedUp 7300 EVDO modem.

13 years agogobi: Add support for simplified dialup mode
Marcel Holtmann [Wed, 27 Jul 2011 22:03:46 +0000 (00:03 +0200)]
gobi: Add support for simplified dialup mode

13 years agodunmodem: Add support for dialup network registration
Marcel Holtmann [Wed, 27 Jul 2011 22:02:11 +0000 (00:02 +0200)]
dunmodem: Add support for dialup network registration

13 years agonetwork: Force auto-only mode if manual registration is not supported
Marcel Holtmann [Wed, 27 Jul 2011 21:54:37 +0000 (23:54 +0200)]
network: Force auto-only mode if manual registration is not supported

If the network registration driver decides to not provide a manual
registration method, then force the mode to auto-only.

13 years agodunmodem: Add skeleton for dialup modem driver
Marcel Holtmann [Wed, 27 Jul 2011 20:13:27 +0000 (22:13 +0200)]
dunmodem: Add skeleton for dialup modem driver

13 years agospeedup: Send CFUN=4 when enabling the modem
Marcel Holtmann [Wed, 27 Jul 2011 18:45:03 +0000 (20:45 +0200)]
speedup: Send CFUN=4 when enabling the modem

13 years agozte: Use at_util's cpin polling implementation.
Bertrand Aygon [Wed, 27 Jul 2011 18:07:30 +0000 (20:07 +0200)]
zte: Use at_util's cpin polling implementation.

13 years agospeedup: Use at_util's cpin polling implementation.
Bertrand Aygon [Wed, 27 Jul 2011 16:54:09 +0000 (18:54 +0200)]
speedup: Use at_util's cpin polling implementation.

13 years agozte: Delay sending of AT&C0 to disable data carrier detect
Marcel Holtmann [Wed, 27 Jul 2011 16:02:04 +0000 (18:02 +0200)]
zte: Delay sending of AT&C0 to disable data carrier detect

The &C0 can not be send as part of the initial modem init string
since then it return with an error. Also sending it right after seems
to end up in a race condition with the modem init.

So send AT&C0 on both channel after AT+CFUN completed.

13 years agotest: add script to set credentials for cdma connection
Guillaume Zajac [Wed, 27 Jul 2011 14:19:29 +0000 (16:19 +0200)]
test: add script to set credentials for cdma connection

13 years agogobi: Add timeout for modem enabling handling
Marcel Holtmann [Wed, 27 Jul 2011 14:29:52 +0000 (16:29 +0200)]
gobi: Add timeout for modem enabling handling

Some GOBI cards stop responding to AT commands when RFKILL has been
enabled. In that case just timeout after 5 seconds.

13 years agoatmodem: Add vendor entry for SpeedUp modems
Philippe Nunes [Fri, 22 Jul 2011 16:15:26 +0000 (18:15 +0200)]
atmodem: Add vendor entry for SpeedUp modems

13 years agogobi: Fix error handling with device enabling and disabling
Marcel Holtmann [Wed, 27 Jul 2011 14:09:11 +0000 (16:09 +0200)]
gobi: Fix error handling with device enabling and disabling

13 years agohuawei: add a debug info to help debugging.
Bertrand Aygon [Wed, 27 Jul 2011 12:02:19 +0000 (14:02 +0200)]
huawei: add a debug info to help debugging.

13 years agohuaweicdma: open 2 ttys, to use a dedicated one for PPP.
Bertrand Aygon [Wed, 27 Jul 2011 08:07:38 +0000 (10:07 +0200)]
huaweicdma: open 2 ttys, to use a dedicated one for PPP.

13 years agospeedupcdma: open 2 ttys, to use a dedicated one for PPP.
Bertrand Aygon [Wed, 27 Jul 2011 08:06:57 +0000 (10:06 +0200)]
speedupcdma: open 2 ttys, to use a dedicated one for PPP.

13 years agonovatel: Fix missing error handling for CFUN failure
Marcel Holtmann [Wed, 27 Jul 2011 13:46:30 +0000 (15:46 +0200)]
novatel: Fix missing error handling for CFUN failure

13 years agosierra: Fix disable and enable error handling
Marcel Holtmann [Wed, 27 Jul 2011 13:41:37 +0000 (15:41 +0200)]
sierra: Fix disable and enable error handling

13 years agonokia: Remove some unneeded NULL pointer checks
Marcel Holtmann [Wed, 27 Jul 2011 13:37:21 +0000 (15:37 +0200)]
nokia: Remove some unneeded NULL pointer checks

13 years agohfpmodem: fix network status
Frédéric Danis [Tue, 26 Jul 2011 14:56:53 +0000 (16:56 +0200)]
hfpmodem: fix network status

When receiving roaming indicator update to 0 (no roaming) network
registration status should be updated with latest value of service
indicator.

13 years agohfpmodem: fix callheld indicator
Frédéric Danis [Mon, 25 Jul 2011 14:42:19 +0000 (16:42 +0200)]
hfpmodem: fix callheld indicator

Callheld move from 1 (active and held calls) to 2 (all calls on hold) may
result of:
- active call has been dropped by remote,
- an intermediate state during a call swap which will be followed by a
  move back to 1.
So, wait a little before checking calls state.

13 years agostk: Fix missing break statement
Denis Kenzior [Tue, 26 Jul 2011 03:59:06 +0000 (22:59 -0500)]
stk: Fix missing break statement

13 years agovoicecall: Be more paranoid and null terminate
Denis Kenzior [Tue, 26 Jul 2011 03:57:08 +0000 (22:57 -0500)]
voicecall: Be more paranoid and null terminate

13 years agovoicecall: Use defined constants
Denis Kenzior [Tue, 26 Jul 2011 03:55:01 +0000 (22:55 -0500)]
voicecall: Use defined constants

13 years agostk: Make sure to set cancel_cmd
Denis Kenzior [Tue, 26 Jul 2011 03:45:55 +0000 (22:45 -0500)]
stk: Make sure to set cancel_cmd

For handled commands, in case the terminal response is not reported by
the modem, we must set the cancel_cmd variable so the command is
canceled properly.

This patch also modifies the behavior so that pending_cmd is freed,
since stk_proactive_command_cancel expects cancel_cmd to be set if
pending_cmd is not NULL.

13 years agostk: Remove code that does nothing
Denis Kenzior [Tue, 26 Jul 2011 03:25:05 +0000 (22:25 -0500)]
stk: Remove code that does nothing

13 years agostk: Fix possible crash
Denis Kenzior [Tue, 26 Jul 2011 03:20:43 +0000 (22:20 -0500)]
stk: Fix possible crash

We can't call stk_command_free on a NULL object

13 years agostk: Handle set up call in handled_notify
Jeevaka Badrappan [Mon, 25 Jul 2011 18:15:27 +0000 (11:15 -0700)]
stk: Handle set up call in handled_notify

13 years agovoicecall: api for set/clear alpha and icon id
Jeevaka Badrappan [Mon, 25 Jul 2011 18:15:26 +0000 (11:15 -0700)]
voicecall: api for set/clear alpha and icon id

13 years agogatchat: Fix port settings and debugging for QCDM test tool
Marcel Holtmann [Tue, 26 Jul 2011 14:00:15 +0000 (16:00 +0200)]
gatchat: Fix port settings and debugging for QCDM test tool

13 years agogatchat: Add helper for opening QCDM ports
Marcel Holtmann [Tue, 26 Jul 2011 13:59:47 +0000 (15:59 +0200)]
gatchat: Add helper for opening QCDM ports

13 years agogatchat: Fix handling of HDLC debug output
Marcel Holtmann [Tue, 26 Jul 2011 13:53:06 +0000 (15:53 +0200)]
gatchat: Fix handling of HDLC debug output

13 years agospeedup: Use AT&C0 to disable data carrier detect
Marcel Holtmann [Tue, 26 Jul 2011 11:32:46 +0000 (13:32 +0200)]
speedup: Use AT&C0 to disable data carrier detect

When the DCD is disabled the modem does not hangup anymore after the
data connection. So all workarounds due to TTY hangup can be removed.

13 years agolinktop: Use AT&C0 to disable data carrier detect
Marcel Holtmann [Tue, 26 Jul 2011 11:24:41 +0000 (13:24 +0200)]
linktop: Use AT&C0 to disable data carrier detect

When the DCD is disabled the modem does not hangup anymore after the
data connection. So all workarounds due to TTY hangup can be removed.

13 years agozte: Use AT&C0 to disable data carrier detect
Marcel Holtmann [Tue, 26 Jul 2011 11:14:29 +0000 (13:14 +0200)]
zte: Use AT&C0 to disable data carrier detect

When the DCD is disabled the modem does not hangup anymore after the
data connection. So all workarounds due to TTY hangup can be removed.

13 years agohuaweicdma: remove unneeded include.
Bertrand Aygon [Tue, 26 Jul 2011 09:09:54 +0000 (11:09 +0200)]
huaweicdma: remove unneeded include.

13 years agospeedupcdma: remove unneeded include.
Bertrand Aygon [Tue, 26 Jul 2011 09:09:53 +0000 (11:09 +0200)]
speedupcdma: remove unneeded include.

13 years agoTODO: add HFP AG tasks related to BlueZ/PA
Frédéric Danis [Mon, 25 Jul 2011 14:27:24 +0000 (16:27 +0200)]
TODO: add HFP AG tasks related to BlueZ/PA

13 years agoatmodem: Add support for Huawei network time reports
Marcel Holtmann [Mon, 25 Jul 2011 14:53:03 +0000 (16:53 +0200)]
atmodem: Add support for Huawei network time reports

13 years agoudev: Fix race condition with Novatel modem detection
Marcel Holtmann [Mon, 25 Jul 2011 02:10:14 +0000 (04:10 +0200)]
udev: Fix race condition with Novatel modem detection

13 years agonovatel: Blacklist the NO CARRIER terminator for control channel
Marcel Holtmann [Mon, 25 Jul 2011 01:48:25 +0000 (03:48 +0200)]
novatel: Blacklist the NO CARRIER terminator for control channel

The Novatel cards will send NO CARRIER to all channels. This confuses
setting device into offline mode while still having a data connection.

13 years agogatchat: Add terminator blacklisting
Denis Kenzior [Sun, 24 Jul 2011 21:15:42 +0000 (16:15 -0500)]
gatchat: Add terminator blacklisting

13 years agonokia: Use AT&C0 to disable data carrier detect
Marcel Holtmann [Mon, 25 Jul 2011 01:43:07 +0000 (03:43 +0200)]
nokia: Use AT&C0 to disable data carrier detect

When the DCD is disabled the modem does not hangup anymore after the
data connection. This allows for simpler connection handling and it
allows to remove all TTY hangup work-arounds.

13 years agoudev: Fix interfaces numbers for Nokia data cards
Marcel Holtmann [Mon, 25 Jul 2011 01:42:46 +0000 (03:42 +0200)]
udev: Fix interfaces numbers for Nokia data cards

13 years agoudev: Replace bInterfaceNumber with ID_USB_INTERFACE_NUM
Marcel Holtmann [Mon, 25 Jul 2011 01:34:58 +0000 (03:34 +0200)]
udev: Replace bInterfaceNumber with ID_USB_INTERFACE_NUM

13 years agonovatel: Use AT&C0 to disable data carrier detect
Marcel Holtmann [Mon, 25 Jul 2011 01:16:38 +0000 (03:16 +0200)]
novatel: Use AT&C0 to disable data carrier detect

When the DCD is disabled the modem does not hangup anymore after the
data connection. This allows for simpler connection handling and it
allows to remove all TTY hangup work-arounds.

13 years agotest: Increase the context activation timeout
Marcel Holtmann [Sun, 24 Jul 2011 23:49:06 +0000 (01:49 +0200)]
test: Increase the context activation timeout

13 years agohuaweimodem: Remove the broken NDIS port handling
Marcel Holtmann [Sun, 24 Jul 2011 23:36:51 +0000 (01:36 +0200)]
huaweimodem: Remove the broken NDIS port handling

13 years agoudev: Remove broken Huawei support for NDIS port
Marcel Holtmann [Sun, 24 Jul 2011 23:36:12 +0000 (01:36 +0200)]
udev: Remove broken Huawei support for NDIS port

13 years agohuawei: Remove leftover from HasVoice flag
Marcel Holtmann [Sun, 24 Jul 2011 23:35:02 +0000 (01:35 +0200)]
huawei: Remove leftover from HasVoice flag

13 years agohuawei: Remove broken handling for NDIS support
Marcel Holtmann [Sun, 24 Jul 2011 23:34:41 +0000 (01:34 +0200)]
huawei: Remove broken handling for NDIS support

13 years agohuawei: Check supported offline mode and fix error behavior
Marcel Holtmann [Sun, 24 Jul 2011 20:31:15 +0000 (22:31 +0200)]
huawei: Check supported offline mode and fix error behavior