platform/upstream/ofono.git
12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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.

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

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

12 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.

12 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.

12 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

12 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

12 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.

12 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

12 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

12 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.

12 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.

12 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.

12 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

12 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.

12 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

12 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

12 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.

12 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.

12 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.

12 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

12 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

12 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

13 years agoudev: Remove voice setting flag from Huawei dongles
Marcel Holtmann [Sun, 24 Jul 2011 17:48:36 +0000 (19:48 +0200)]
udev: Remove voice setting flag from Huawei dongles

13 years agoudev: Use ID_USB_INTERFACE_NUM instead of OFONO_IFACE_NUM
Marcel Holtmann [Sun, 24 Jul 2011 16:35:55 +0000 (18:35 +0200)]
udev: Use ID_USB_INTERFACE_NUM instead of OFONO_IFACE_NUM

13 years agocdma-connman: fix the set_property Activate reply
Bertrand Aygon [Sun, 24 Jul 2011 06:05:01 +0000 (08:05 +0200)]
cdma-connman: fix the set_property Activate reply

13 years agocdmamodem: check for TUN/TAP devices in ConnMan atom.
Bertrand Aygon [Sun, 24 Jul 2011 03:32:42 +0000 (05:32 +0200)]
cdmamodem: check for TUN/TAP devices in ConnMan atom.

13 years agombm: Set baud rate to 115200 for TTY speed
Marcel Holtmann [Sun, 24 Jul 2011 14:09:45 +0000 (16:09 +0200)]
mbm: Set baud rate to 115200 for TTY speed

The Ericsson F5521gw is a bit picky with its TTY speed. All previous
cards do not need this setting, but this one does. To make things a
bit simpler, just set all Ericsson cards to a baud rate of 115200.

13 years agombm: Use AT&C0 to disable data carrier detect
Marcel Holtmann [Sun, 24 Jul 2011 13:27:00 +0000 (15:27 +0200)]
mbm: Use AT&C0 to disable data carrier detect

When the DCD is disabled the modem does not hangup anymore after the
data connection. This only affected the PPP connection used for MMS
context setups, but without the quirk the handling of MMS contexts is
a lot cleaner as well.

13 years agohuawei: Set slave channel for NW DEACT notifications
Marcel Holtmann [Sun, 24 Jul 2011 12:50:12 +0000 (14:50 +0200)]
huawei: Set slave channel for NW DEACT notifications

13 years agoatmodem: Add support for NW DEACT notifications on slave channel
Marcel Holtmann [Sun, 24 Jul 2011 12:48:39 +0000 (14:48 +0200)]
atmodem: Add support for NW DEACT notifications on slave channel

13 years agohuawei: Use AT&C0 to disable data carrier detect
Marcel Holtmann [Sun, 24 Jul 2011 10:59:14 +0000 (12:59 +0200)]
huawei: 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 agoifx: Fix race condition when online/offline operation fails
Marcel Holtmann [Sun, 24 Jul 2011 10:42:18 +0000 (12:42 +0200)]
ifx: Fix race condition when online/offline operation fails

13 years agoudev: Add support for Huawei E398 modems
Marcel Holtmann [Sat, 23 Jul 2011 22:39:16 +0000 (00:39 +0200)]
udev: Add support for Huawei E398 modems

13 years agoudev: Add detection support for Samsung LTE dongles
Marcel Holtmann [Sat, 23 Jul 2011 22:03:57 +0000 (00:03 +0200)]
udev: Add detection support for Samsung LTE dongles

13 years agoudev: add support for Huawei CDMA dongles.
Bertrand Aygon [Sat, 23 Jul 2011 04:45:50 +0000 (06:45 +0200)]
udev: add support for Huawei CDMA dongles.

13 years agombm: Use at_util's cpin polling implementation
Denis Kenzior [Fri, 22 Jul 2011 13:24:46 +0000 (08:24 -0500)]
mbm: Use at_util's cpin polling implementation

13 years agoatmodem: Implement generic CPIN polling
Denis Kenzior [Fri, 22 Jul 2011 13:18:02 +0000 (08:18 -0500)]
atmodem: Implement generic CPIN polling

13 years agonetwork: handle hfp operator change correctly
Denis Kenzior [Fri, 22 Jul 2011 09:51:16 +0000 (04:51 -0500)]
network: handle hfp operator change correctly

13 years agocdmamodem: send AT+GCAP to check devinfo.
Bertrand Aygon [Fri, 22 Jul 2011 04:28:04 +0000 (06:28 +0200)]
cdmamodem: send AT+GCAP to check devinfo.

13 years agoudev: Fix whitespace damage
Marcel Holtmann [Fri, 22 Jul 2011 09:19:19 +0000 (11:19 +0200)]
udev: Fix whitespace damage

13 years agoudev: add support for SpeedUp CDMA dongles.
Bertrand Aygon [Fri, 22 Jul 2011 03:57:20 +0000 (05:57 +0200)]
udev: add support for SpeedUp CDMA dongles.

13 years agovoicecall: remove usage of em_atd_number
Frédéric Danis [Thu, 21 Jul 2011 14:58:09 +0000 (16:58 +0200)]
voicecall: remove usage of em_atd_number

as emulator atom can only run with a 'ready' SIM,
use saved number instead of em_atd_number

13 years agohfp_ag: Minor style tweaks
Denis Kenzior [Fri, 22 Jul 2011 01:25:04 +0000 (20:25 -0500)]
hfp_ag: Minor style tweaks

13 years agohfp_ag: start server on sim 'ready' state
Frédéric Danis [Thu, 21 Jul 2011 14:58:08 +0000 (16:58 +0200)]
hfp_ag: start server on sim 'ready' state

update HFP AG server to start only when a modem has its SIM atom
in 'ready' state and has voice call capability

13 years agocdma-connman: Update to the new driver API
Guillaume Zajac [Thu, 21 Jul 2011 04:40:43 +0000 (06:40 +0200)]
cdma-connman: Update to the new driver API

13 years agocdma-connman: emit PropertyChanged signal
Denis Kenzior [Thu, 21 Jul 2011 09:36:47 +0000 (04:36 -0500)]
cdma-connman: emit PropertyChanged signal

When Username / Password are changed, we should emit the PropertyChanged
signal

13 years agocdma-connman: Add Username and Password properties
Guillaume Zajac [Thu, 21 Jul 2011 04:40:42 +0000 (06:40 +0200)]
cdma-connman: Add Username and Password properties