platform/upstream/ofono.git
14 years agotest: Print interface name of static context configuration
Marcel Holtmann [Tue, 26 Oct 2010 15:20:47 +0000 (17:20 +0200)]
test: Print interface name of static context configuration

14 years agoifx: Add support for having three active GPRS contexts
Marcel Holtmann [Tue, 26 Oct 2010 15:05:23 +0000 (17:05 +0200)]
ifx: Add support for having three active GPRS contexts

The Infineon modem can at least support three active GPRS contexts in
M-RAW_IP mode. So use another DLC for the third context.

14 years agoifx: Use M-RAW_IP support only with internal multiplexer
Marcel Holtmann [Tue, 26 Oct 2010 15:00:52 +0000 (17:00 +0200)]
ifx: Use M-RAW_IP support only with internal multiplexer

The GPRS context can only be fully supported with the internal multiplexer
right now. So use M-RAW_IP support in that case. If using a kernel based
multiplexer, then no GPRS context is provided.

14 years agogatchat: A full support for TUN/TAP pipe and GAtRawIP
Marcel Holtmann [Tue, 26 Oct 2010 14:57:35 +0000 (16:57 +0200)]
gatchat: A full support for TUN/TAP pipe and GAtRawIP

14 years agogatchat: Remove unused write_watch variable of GAtHDLC
Marcel Holtmann [Tue, 26 Oct 2010 13:16:35 +0000 (15:16 +0200)]
gatchat: Remove unused write_watch variable of GAtHDLC

14 years agoifxmodem: Fix GPRS disconnect handling from network side
Marcel Holtmann [Tue, 26 Oct 2010 12:43:49 +0000 (14:43 +0200)]
ifxmodem: Fix GPRS disconnect handling from network side

14 years agogprs: Assign GPRS atom to GPRS context atom
Marcel Holtmann [Tue, 26 Oct 2010 12:03:47 +0000 (14:03 +0200)]
gprs: Assign GPRS atom to GPRS context atom

If the GPRS atom is not assigned to the GPRS context atom, then possible
network triggered activation crashes.

14 years agoTODO: Mark Play Tone task as done
Denis Kenzior [Mon, 25 Oct 2010 22:44:46 +0000 (17:44 -0500)]
TODO: Mark Play Tone task as done

14 years agostk: Default to general beep if no tone is provided
Denis Kenzior [Mon, 25 Oct 2010 22:42:41 +0000 (17:42 -0500)]
stk: Default to general beep if no tone is provided

According to section 6.6.5 of 102.223

14 years agostk: Handle the Play Tone proactive command.
Andrzej Zaborowski [Mon, 25 Oct 2010 05:51:27 +0000 (07:51 +0200)]
stk: Handle the Play Tone proactive command.

14 years agostk: Add duration_to_msecs to reduce duplication.
Andrzej Zaborowski [Mon, 25 Oct 2010 05:51:26 +0000 (07:51 +0200)]
stk: Add duration_to_msecs to reduce duplication.

14 years agovoicecall: Limit tone string length per request.
Andrzej Zaborowski [Mon, 25 Oct 2010 05:51:25 +0000 (07:51 +0200)]
voicecall: Limit tone string length per request.

Also change to avoid memcpying into a buffer.

14 years agogprs: Return busy if ops are potentially colliding
Denis Kenzior [Mon, 25 Oct 2010 21:31:46 +0000 (16:31 -0500)]
gprs: Return busy if ops are potentially colliding

14 years agotest: add deactivate-all
Denis Kenzior [Mon, 25 Oct 2010 20:48:55 +0000 (15:48 -0500)]
test: add deactivate-all

Uses ConnectionManager DeactivateAll

14 years agogprs: Implement DeactivateAll()
Denis Kenzior [Mon, 25 Oct 2010 20:39:41 +0000 (15:39 -0500)]
gprs: Implement DeactivateAll()

14 years agomanager: Don't show modems which are not registered
Denis Kenzior [Mon, 25 Oct 2010 20:38:15 +0000 (15:38 -0500)]
manager: Don't show modems which are not registered

14 years agomodem: Add ofono_modem_is_registered
Denis Kenzior [Mon, 25 Oct 2010 20:37:16 +0000 (15:37 -0500)]
modem: Add ofono_modem_is_registered

