Commit Graph

6211 Commits

Author SHA1 Message Date
Denis Kenzior 7f51df4d03 doc: Clarify CallRemoved behavior 2012-04-19 08:58:20 -05:00
Denis Kenzior 8c3569c78f doc: Clarify Interfaces property 2012-04-19 08:50:26 -05:00
Mikel Astiz c9d3ce5c22 hfp_hf: Fix modifying hash table while iterating
Calling ofono_remove_modem() while iterating the hash table is not safe
given that it can modify the table in hfp_remove().

A simple way to reproduce the problem is to pair some Bluetooth phones
and remove the Bluetooth adapter, triggering a GLib-CRITICAL assertion.

This patch just removes the update of the hash table inside
hfp_remove(). This can be safe as long as all calls to
ofono_modem_remove() are accompanied by a hash table update. The only
example of this kind right now is hfp_agent_release().
2012-04-19 07:41:27 -05:00
Guillaume Zajac d0232dee06 atmodem: Poll SIM state after having entered PIN
We encountered the problem of CME ERROR 14: SIM busy on ZTE modems.
ZTE modems don't use SIM notification to check SIM state.
We poll SIM ready state before confirming PIN is entered.
2012-04-18 04:22:19 -05:00
Guillaume Zajac a3fc044be4 zte: Update to new sim_state_query API 2012-04-18 04:08:44 -05:00
Guillaume Zajac 8d92f0394f speedup: Update to new sim_state_query API 2012-04-18 04:08:29 -05:00
Guillaume Zajac 1d2432ac85 samsung: Update to new sim_state_query API 2012-04-18 04:08:15 -05:00
Guillaume Zajac fd5e7ed37e mbm: Update to new sim_state_query API 2012-04-18 04:08:02 -05:00
Guillaume Zajac 1666a5d2f2 alcatel: Update to new sim_state_query API 2012-04-18 04:07:43 -05:00
Guillaume Zajac fb92db81d4 atutil: Add destroy notify to sim_state_query 2012-04-18 04:06:43 -05:00
Bertrand Aygon ab6be24c58 speedup: enable online/offline support
Add speedup_set_online.
Add a polling mechanism since most speedup dongles failed in couple of
AT commands following the CFUN=1 when they are offline.
Cleanup online polling in case modem is removed during online process.
2012-04-18 04:02:43 -05:00
Nicolas Bertrand eb8645e6f5 speedup: Use speedup specific driver for ussd 2012-04-17 03:11:00 -05:00
Denis Kenzior 2bc5a791d7 speedup: No need to parse error 2012-04-16 13:15:52 -05:00
Denis Kenzior 8227642757 speedup: Remove ussd atom in case we fail to init 2012-04-16 13:15:52 -05:00
Denis Kenzior 77de440f28 atmodem: Remove ussd atom in case we fail to init 2012-04-16 13:15:52 -05:00
Nicolas Bertrand 7c5c0c1c40 Makefile: Add speedup modem target 2012-04-16 13:15:52 -05:00
Nicolas Bertrand a9cc215bc5 speedup: Add speedup driver to handle USSD 2012-04-16 13:15:52 -05:00
Marcel Holtmann 9d789c57d7 gdbus: Remove unneeded NEED_DBUS_WATCH_GET_UNIX_FD check 2012-04-16 17:57:08 +02:00
Marcel Holtmann 7cdc836250 build: Require D-Bus 1.4 or later 2012-04-16 17:56:45 +02:00
Marcel Holtmann 4ce0034803 modem: Add missing empty line 2012-04-12 12:09:32 +02:00
Denis Kenzior c3c2d2a715 AUTHORS: Mention Michael's contributions 2012-04-11 23:55:29 -05:00
Michael Brudevold ef25cf1adf hfpmodem: use full CLCC handling in dialing case
A call that moves from the dialing to active state before the +CLCC response
will not properly be added as a voicecall. This is because the dialing callback
was using simplified handling and only looked for calls in the dialing or
alerting state.

AT sequence that exhibited the failure (AG device was an iPhone accessing
visual voicemail):

