Commit Graph

5602 Commits

Author SHA1 Message Date
Marcel Holtmann a159a0f9fc 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.
2011-07-27 23:54:37 +02:00
Marcel Holtmann c9632f9817 dunmodem: Add skeleton for dialup modem driver 2011-07-27 22:13:27 +02:00
Marcel Holtmann 3180a4f5b1 speedup: Send CFUN=4 when enabling the modem 2011-07-27 20:45:03 +02:00
Bertrand Aygon d63d74b356 zte: Use at_util's cpin polling implementation. 2011-07-27 20:08:17 +02:00
Bertrand Aygon 946e30abb2 speedup: Use at_util's cpin polling implementation. 2011-07-27 20:05:23 +02:00
Marcel Holtmann 77ab26c61c 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.
2011-07-27 18:02:32 +02:00
Guillaume Zajac 0b71a71158 test: add script to set credentials for cdma connection 2011-07-27 16:32:55 +02:00
Marcel Holtmann 357499597e 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.
2011-07-27 16:29:52 +02:00
Philippe Nunes 13b41706d1 atmodem: Add vendor entry for SpeedUp modems 2011-07-27 16:13:04 +02:00
Marcel Holtmann 1143f228f5 gobi: Fix error handling with device enabling and disabling 2011-07-27 16:09:11 +02:00
Bertrand Aygon 4179c87069 huawei: add a debug info to help debugging. 2011-07-27 15:54:09 +02:00
Bertrand Aygon 8a3b76272c huaweicdma: open 2 ttys, to use a dedicated one for PPP. 2011-07-27 15:53:16 +02:00
Bertrand Aygon 10cf8a4a06 speedupcdma: open 2 ttys, to use a dedicated one for PPP. 2011-07-27 15:52:40 +02:00
Marcel Holtmann c3e78fc827 novatel: Fix missing error handling for CFUN failure 2011-07-27 15:47:16 +02:00
Marcel Holtmann 1a23051d0f sierra: Fix disable and enable error handling 2011-07-27 15:41:37 +02:00
Marcel Holtmann 6d9d9558fb nokia: Remove some unneeded NULL pointer checks 2011-07-27 15:37:21 +02:00
Frédéric Danis c6c7fc3b16 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.
2011-07-25 23:07:54 -05:00
Frédéric Danis 3b00f5aad7 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.
2011-07-25 23:06:16 -05:00
Denis Kenzior 968efe08ba stk: Fix missing break statement 2011-07-25 22:59:06 -05:00
Denis Kenzior fe757a5b83 voicecall: Be more paranoid and null terminate 2011-07-25 22:57:08 -05:00
Denis Kenzior 625045dcb1 voicecall: Use defined constants 2011-07-25 22:55:30 -05:00
Denis Kenzior 55279f16c2 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.
2011-07-25 22:45:55 -05:00
Denis Kenzior bb59d39539 stk: Remove code that does nothing 2011-07-25 22:25:05 -05:00
Denis Kenzior 0c42430f2b stk: Fix possible crash
We can't call stk_command_free on a NULL object
2011-07-25 22:21:46 -05:00
Jeevaka Badrappan f837bdc90a stk: Handle set up call in handled_notify 2011-07-25 21:44:55 -05:00
Jeevaka Badrappan 14b003c7d9 voicecall: api for set/clear alpha and icon id 2011-07-25 21:43:04 -05:00
Marcel Holtmann 73b711551c gatchat: Fix port settings and debugging for QCDM test tool 2011-07-26 16:02:24 +02:00
Marcel Holtmann 0f29c33c5b gatchat: Add helper for opening QCDM ports 2011-07-26 15:59:47 +02:00
Marcel Holtmann a58f01316b gatchat: Fix handling of HDLC debug output 2011-07-26 15:53:06 +02:00
Marcel Holtmann c6e25f65fc 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.
2011-07-26 13:32:46 +02:00
Marcel Holtmann b7e8db6dab 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.
2011-07-26 13:25:23 +02:00
Marcel Holtmann 60736a6e06 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.
2011-07-26 13:14:29 +02:00
Bertrand Aygon d81ca13097 huaweicdma: remove unneeded include. 2011-07-26 12:05:50 +02:00
Bertrand Aygon bb4e313b18 speedupcdma: remove unneeded include. 2011-07-26 12:05:20 +02:00
Frédéric Danis 24becdfee1 TODO: add HFP AG tasks related to BlueZ/PA 2011-07-25 01:28:13 -05:00
Marcel Holtmann 95c9e12da2 atmodem: Add support for Huawei network time reports 2011-07-25 16:53:03 +02:00
Marcel Holtmann 878ded6621 udev: Fix race condition with Novatel modem detection 2011-07-25 04:10:14 +02:00
Marcel Holtmann c6ee139f67 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.
2011-07-25 03:48:25 +02:00
Denis Kenzior 0471e3ec8d gatchat: Add terminator blacklisting 2011-07-25 03:44:56 +02:00
Marcel Holtmann a1baf7aa82 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.
2011-07-25 03:43:07 +02:00
Marcel Holtmann 1d303e3d38 udev: Fix interfaces numbers for Nokia data cards 2011-07-25 03:42:46 +02:00
Marcel Holtmann 28181a66ef udev: Replace bInterfaceNumber with ID_USB_INTERFACE_NUM 2011-07-25 03:34:58 +02:00
Marcel Holtmann 49fc5b973d 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.
2011-07-25 03:16:38 +02:00
Marcel Holtmann d5b7f832c5 test: Increase the context activation timeout 2011-07-25 01:49:06 +02:00
Marcel Holtmann 673844fe6a huaweimodem: Remove the broken NDIS port handling 2011-07-25 01:36:51 +02:00
Marcel Holtmann 63f1b9e9f5 udev: Remove broken Huawei support for NDIS port 2011-07-25 01:36:12 +02:00
Marcel Holtmann e2bac24cb5 huawei: Remove leftover from HasVoice flag 2011-07-25 01:35:02 +02:00
Marcel Holtmann e0f1249fcc huawei: Remove broken handling for NDIS support 2011-07-25 01:34:41 +02:00
Marcel Holtmann 626612a8bf huawei: Check supported offline mode and fix error behavior 2011-07-24 22:31:15 +02:00
Marcel Holtmann 235630e59c udev: Remove voice setting flag from Huawei dongles 2011-07-24 19:48:36 +02:00