14 years agophonesim: Fix missing return from plugin init
Marcel Holtmann [Mon, 25 Oct 2010 21:14:05 +0000 (23:14 +0200)]
phonesim: Fix missing return from plugin init

14 years agohuaweimodem: Add bits and pieces for NDIS receive handling
Marcel Holtmann [Mon, 25 Oct 2010 21:10:31 +0000 (23:10 +0200)]
huaweimodem: Add bits and pieces for NDIS receive handling

14 years agoifxmodem: Fix handling of AT+XDNS with multiple contexts
Marcel Holtmann [Mon, 25 Oct 2010 20:51:09 +0000 (22:51 +0200)]
ifxmodem: Fix handling of AT+XDNS with multiple contexts

14 years agophonesim: Register modem driver before creating modems
Marcel Holtmann [Mon, 25 Oct 2010 20:33:18 +0000 (22:33 +0200)]
phonesim: Register modem driver before creating modems

14 years agophonesim: Support multiple contexts
Denis Kenzior [Mon, 25 Oct 2010 19:42:59 +0000 (14:42 -0500)]
phonesim: Support multiple contexts

14 years agogprs: Support multiple active contexts
Denis Kenzior [Mon, 25 Oct 2010 19:42:46 +0000 (14:42 -0500)]
gprs: Support multiple active contexts

14 years agophonesim: Enable dummy phonesim contexts
Denis Kenzior [Mon, 25 Oct 2010 18:59:58 +0000 (13:59 -0500)]
phonesim: Enable dummy phonesim contexts

14 years agobuild: Add example configuration for phonesim plugin
Marcel Holtmann [Mon, 25 Oct 2010 18:48:55 +0000 (20:48 +0200)]
build: Add example configuration for phonesim plugin

14 years agobuild: Remove modemconf plugin support
Marcel Holtmann [Mon, 25 Oct 2010 18:43:05 +0000 (20:43 +0200)]
build: Remove modemconf plugin support

14 years agobuild: Don't include phonesim plugin if disabled
Marcel Holtmann [Mon, 25 Oct 2010 18:32:04 +0000 (20:32 +0200)]
build: Don't include phonesim plugin if disabled

14 years agobuild: Add option to disable phonesim modem plugin
Marcel Holtmann [Mon, 25 Oct 2010 18:23:56 +0000 (20:23 +0200)]
build: Add option to disable phonesim modem plugin

14 years agophonesim: Don't use modem.conf for phonesim modems
Marcel Holtmann [Mon, 25 Oct 2010 18:12:32 +0000 (20:12 +0200)]
phonesim: Don't use modem.conf for phonesim modems

14 years agoTODO: Marking the Barred Dialing task as done
Jeevaka Badrappan [Mon, 25 Oct 2010 11:34:17 +0000 (04:34 -0700)]
TODO: Marking the Barred Dialing task as done

14 years agodoc: Add BarredDialing property
Jeevaka Badrappan [Mon, 25 Oct 2010 11:34:16 +0000 (04:34 -0700)]
doc: Add BarredDialing property

14 years agosim: Fix minor style issue
Denis Kenzior [Mon, 25 Oct 2010 15:37:22 +0000 (10:37 -0500)]
sim: Fix minor style issue

14 years agosim: add barred dialing support
Jeevaka Badrappan [Mon, 25 Oct 2010 11:34:15 +0000 (04:34 -0700)]
sim: add barred dialing support

14 years agosimutil: add Efbdn fileid to sim_fileid enum
Jeevaka Badrappan [Mon, 25 Oct 2010 11:34:14 +0000 (04:34 -0700)]
simutil: add Efbdn fileid to sim_fileid enum

14 years agoMention Mika's contributions
Marcel Holtmann [Mon, 25 Oct 2010 14:35:35 +0000 (16:35 +0200)]
Mention Mika's contributions

14 years agoradio settings: document FastDormancy property
Mika Liljeberg [Mon, 25 Oct 2010 13:28:06 +0000 (16:28 +0300)]
radio settings: document FastDormancy property

14 years agoatmodem: Enable time zone reporting for Option modems
Marcel Holtmann [Mon, 25 Oct 2010 00:03:00 +0000 (02:03 +0200)]
atmodem: Enable time zone reporting for Option modems