> +CIND: ("service",(0-1)),("call",(0-1)),("callsetup",(0-3)),
("battchg",(0-5)),("signal",(0-5)),("roam",(0-1)),("callheld",(0-2))
...
> +CIEV: 3,2
< AT+CLCC
> +CIEV: 2,1
> +CIEV: 3,0
> +CLCC: 1,0,0,0,0,"**21153**",129,"Voicemail"
2012-04-11 23:54:38 -05:00
Philippe Nunes 09449f1e66 sms: Add ZTE quirk for CDS notifications 2012-04-06 11:05:48 -05:00
Bertrand Aygon de29df012f Add udev rules for SpeedUp U3501 2012-04-06 09:32:15 -05:00
Marcel Holtmann c23d4c7823 icera: Add skeleton for Icera modem plugin 2012-04-06 16:28:35 +02:00
Marcel Holtmann 19b187a654 udev: Add detection support for Icera based devices 2012-04-06 16:19:36 +02:00
Anderson Lizardo 9b26016a24 gdbus: Use destroy callback for service watch
Even though service watches accepted a "destroy" callback, they were
being ignored. This fix properly pass them along so they are called when
the watch is removed.
2012-04-05 08:07:35 -07:00
Syam Sidhardhan 2f232f8b02 gdbus: Fix white space coding style issue
- corrected the space before '{'
2012-04-05 08:07:28 -07:00
Gustavo Padovan f2ddbdebb9 update Gustavo's email address
The old one is not valid anymore
2012-04-04 07:58:00 -07:00
Bertrand Aygon 27992cd9a6 zte: Add support for radio settings 2012-03-26 16:51:24 -05:00
Denis Kenzior ccbccc9bd0 nwmodem: Remove atom if driver fails to init 2012-03-26 16:50:59 -05:00
Denis Kenzior 86e64128fa ifxmodem: Remove atom if driver fails to init 2012-03-26 16:50:46 -05:00
Denis Kenzior 979b244fcf hsomodem: Remove atom if driver fails to init 2012-03-26 16:50:36 -05:00
Denis Kenzior ab4cfc1070 ztemodem: Remove atom if driver fails to init 2012-03-26 16:50:11 -05:00
Denis Kenzior e9fc8c6411 ztemodem: Fix compile error
drivers/ztemodem/radio-settings.c:129: error: ‘value’ may be used
uninitialized in this function
2012-03-26 16:49:38 -05:00
Bertrand Aygon 75e3bb6167 ztemodem: Add radio settings support 2012-03-26 16:42:38 -05:00
Bertrand Aygon 87bda87830 Add ZTE modem driver 2012-03-26 16:38:19 -05:00
Jarkko Lehtoranta 8b11ee67d7 huaweimodem: Fix AT^DDSETEX=2 timing for voice calls
Voice output serial port is enabled on some Huawei models (e.g. E169)
without problems, but for example on E173u-2 it is never enabled
during an incoming call. There might also be other Huawei models
having the same issue.

I traced the issue down to "^DDSETEX" AT command, which is used
to notify the device to start streaming audio. It seems that Ofono
sends this command too early on incoming calls. The command should
always be sent *after* the dial "D" or answer "A" command. The patch
fixes this behavior and afterwards voice will also work on E173u-2.
2012-03-24 11:50:34 -07:00
Denis Kenzior 31e1b2e6ce sim: Don't use sprintf unnecessarily
Using sprintf for a single quote is quite wasteful
2012-03-23 08:28:37 -05:00
Denis Kenzior 95e7982938 sim: Fix up various coding style violations 2012-03-23 08:27:44 -05:00
Nicolas Bertrand ad29b6d18f sim: Use quoted string with AT+CRSM data parameter
Fix issue with some modems preventing to update elementary files
(speedup, ZTE, huawei, MBM)
2012-03-23 08:12:24 -05:00
Marcel Holtmann 63acbad39a swmodem: Add support for IPv6 and IPv4v6 contexts 2012-03-21 22:09:03 -07:00
Marcel Holtmann 9abf49fa2b udev: Only detect Sierra Wireless devices with DirectIP 2012-03-21 21:17:33 -07:00
Marcel Holtmann 1605dbadb4 sierra: Add support for DirectIP connections 2012-03-21 21:13:52 -07:00
Marcel Holtmann 81ad5ea8e0 swmodem: Add Sierra Wireless DirectIP support 2012-03-21 21:13:13 -07:00
Marcel Holtmann 82d0c258c3 swmodem: Add Sierra Wireless modem driver 2012-03-21 21:10:30 -07:00
Denis Kenzior ec5f9cb014 build: Require glib 2.28 2012-03-21 06:08:03 -05:00
Frédéric Danis 004c8200aa voicecall: Force callheld update after calls swap
In HFP spec, a callheld indicator update should be sent after swapping
calls, even if it stays to 1 (AG has both active and held calls).
2012-03-20 19:26:24 -05:00
Frédéric Danis 1f3935429d emulator: Force indicator event implementation 2012-03-20 19:20:22 -05:00
Marcel Holtmann 6b0880f8a7 isimodem: Remove includes of <glib/gtypes.h> 2012-03-19 16:12:36 -07:00