Marcel Holtmann [Thu, 4 Aug 2011 12:01:03 +0000 (14:01 +0200)]
huawei: Check for AT^RFSWITCH support to determine offline command
Using AT+CFUN=7 (if supported) to switch into offline mode has a problem
with older modems. Sending AT+CFUN=7 with a data connection active has
the problem that it never terminates with OK or ERROR.
Devices that support AT^RFSWITCH are known to handle this properly. So
only when that command is supported, use AT+CFUN=7 for offline mode. If
it is not supported, then keep using AT+CFUN=5 to switch the device into
offline mode.
Marcel Holtmann [Thu, 4 Aug 2011 11:27:29 +0000 (13:27 +0200)]
huawei: Add TOO MANY PARAMETERS terminator
Marcel Holtmann [Thu, 4 Aug 2011 00:43:06 +0000 (02:43 +0200)]
zte: Switch to offline mode first before disabling modem
Marcel Holtmann [Thu, 4 Aug 2011 00:15:56 +0000 (02:15 +0200)]
zte: Blacklist the NO CARRIER terminator for control channel
The ZTE cards will send NO CARRIER to all channels. This confuses
setting device into offline mode while still having a data connection.
Marcel Holtmann [Thu, 4 Aug 2011 00:14:46 +0000 (02:14 +0200)]
udev: For ZTE modems with 5 interfaces, use 4th one for PPP
Marcel Holtmann [Wed, 3 Aug 2011 22:39:29 +0000 (00:39 +0200)]
atmodem: Add support for ZTE technology reporting
Marcel Holtmann [Wed, 3 Aug 2011 22:07:03 +0000 (00:07 +0200)]
zte: Request PCB information when modem gets enabled
Marcel Holtmann [Wed, 3 Aug 2011 21:55:06 +0000 (23:55 +0200)]
zte: Set ZTE vendor quirk for SIM atom
Marcel Holtmann [Wed, 3 Aug 2011 21:54:39 +0000 (23:54 +0200)]
atmodem: Enable support for PIN retry counters of ZTE modems
Marcel Holtmann [Wed, 3 Aug 2011 21:26:53 +0000 (23:26 +0200)]
atmodem: Enable timezone reporting for ZTE modems
Marcel Holtmann [Wed, 3 Aug 2011 21:13:11 +0000 (23:13 +0200)]
atmodem: The ZTE dongles send LAC and CI as unquoted strings
Marcel Holtmann [Wed, 3 Aug 2011 21:12:55 +0000 (23:12 +0200)]
zte: Use vendor quirk for GPRS atom
Marcel Holtmann [Wed, 3 Aug 2011 20:39:11 +0000 (22:39 +0200)]
speedup: Use vendor quirk for network registration and GPRS atoms
Marcel Holtmann [Wed, 3 Aug 2011 20:37:16 +0000 (22:37 +0200)]
atmodem: The Speedup dongles send LAC and CI as unquoted strings
Mario Tokarz [Wed, 3 Aug 2011 13:04:20 +0000 (15:04 +0200)]
dunmodem: Add stub for gprs.
Guillaume Zajac [Wed, 3 Aug 2011 13:44:31 +0000 (15:44 +0200)]
devinfo: Use correct prefix for cdma
Bertrand Aygon [Wed, 3 Aug 2011 16:33:48 +0000 (18:33 +0200)]
cdmamodem: remove an unneeded buffer and sprintf.
Bertrand Aygon [Tue, 2 Aug 2011 12:45:17 +0000 (14:45 +0200)]
dbus: Add CDMA netreg atom interface name
Marcel Holtmann [Wed, 3 Aug 2011 16:54:27 +0000 (18:54 +0200)]
udev: Add rule for 4G Systems W14 dongle
Mario Tokarz [Wed, 3 Aug 2011 11:48:29 +0000 (13:48 +0200)]
bluetooth: Add UUID for DUN.
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
Marcel Holtmann [Wed, 3 Aug 2011 12:30:41 +0000 (14:30 +0200)]
zte: 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
Marcel Holtmann [Wed, 3 Aug 2011 12:27:17 +0000 (14:27 +0200)]
atutil: Handle empty SIM state polling request gracefully
Marcel Holtmann [Wed, 3 Aug 2011 12:26:23 +0000 (14:26 +0200)]
huawei: Fix race condition with enable polling
Marcel Holtmann [Wed, 3 Aug 2011 12:23:21 +0000 (14:23 +0200)]
huawei: Fix race condition with online enable polling
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.
Marcel Holtmann [Fri, 29 Jul 2011 18:50:37 +0000 (20:50 +0200)]
mbmmodem: Set baud rate to 115200 for GPS interface
Marcel Holtmann [Fri, 29 Jul 2011 15:36:08 +0000 (17:36 +0200)]
novatel: Enable support for SIM phonebook
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.
Guillaume Zajac [Fri, 29 Jul 2011 13:49:09 +0000 (15:49 +0200)]
connman: Fix crash due to uninitialized path
Guillaume Zajac [Fri, 29 Jul 2011 12:49:56 +0000 (14:49 +0200)]
connman: Fix crash in request_reply
Guillaume Zajac [Fri, 29 Jul 2011 12:49:56 +0000 (14:49 +0200)]
connman: Fix crash in parse_reply
Bertrand Aygon [Fri, 29 Jul 2011 13:58:11 +0000 (15:58 +0200)]
zte: delay the sending of &C0 after SIM is ready.
Bertrand Aygon [Fri, 29 Jul 2011 13:14:46 +0000 (15:14 +0200)]
udev: add support for Olive V-ME101 HSIA modem
Bertrand Aygon [Fri, 29 Jul 2011 12:59:31 +0000 (14:59 +0200)]
udev: add support for Vodafone K3570-Z modem
Marcel Holtmann [Fri, 29 Jul 2011 13:26:13 +0000 (15:26 +0200)]
huaweicdma: Fix stale PCUI 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
Marcel Holtmann [Fri, 29 Jul 2011 13:24:33 +0000 (15:24 +0200)]
gobi: 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
Marcel Holtmann [Fri, 29 Jul 2011 13:19:53 +0000 (15:19 +0200)]
novatel: 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
Marcel Holtmann [Fri, 29 Jul 2011 13:16:00 +0000 (15:16 +0200)]
zte: Fix stale control 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
Marcel Holtmann [Fri, 29 Jul 2011 13:14:30 +0000 (15:14 +0200)]
huawei: Style cleanup for comments
Marcel Holtmann [Fri, 29 Jul 2011 12:56:41 +0000 (14:56 +0200)]
huawei: Shutdown the modem within disable callback
Marcel Holtmann [Fri, 29 Jul 2011 12:55:56 +0000 (14:55 +0200)]
udev: Add extra debug statements for device actions
Marcel Holtmann [Fri, 29 Jul 2011 12:30:58 +0000 (14:30 +0200)]
modem: Add some more debug outputs
Marcel Holtmann [Fri, 29 Jul 2011 12:12:18 +0000 (14:12 +0200)]
main: Print message when starting to shutdown
Marcel Holtmann [Fri, 29 Jul 2011 12:08:28 +0000 (14:08 +0200)]
udev: Report problems with the udev monitor channel
Marcel Holtmann [Fri, 29 Jul 2011 11:11:44 +0000 (13:11 +0200)]
atmodem: Add Huawei specific technology reporting
Marcel Holtmann [Fri, 29 Jul 2011 11:11:17 +0000 (13:11 +0200)]
atmodem: Add Huawei specific GPRS bearer notifications
Marcel Holtmann [Thu, 28 Jul 2011 22:32:15 +0000 (00:32 +0200)]
Release 0.53
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.
Bertrand Aygon [Thu, 28 Jul 2011 14:16:10 +0000 (16:16 +0200)]
speedup: delay &C0.
Bertrand Aygon [Thu, 28 Jul 2011 14:16:09 +0000 (16:16 +0200)]
speedup: remove online/offline mechanism.
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.
Bertrand Aygon [Thu, 28 Jul 2011 12:43:34 +0000 (14:43 +0200)]
udev: Add support for SpeedUp 7300 EVDO modem.
Marcel Holtmann [Wed, 27 Jul 2011 22:03:46 +0000 (00:03 +0200)]
gobi: Add support for simplified dialup mode
Marcel Holtmann [Wed, 27 Jul 2011 22:02:11 +0000 (00:02 +0200)]
dunmodem: Add support for dialup network registration
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.
Marcel Holtmann [Wed, 27 Jul 2011 20:13:27 +0000 (22:13 +0200)]
dunmodem: Add skeleton for dialup modem driver
Marcel Holtmann [Wed, 27 Jul 2011 18:45:03 +0000 (20:45 +0200)]
speedup: Send CFUN=4 when enabling the modem
Bertrand Aygon [Wed, 27 Jul 2011 18:07:30 +0000 (20:07 +0200)]
zte: 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.
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.
Guillaume Zajac [Wed, 27 Jul 2011 14:19:29 +0000 (16:19 +0200)]
test: add script to set credentials for cdma connection
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.
Philippe Nunes [Fri, 22 Jul 2011 16:15:26 +0000 (18:15 +0200)]
atmodem: Add vendor entry for SpeedUp modems
Marcel Holtmann [Wed, 27 Jul 2011 14:09:11 +0000 (16:09 +0200)]
gobi: Fix error handling with device enabling and disabling
Bertrand Aygon [Wed, 27 Jul 2011 12:02:19 +0000 (14:02 +0200)]
huawei: add a debug info to help debugging.
Bertrand Aygon [Wed, 27 Jul 2011 08:07:38 +0000 (10:07 +0200)]
huaweicdma: 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.
Marcel Holtmann [Wed, 27 Jul 2011 13:46:30 +0000 (15:46 +0200)]
novatel: Fix missing error handling for CFUN failure
Marcel Holtmann [Wed, 27 Jul 2011 13:41:37 +0000 (15:41 +0200)]
sierra: Fix disable and enable error handling
Marcel Holtmann [Wed, 27 Jul 2011 13:37:21 +0000 (15:37 +0200)]
nokia: Remove some unneeded NULL pointer checks
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.
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.
Denis Kenzior [Tue, 26 Jul 2011 03:59:06 +0000 (22:59 -0500)]
stk: Fix missing break statement
Denis Kenzior [Tue, 26 Jul 2011 03:57:08 +0000 (22:57 -0500)]
voicecall: Be more paranoid and null terminate
Denis Kenzior [Tue, 26 Jul 2011 03:55:01 +0000 (22:55 -0500)]
voicecall: Use defined constants
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.
Denis Kenzior [Tue, 26 Jul 2011 03:25:05 +0000 (22:25 -0500)]
stk: Remove code that does nothing
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
Jeevaka Badrappan [Mon, 25 Jul 2011 18:15:27 +0000 (11:15 -0700)]
stk: Handle set up call in handled_notify
Jeevaka Badrappan [Mon, 25 Jul 2011 18:15:26 +0000 (11:15 -0700)]
voicecall: api for set/clear alpha and icon id
Marcel Holtmann [Tue, 26 Jul 2011 14:00:15 +0000 (16:00 +0200)]
gatchat: Fix port settings and debugging for QCDM test tool
Marcel Holtmann [Tue, 26 Jul 2011 13:59:47 +0000 (15:59 +0200)]
gatchat: Add helper for opening QCDM ports
Marcel Holtmann [Tue, 26 Jul 2011 13:53:06 +0000 (15:53 +0200)]
gatchat: Fix handling of HDLC debug output
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.
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.
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.
Bertrand Aygon [Tue, 26 Jul 2011 09:09:54 +0000 (11:09 +0200)]
huaweicdma: remove unneeded include.
Bertrand Aygon [Tue, 26 Jul 2011 09:09:53 +0000 (11:09 +0200)]
speedupcdma: remove unneeded include.
Frédéric Danis [Mon, 25 Jul 2011 14:27:24 +0000 (16:27 +0200)]
TODO: add HFP AG tasks related to BlueZ/PA
Marcel Holtmann [Mon, 25 Jul 2011 14:53:03 +0000 (16:53 +0200)]
atmodem: Add support for Huawei network time reports
Marcel Holtmann [Mon, 25 Jul 2011 02:10:14 +0000 (04:10 +0200)]
udev: Fix race condition with Novatel modem detection
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.
Denis Kenzior [Sun, 24 Jul 2011 21:15:42 +0000 (16:15 -0500)]
gatchat: Add terminator blacklisting
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.