14 years agoatmodem: Enable time update reporting for MBM modems
Marcel Holtmann [Sun, 24 Oct 2010 19:48:56 +0000 (21:48 +0200)]
atmodem: Enable time update reporting for MBM modems

14 years agoifx: Detect when DLC shutdown happens
Marcel Holtmann [Sun, 24 Oct 2010 18:15:45 +0000 (20:15 +0200)]
ifx: Detect when DLC shutdown happens

In case one of the DLCs shuts down, the system has an undefined state
and thus just shutdown the whole device.

14 years agoifx: Detect modems stuck in multiplexer mode
Marcel Holtmann [Sun, 24 Oct 2010 18:00:32 +0000 (20:00 +0200)]
ifx: Detect modems stuck in multiplexer mode

When the initial AT commands on the master device don't respond, then
the modem is stuck in multiplexer mode. For now just report an error.

14 years agogprs: Handle failure of GPRS context atom drivers
Marcel Holtmann [Sun, 24 Oct 2010 15:14:16 +0000 (17:14 +0200)]
gprs: Handle failure of GPRS context atom drivers

The GRPS context atom drivers can return an error from their probe
callbacks. In that case gc->driver is NULL and will cause a crash
when trying to activate a context. So check that there is actually
a driver attached to that GPRS context.

14 years agosimfs: Fix issue with sim_fs_op_error
Jeevaka Badrappan [Sun, 24 Oct 2010 12:04:03 +0000 (05:04 -0700)]
simfs: Fix issue with sim_fs_op_error

14 years agohuaweimodem: Increase NDIS setup time to 20 seconds
Marcel Holtmann [Sun, 24 Oct 2010 13:35:45 +0000 (15:35 +0200)]
huaweimodem: Increase NDIS setup time to 20 seconds

14 years agombmmodem: Check IP address with AT+CGPADDR for older modems
Marcel Holtmann [Sun, 24 Oct 2010 12:55:50 +0000 (14:55 +0200)]
mbmmodem: Check IP address with AT+CGPADDR for older modems

14 years agoRelease 0.33 0.33
Marcel Holtmann [Sat, 23 Oct 2010 11:51:05 +0000 (13:51 +0200)]
Release 0.33

14 years agoifx: Use PPP based GPRS context if M-RAW_IP is not available
Marcel Holtmann [Sat, 23 Oct 2010 10:57:42 +0000 (12:57 +0200)]
ifx: Use PPP based GPRS context if M-RAW_IP is not available

14 years agoTODO: Mark html text task as done
Denis Kenzior [Sat, 23 Oct 2010 03:52:35 +0000 (22:52 -0500)]
TODO: Mark html text task as done

14 years agoTODO: Mark Send DTMF task as done
Denis Kenzior [Sat, 23 Oct 2010 03:50:48 +0000 (22:50 -0500)]
TODO: Mark Send DTMF task as done

14 years agostk: Nitpick some newline issues
Denis Kenzior [Sat, 23 Oct 2010 03:39:56 +0000 (22:39 -0500)]
stk: Nitpick some newline issues

14 years agostk: Apply STK text attributes as html
Andrzej Zaborowski [Thu, 21 Oct 2010 05:09:08 +0000 (07:09 +0200)]
stk: Apply STK text attributes as html

14 years agoatmodem: Delay return from send_dtmf
Andrzej Zaborowski [Thu, 21 Oct 2010 05:09:07 +0000 (07:09 +0200)]
atmodem: Delay return from send_dtmf

AT+VTS responds with an OK immediately, so add a wait in the driver
before returning so that core knows when the tone has finished.  Note
that some modems actually do wait against 27.007, and other modems
use a manufacturer specific AT command and the drivers will need to
handle accordingly.

14 years agostk: use null character instead of 0
Denis Kenzior [Sat, 23 Oct 2010 03:28:04 +0000 (22:28 -0500)]
stk: use null character instead of 0

Slightly better readability

14 years agostk: Remove reference to positive EINVAL
Denis Kenzior [Sat, 23 Oct 2010 03:25:20 +0000 (22:25 -0500)]
stk: Remove reference to positive EINVAL

Move it to the original call where it belongs

14 years agostk: Handle the Send DTMF proactive command
Andrzej Zaborowski [Thu, 21 Oct 2010 05:09:06 +0000 (07:09 +0200)]
stk: Handle the Send DTMF proactive command

The default_agent_notify and session_agent_notify changes below are
needed for respond_on_exit commands to be able to free up their
resources, reset alpha id, etc.  Commands other than Send DTMF that
use respond_on_exit are all associated with a agent method call and
get notified about agent exit in the callback.

14 years agovoicecall: __ofono_voicecall_tone_send internal api
Andrzej Zaborowski [Thu, 21 Oct 2010 05:09:05 +0000 (07:09 +0200)]
voicecall: __ofono_voicecall_tone_send internal api

This provides a way for other atoms to send DTMF tones during a call.
It is assumed that vc->driver->send_tone returns only after the tones
have finished being emitted.

In this version Dbus DTMF requests are in the same queue as STK
requests.

14 years agoTODO: Marking the FDN task as done
Denis Kenzior [Fri, 22 Oct 2010 17:14:49 +0000 (12:14 -0500)]
TODO: Marking the FDN task as done

14 years agosimfs: Fix issue with check_cached
Denis Kenzior [Fri, 22 Oct 2010 17:11:26 +0000 (12:11 -0500)]
simfs: Fix issue with check_cached

The only_info logic was inverted, causing us to always read from the
modem.

14 years agosim: Pass dbus types
Denis Kenzior [Fri, 22 Oct 2010 16:58:59 +0000 (11:58 -0500)]
sim: Pass dbus types

Can't really assume they're the same as glib types

14 years agosim: Get rid of unneeded empty line
Denis Kenzior [Fri, 22 Oct 2010 16:57:18 +0000 (11:57 -0500)]
sim: Get rid of unneeded empty line

14 years agosim: Break out common FDN property signaling
Denis Kenzior [Fri, 22 Oct 2010 16:56:35 +0000 (11:56 -0500)]
sim: Break out common FDN property signaling

14 years agosimfs: Use errno for simfs errors
Denis Kenzior [Fri, 22 Oct 2010 16:45:39 +0000 (11:45 -0500)]
simfs: Use errno for simfs errors

14 years agosimfs: No need to set these variables
Denis Kenzior [Fri, 22 Oct 2010 16:42:40 +0000 (11:42 -0500)]
simfs: No need to set these variables

14 years agosim: check existence of imsi-code
Petteri Tikander [Thu, 21 Oct 2010 14:58:13 +0000 (17:58 +0300)]
sim: check existence of imsi-code

For instance: when handling sim_get_properties
in PRE_SIM-state imsi is not received/stored.

14 years agosim: check if Fixed Dial is enabled in SIM-card
Petteri Tikander [Thu, 21 Oct 2010 14:58:11 +0000 (17:58 +0300)]
sim: check if Fixed Dial is enabled in SIM-card

If SIM-card is inserted, status is checked from EFsst
(is FDN activated) and EFadn (is ADN invalidated).
If USIM-card is inserted, status is checked from EFest
(is FDN activated).

If FD is enabled, halt SIM initialization procedure.
New property (FixedDialing) is added. If FD is enabled,
this has been signalled via DBUS.

14 years agosimfs: retrieve only EF-info without EF-contents
Petteri Tikander [Thu, 21 Oct 2010 14:58:09 +0000 (17:58 +0300)]
simfs: retrieve only EF-info without EF-contents

14 years agomodem: add debugs to monitor modem state changes
Petteri Tikander [Thu, 21 Oct 2010 14:58:12 +0000 (17:58 +0300)]
modem: add debugs to monitor modem state changes

14 years agoatmodem: Parse optional PLMN parameter of AT+COPS=? result
Marcel Holtmann [Thu, 21 Oct 2010 23:00:58 +0000 (01:00 +0200)]
atmodem: Parse optional PLMN parameter of AT+COPS=? result

The Infineon modem adds an optional <plmn_list> parameter after the
access technology parameter <AcT>. It is not always present, but when
present it makes the operator listing fail.

+COPS: (2,"T-Mobile D","TMO D","26201",0,0),(3,"E-Plus","E-Plus","26203",0,),(3,"Vodafone.de","Vodafone.de","26202",0,),(3,"o2 - de","o2 - de","26207",0,)

Not all networks have this parameter and maybe only the home network
has it anyway. And so far this feature seems to be Infineon specific,
but just in case, parse the parameter if present to make sure the
operator listing is available.

14 years agogisi: Use of DBG macro is not allowed
Marcel Holtmann [Thu, 21 Oct 2010 22:37:57 +0000 (00:37 +0200)]
gisi: Use of DBG macro is not allowed

14 years agoifxmodem: Use g_try_new0 when checking for the result
Marcel Holtmann [Thu, 21 Oct 2010 22:20:44 +0000 (00:20 +0200)]
ifxmodem: Use g_try_new0 when checking for the result

14 years agoTODO: add ipv6cp support task
Denis Kenzior [Thu, 21 Oct 2010 03:45:16 +0000 (22:45 -0500)]
TODO: add ipv6cp support task

14 years agoifxmodem: Fix compiler warnings in GPRS context driver
Marcel Holtmann [Thu, 21 Oct 2010 21:54:53 +0000 (23:54 +0200)]
ifxmodem: Fix compiler warnings in GPRS context driver

14 years agoifx: Add two GPRS contexts since the modem should support it
Marcel Holtmann [Thu, 21 Oct 2010 21:51:36 +0000 (23:51 +0200)]
ifx: Add two GPRS contexts since the modem should support it

14 years agoifx: Use Infineon specific GPRS context driver
Marcel Holtmann [Thu, 21 Oct 2010 19:54:04 +0000 (21:54 +0200)]
ifx: Use Infineon specific GPRS context driver

14 years agoifxmodem: Add support for Infineon GPRS context setup with M-RAW_IP
Marcel Holtmann [Thu, 21 Oct 2010 19:50:52 +0000 (21:50 +0200)]
ifxmodem: Add support for Infineon GPRS context setup with M-RAW_IP

This patch adds support for setting up a GPRS context and then switching
it into M-RAW_IP mode. The handling of the M-RAW_IP data stream is not
yet implemented.

14 years agotest: Add option to also enable other than the first context
Marcel Holtmann [Thu, 21 Oct 2010 19:44:51 +0000 (21:44 +0200)]
test: Add option to also enable other than the first context

14 years agonetreg: Allow strength notifys at all times
Aki Niemi [Thu, 21 Oct 2010 18:20:25 +0000 (21:20 +0300)]
netreg: Allow strength notifys at all times

14 years agoisimodem: Remove hack for notifying strength
Aki Niemi [Thu, 21 Oct 2010 18:18:56 +0000 (21:18 +0300)]
isimodem: Remove hack for notifying strength

14 years agoradio settings: Fix string to enum mapping
Aki Niemi [Thu, 21 Oct 2010 08:24:15 +0000 (11:24 +0300)]
radio settings: Fix string to enum mapping

14 years agogisi: Add method for verifying any resource
Mika Liljeberg [Wed, 6 Oct 2010 07:27:22 +0000 (10:27 +0300)]
gisi: Add method for verifying any resource

Add g_isi_verify_resource() function to GIsiClient for verifying
the reachability of an arbitrary resource.

14 years agogisi: store object handle for associated server
Mika Liljeberg [Tue, 5 Oct 2010 07:20:53 +0000 (10:20 +0300)]
gisi: store object handle for associated server

14 years agogisi: Allow subscribes towards any resources
Mika Liljeberg [Wed, 6 Oct 2010 11:28:29 +0000 (14:28 +0300)]
gisi: Allow subscribes towards any resources

Add methods to subscribe indications from an arbitrary resource.
Configured resource id is treated as the default. Also added separate
commit function for resource subscriptions in order to reduce the
number of subscription messages sent to the modem.

14 years agogisi: make timeout optional
Mika Liljeberg [Wed, 6 Oct 2010 08:17:56 +0000 (11:17 +0300)]
gisi: make timeout optional

14 years agogisi: Add sendto methods to GIsiClient
Mika Liljeberg [Mon, 4 Oct 2010 12:30:01 +0000 (15:30 +0300)]
gisi: Add sendto methods to GIsiClient

Add g_isi_vsendto() and g_isi_sendto() methods for sending messages to
an arbitrary Phonet address.

14 years agogatchat: Fix missing return value for g_at_chat_set_slave
Marcel Holtmann [Thu, 21 Oct 2010 18:34:13 +0000 (20:34 +0200)]
gatchat: Fix missing return value for g_at_chat_set_slave

14 years agoifx: Use Infineon specific phonebook vendor quirk
Marcel Holtmann [Thu, 21 Oct 2010 18:32:18 +0000 (20:32 +0200)]
ifx: Use Infineon specific phonebook vendor quirk

14 years agoatmodem: Add support for IFX specific phonebook ready notification
Marcel Holtmann [Thu, 21 Oct 2010 18:31:25 +0000 (20:31 +0200)]
atmodem: Add support for IFX specific phonebook ready notification

14 years agoatmodem: Use g_try_new0 when checking for the result
Marcel Holtmann [Thu, 21 Oct 2010 18:00:07 +0000 (20:00 +0200)]
atmodem: Use g_try_new0 when checking for the result

14 years agoifxmodem: Add skeleton for Infineon specific GPRS context driver
Marcel Holtmann [Thu, 21 Oct 2010 17:44:28 +0000 (19:44 +0200)]
ifxmodem: Add skeleton for Infineon specific GPRS context driver

14 years agogatchat: Add skeleton for GAtRawIP module
Marcel Holtmann [Thu, 21 Oct 2010 17:36:18 +0000 (19:36 +0200)]
gatchat: Add skeleton for GAtRawIP module

This adds the basic skeleton for a GAtRawIP support. It is only the
skeleton with its intended API. It has no raw IP support yet.

14 years agoifx: Assign GPRS DLCs as slaves of the network DLC
Marcel Holtmann [Thu, 21 Oct 2010 16:51:38 +0000 (18:51 +0200)]
ifx: Assign GPRS DLCs as slaves of the network DLC

14 years agogatchat: Add support for slave chat instances
Marcel Holtmann [Thu, 21 Oct 2010 16:28:08 +0000 (18:28 +0200)]
gatchat: Add support for slave chat instances

This adds support to assign a slave chat instance to an existing chat
instance. The slave chat is now additionally bound by the lifetime of
its master chat instance.

In case the master is cloned, the slave chat instance will also be
cloned as well.

With this it is possible to suspend the master while still have an
active slave for notifications or extra commands.

14 years agoppp: Fix some coding style and memory leaks
Marcel Holtmann [Thu, 21 Oct 2010 16:26:50 +0000 (18:26 +0200)]
ppp: Fix some coding style and memory leaks

14 years agoatmodem: Check for TUN/TAP support before enabling PPP
Marcel Holtmann [Thu, 21 Oct 2010 16:23:20 +0000 (18:23 +0200)]
atmodem: Check for TUN/TAP support before enabling PPP

14 years agostk: Support send ss response
Yang Gu [Mon, 18 Oct 2010 08:00:29 +0000 (16:00 +0800)]
stk: Support send ss response

14 years agostkutil: Add enum for additional error cause info
Yang Gu [Mon, 18 Oct 2010 08:00:28 +0000 (16:00 +0800)]
stkutil: Add enum for additional error cause info

For terminal and supplementary services

14 years agoradio settings: document FastDormancy property
Mika Liljeberg [Thu, 7 Oct 2010 13:37:32 +0000 (16:37 +0300)]
radio settings: document FastDormancy property

14 years agoradio-settings: Get rid of unneeded casts
Denis Kenzior [Wed, 20 Oct 2010 22:59:21 +0000 (17:59 -0500)]
radio-settings: Get rid of unneeded casts

14 years agoradio-settings: Fixup various style issues
Denis Kenzior [Wed, 20 Oct 2010 21:51:51 +0000 (16:51 -0500)]
radio-settings: Fixup various style issues

14 years agoisi: fix SMS
Pekka Pessi [Wed, 20 Oct 2010 19:39:36 +0000 (22:39 +0300)]
isi: fix SMS

Align read-params with update-params properly.

Align and fill tpdu sub block in submit.

14 years agoisi: fix SMS
Pekka Pessi [Wed, 20 Oct 2010 16:44:54 +0000 (19:44 +0300)]
isi: fix SMS

Read absence/presence flags from correct field.

Try to avoid overwriting other SMS parameters but SCA address.

Use g_isi_(v)send().