platform/upstream/ofono.git
14 years agodoc: Add STK properties relevant for icons.
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:08 +0000 (15:54 +0200)]
doc: Add STK properties relevant for icons.

14 years agodoc: Update property name to match code.
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:07 +0000 (15:54 +0200)]
doc: Update property name to match code.

14 years agogdbus: fix not handling bus disconnects
Luiz Augusto von Dentz [Wed, 13 Oct 2010 12:06:46 +0000 (15:06 +0300)]
gdbus: fix not handling bus disconnects

We where not dispatching data when a bus disconnects which cause
Disconnected signal to not be processed and thus causing the process to
either not exit or to not trigger callbacks registered with
g_dbus_set_disconnect_function.

To fix this now we always schedule a dispatch which will make sure data
still not processed will make its way to the proper handlers even if
disconnected.

14 years agoofono.rules: Add additional MBM rules
Torgny Johansson [Tue, 12 Oct 2010 12:41:03 +0000 (14:41 +0200)]
ofono.rules: Add additional MBM rules

Add Ericsson c3607w and HP f3607gw/f3307 devices to udev rules file

14 years agosim: Refactor iidf reading
Denis Kenzior [Wed, 13 Oct 2010 13:41:41 +0000 (08:41 -0500)]
sim: Refactor iidf reading

Get rid of image_data since it can lead to potential memory leaks when
sim is removed while the IIDF operations are in progress.

14 years agotest: Update get-icon to the new API
Denis Kenzior [Wed, 13 Oct 2010 09:02:58 +0000 (04:02 -0500)]
test: Update get-icon to the new API

14 years agosim: Use ay return signature for GetIcon
Denis Kenzior [Wed, 13 Oct 2010 09:01:32 +0000 (04:01 -0500)]
sim: Use ay return signature for GetIcon

14 years agodoc: Update sim-api.txt with GetIcon
Denis Kenzior [Wed, 13 Oct 2010 09:01:05 +0000 (04:01 -0500)]
doc: Update sim-api.txt with GetIcon

14 years agosimfs: Also clean out image files
Denis Kenzior [Wed, 13 Oct 2010 07:55:04 +0000 (02:55 -0500)]
simfs: Also clean out image files

When cleaning cache

14 years agotest: Add get-icon script
Denis Kenzior [Wed, 13 Oct 2010 07:41:53 +0000 (02:41 -0500)]
test: Add get-icon script

14 years agosimfs: Fix the number of bytes copied
Denis Kenzior [Wed, 13 Oct 2010 07:38:11 +0000 (02:38 -0500)]
simfs: Fix the number of bytes copied

In block reading operations we read too much when the number of bytes to
read is smaller than the size of the file.

14 years agosimfs: Add some debug statements
Denis Kenzior [Wed, 13 Oct 2010 07:37:59 +0000 (02:37 -0500)]
simfs: Add some debug statements

14 years agohuawei: Fixup whitespace corruption
Denis Kenzior [Tue, 12 Oct 2010 02:40:52 +0000 (21:40 -0500)]
huawei: Fixup whitespace corruption

14 years agosimfs: Move buffer back to the op structure
Denis Kenzior [Tue, 12 Oct 2010 02:38:26 +0000 (21:38 -0500)]
simfs: Move buffer back to the op structure

This was causing problems when multiple sim writes were being issued
(and thus bug #8265).

14 years agosimfs: Reflow to get rid of unnecessary label
Denis Kenzior [Tue, 12 Oct 2010 01:45:27 +0000 (20:45 -0500)]
simfs: Reflow to get rid of unnecessary label

14 years agosim: Use g_dbus_create_reply
Denis Kenzior [Tue, 12 Oct 2010 01:42:07 +0000 (20:42 -0500)]
sim: Use g_dbus_create_reply

Instead of compound statements

14 years agosim: Don't re-check for id != 0
Denis Kenzior [Tue, 12 Oct 2010 01:40:16 +0000 (20:40 -0500)]
sim: Don't re-check for id != 0

We already check the id is valid in the get_icon function, there's no
reason to re-check it.

14 years agosimutil: add file type for EFimg
Kristen Carlson Accardi [Mon, 4 Oct 2010 22:33:22 +0000 (15:33 -0700)]
simutil: add file type for EFimg

14 years agosim: implement GetIcon
Kristen Carlson Accardi [Mon, 4 Oct 2010 22:33:20 +0000 (15:33 -0700)]
sim: implement GetIcon

14 years agosimfs: Group lines logically
Denis Kenzior [Tue, 12 Oct 2010 01:14:24 +0000 (20:14 -0500)]
simfs: Group lines logically

14 years agosimfs: If buffer alloc fails, error out
Denis Kenzior [Tue, 12 Oct 2010 01:14:04 +0000 (20:14 -0500)]
simfs: If buffer alloc fails, error out

14 years agosimfs: Don't try to read image cache imsi is null
Denis Kenzior [Tue, 12 Oct 2010 01:13:08 +0000 (20:13 -0500)]
simfs: Don't try to read image cache imsi is null

14 years agosimfs: Make image cache logic a bit easier to read
Denis Kenzior [Tue, 12 Oct 2010 01:12:26 +0000 (20:12 -0500)]
simfs: Make image cache logic a bit easier to read

14 years agosimfs: cache images
Kristen Carlson Accardi [Mon, 4 Oct 2010 22:33:19 +0000 (15:33 -0700)]
simfs: cache images

14 years agoifx: Disable modem UART for power saving
Marcel Holtmann [Wed, 13 Oct 2010 05:38:43 +0000 (08:38 +0300)]
ifx: Disable modem UART for power saving

Send AT+XPOW=0,0,0 command when enabling modem to disable UART. This
is done for power saving.

14 years agoatmodem: Send DTMF commands without quotes
Marcel Holtmann [Wed, 13 Oct 2010 05:25:59 +0000 (08:25 +0300)]
atmodem: Send DTMF commands without quotes

The AT+VTS command takes a single character and should not use quotes.

14 years agoifxmodem: Send DTMF commands without quotes
Marcel Holtmann [Wed, 13 Oct 2010 05:24:13 +0000 (08:24 +0300)]
ifxmodem: Send DTMF commands without quotes

The AT+VTS command takes a single character and should not use quotes.

14 years agoFix smart messaging D-Bus signatures
Aki Niemi [Mon, 11 Oct 2010 12:56:15 +0000 (15:56 +0300)]
Fix smart messaging D-Bus signatures

14 years agoFix smart messaging documentation
Aki Niemi [Mon, 11 Oct 2010 12:56:00 +0000 (15:56 +0300)]
Fix smart messaging documentation

14 years agoisigen: Add dummy ops for enable/disable
Aki Niemi [Mon, 11 Oct 2010 12:41:41 +0000 (15:41 +0300)]
isigen: Add dummy ops for enable/disable

Without these the core gets confused. These are actually no-ops, since
enabling and disabling aren't supported with a USB modem.

14 years agovoicecall: check g_try_new0 return value
Pekka Pessi [Wed, 6 Oct 2010 14:52:19 +0000 (17:52 +0300)]
voicecall: check g_try_new0 return value

14 years agovoicecall: remove dial_request_finish() cb param
Pekka Pessi [Wed, 6 Oct 2010 14:52:18 +0000 (17:52 +0300)]
voicecall: remove dial_request_finish() cb param

There is no need for callback param anymore.

14 years agovoicecall: Check dial requests in voicecall_is_busy
Pekka Pessi [Wed, 6 Oct 2010 14:52:17 +0000 (17:52 +0300)]
voicecall: Check dial requests in voicecall_is_busy

Return true if a call is being dialed by stk.

Use __ofono_voicecall_is_busy() in __ofono_voicecall_dial().

14 years agoussd: pass call_in_progress to valid_ussd_string
Pekka Pessi [Wed, 6 Oct 2010 14:52:16 +0000 (17:52 +0300)]
ussd: pass call_in_progress to valid_ussd_string

Query the voicecall atom whether a call is in progress and pass this
information along to valid_ussd_string.

14 years agocommon: fixup logic of valid_ussd_string()
Pekka Pessi [Wed, 6 Oct 2010 14:52:16 +0000 (17:52 +0300)]
common: fixup logic of valid_ussd_string()

The logic of valid_ussd_string was not quite correct as it didn't take
care of size 1 USSD strings.  In addition, call_in_progress parameter is
passed in to take care of size 2 USSD strings which might start with a
'1' according to the rules of 22.030.

The comment about USSD routing is removed, it is out of scope of oFono.
The cellular network routes the USSD requests based on the rules laid
out in the 22.090, however, any string that can be encoded according to
the rules of 23.030 is valid USSD.

14 years agoTODO: long phone numbers
Pekka Pessi [Fri, 8 Oct 2010 15:39:17 +0000 (18:39 +0300)]
TODO: long phone numbers

14 years agoudev: refactor add_isi
Pekka Pessi [Mon, 4 Oct 2010 13:11:05 +0000 (15:11 +0200)]
udev: refactor add_isi

Gather OFONO_ISI_ADDRESS from same udev device node as OFONO_DRIVER.

14 years agoudev: do not use post-143 libudev features
Pekka Pessi [Mon, 4 Oct 2010 13:11:04 +0000 (15:11 +0200)]
udev: do not use post-143 libudev features

There is no udev_device_get_property_value() in libudev version 143.

14 years agoFix COLR typo
Alexander Kanavin [Thu, 7 Oct 2010 10:50:55 +0000 (13:50 +0300)]
Fix COLR typo

14 years agoFix typo in SS enum to string conversion
Alexander Kanavin [Thu, 7 Oct 2010 10:50:54 +0000 (13:50 +0300)]
Fix typo in SS enum to string conversion

14 years agodoc: Play Tone command proposed d-bus API.
Andrzej Zaborowski [Wed, 6 Oct 2010 10:35:00 +0000 (12:35 +0200)]
doc: Play Tone command proposed d-bus API.

14 years agoussd: check g_try_new0 return value
Pekka Pessi [Wed, 6 Oct 2010 15:01:40 +0000 (18:01 +0300)]
ussd: check g_try_new0 return value

14 years agogisi/verify: check g_try_new0 return value
Pekka Pessi [Wed, 6 Oct 2010 15:01:39 +0000 (18:01 +0300)]
gisi/verify: check g_try_new0 return value

14 years agoisimodem/voicecall: fix hangup_active
Pekka Pessi [Wed, 6 Oct 2010 09:58:29 +0000 (12:58 +0300)]
isimodem/voicecall: fix hangup_active

14 years agoTODO: ofono_sim_ready_notify()
Pekka Pessi [Tue, 5 Oct 2010 15:49:28 +0000 (18:49 +0300)]
TODO: ofono_sim_ready_notify()

14 years agoIgnore generated src/ofono.service file
Marcel Holtmann [Tue, 5 Oct 2010 14:53:55 +0000 (16:53 +0200)]
Ignore generated src/ofono.service file

14 years agohuawei: Use modem interface only if NDIS support is not available
Marcel Holtmann [Tue, 5 Oct 2010 14:50:09 +0000 (16:50 +0200)]
huawei: Use modem interface only if NDIS support is not available

14 years agohuawei: Add support for enabling NDIS GPRS driver if supported
Marcel Holtmann [Tue, 5 Oct 2010 14:38:23 +0000 (16:38 +0200)]
huawei: Add support for enabling NDIS GPRS driver if supported

14 years agohuaweimodem: Print the NDIS device node to be used
Marcel Holtmann [Tue, 5 Oct 2010 14:30:04 +0000 (16:30 +0200)]
huaweimodem: Print the NDIS device node to be used

14 years agohuaweimodem: Add error handling for too many ^DHCP failures
Marcel Holtmann [Tue, 5 Oct 2010 14:28:52 +0000 (16:28 +0200)]
huaweimodem: Add error handling for too many ^DHCP failures

14 years agoudev: Track NDIS port of Huawei devices (if present)
Marcel Holtmann [Tue, 5 Oct 2010 14:21:19 +0000 (16:21 +0200)]
udev: Track NDIS port of Huawei devices (if present)

14 years agotest: Add script for enabling/disabling RoamingAllowed property
Marcel Holtmann [Tue, 5 Oct 2010 14:11:09 +0000 (16:11 +0200)]
test: Add script for enabling/disabling RoamingAllowed property

14 years agosms: fix type error
Pekka Pessi [Tue, 5 Oct 2010 10:37:55 +0000 (13:37 +0300)]
sms: fix type error

14 years agoSupport -p and -P options with list of plugins
Pekka Pessi [Fri, 24 Sep 2010 14:22:40 +0000 (17:22 +0300)]
Support -p and -P options with list of plugins

14 years agoTODO: BDN description update
Jeevaka Badrappan [Mon, 4 Oct 2010 11:26:27 +0000 (04:26 -0700)]
TODO: BDN description update

14 years agostk: Additional info for failed Send USSD case
Jeevaka Badrappan [Fri, 1 Oct 2010 06:32:57 +0000 (23:32 -0700)]
stk: Additional info for failed Send USSD case

14 years agobuild: Add support for systemd configuration
Marcel Holtmann [Sat, 2 Oct 2010 18:20:31 +0000 (20:20 +0200)]
build: Add support for systemd configuration

14 years agobuild: Remove some empty lines
Marcel Holtmann [Sat, 2 Oct 2010 16:09:15 +0000 (18:09 +0200)]
build: Remove some empty lines

14 years agobuild: Add D-Bus service autostart support
Marcel Holtmann [Sat, 2 Oct 2010 15:57:19 +0000 (17:57 +0200)]
build: Add D-Bus service autostart support

14 years agoTODO: Owner of Fixed Dialing task
Petteri Tikander [Fri, 1 Oct 2010 16:06:41 +0000 (19:06 +0300)]
TODO: Owner of Fixed Dialing task

14 years agoRelease 0.31 0.31
Marcel Holtmann [Fri, 1 Oct 2010 14:48:23 +0000 (16:48 +0200)]
Release 0.31

14 years agoudev: Fix coding style
Marcel Holtmann [Fri, 1 Oct 2010 14:44:26 +0000 (16:44 +0200)]
udev: Fix coding style

14 years agoudev: Fix ISI address setting
Pekka Pessi [Fri, 1 Oct 2010 14:38:19 +0000 (17:38 +0300)]
udev: Fix ISI address setting

14 years agoisimodem: Properly clean up audio settings driver
Aki Niemi [Fri, 1 Oct 2010 13:51:34 +0000 (16:51 +0300)]
isimodem: Properly clean up audio settings driver

14 years agoAUTHORS: Mention Kai's contributions
Aki Niemi [Fri, 1 Oct 2010 13:42:16 +0000 (16:42 +0300)]
AUTHORS: Mention Kai's contributions

14 years agon900: Enable audio settings atom
Kai Vehmanen [Fri, 1 Oct 2010 13:39:39 +0000 (16:39 +0300)]
n900: Enable audio settings atom

14 years agoisimodem: Add support for audio settings
Kai Vehmanen [Fri, 1 Oct 2010 13:04:15 +0000 (16:04 +0300)]
isimodem: Add support for audio settings

The audio state is mapped directly to isimodem's call server status
indications. When active, the modem speech path should be opened, and
when closed, the modem speech path may be closed.

14 years agoifx: Remove support for OFONO_IFX_MODEL option
Marcel Holtmann [Fri, 1 Oct 2010 13:18:06 +0000 (15:18 +0200)]
ifx: Remove support for OFONO_IFX_MODEL option

The Infineon modem model is now auto-detected, so there is no longer
any need to specify it in the udev configuration rules.

14 years agoifx: Enable audio settings atom support
Marcel Holtmann [Fri, 1 Oct 2010 11:17:24 +0000 (13:17 +0200)]
ifx: Enable audio settings atom support

14 years agoudev: Include "hsi" in the subsystems to watch
Marcel Holtmann [Fri, 1 Oct 2010 11:01:08 +0000 (13:01 +0200)]
udev: Include "hsi" in the subsystems to watch

14 years agon900: Fix link target status
Aki Niemi [Fri, 1 Oct 2010 10:07:45 +0000 (13:07 +0300)]
n900: Fix link target status

14 years agoifx: Fix crash with XGENDATA result callback
Marcel Holtmann [Fri, 1 Oct 2010 10:31:19 +0000 (12:31 +0200)]
ifx: Fix crash with XGENDATA result callback

14 years agoTODO: Take ownership of fast dormancy
Mika Liljeberg [Fri, 1 Oct 2010 08:14:13 +0000 (11:14 +0300)]
TODO: Take ownership of fast dormancy

14 years agoUpdate .mailmap rules for Pekka
Marcel Holtmann [Fri, 1 Oct 2010 07:36:16 +0000 (09:36 +0200)]
Update .mailmap rules for Pekka

14 years agodoc: Fix typo in smart messaging agent interface
Aki Niemi [Fri, 1 Oct 2010 07:26:01 +0000 (10:26 +0300)]
doc: Fix typo in smart messaging agent interface

14 years agobuild: Remove no longer needed plugins/usbpnmodem.c
Marcel Holtmann [Fri, 1 Oct 2010 07:27:44 +0000 (09:27 +0200)]
build: Remove no longer needed plugins/usbpnmodem.c

14 years agobuild: Rename smart_messaging.c to smart-messaging.c
Marcel Holtmann [Fri, 1 Oct 2010 05:51:43 +0000 (07:51 +0200)]
build: Rename smart_messaging.c to smart-messaging.c

14 years agobuild: Move example plugins to its own directory
Marcel Holtmann [Fri, 1 Oct 2010 05:44:09 +0000 (07:44 +0200)]
build: Move example plugins to its own directory

14 years agoifxmodem: Notify about audio settings mode
Marcel Holtmann [Fri, 1 Oct 2010 05:29:53 +0000 (07:29 +0200)]
ifxmodem: Notify about audio settings mode

14 years agoaudio: Add helper to get modem information from audio settings
Marcel Holtmann [Fri, 1 Oct 2010 05:28:39 +0000 (07:28 +0200)]
audio: Add helper to get modem information from audio settings

14 years agoaudio: Add support for notifying about audio mode
Marcel Holtmann [Fri, 1 Oct 2010 05:22:45 +0000 (07:22 +0200)]
audio: Add support for notifying about audio mode

14 years agoaudio: Update audio settings API for active notification
Marcel Holtmann [Fri, 1 Oct 2010 05:14:59 +0000 (07:14 +0200)]
audio: Update audio settings API for active notification

14 years agodoc: Update audio settings API
Marcel Holtmann [Fri, 1 Oct 2010 05:12:39 +0000 (07:12 +0200)]
doc: Update audio settings API

14 years agoudev: Some minor coding style updates
Marcel Holtmann [Fri, 1 Oct 2010 04:57:22 +0000 (06:57 +0200)]
udev: Some minor coding style updates

14 years agoisi: Remove not needed includes for oFono headers
Marcel Holtmann [Fri, 1 Oct 2010 04:54:27 +0000 (06:54 +0200)]
isi: Remove not needed includes for oFono headers

14 years agoisi: Private header files don't need circular inclusion protection
Marcel Holtmann [Fri, 1 Oct 2010 04:52:38 +0000 (06:52 +0200)]
isi: Private header files don't need circular inclusion protection

14 years agoplugins: Mode fixups for copyrigh headers
Marcel Holtmann [Fri, 1 Oct 2010 04:51:34 +0000 (06:51 +0200)]
plugins: Mode fixups for copyrigh headers

14 years agoisi: Fix up the copyright headers of modem plugins
Marcel Holtmann [Fri, 1 Oct 2010 04:46:32 +0000 (06:46 +0200)]
isi: Fix up the copyright headers of modem plugins

It is important that the copyright headers are consistent throughout
the source code. While the copyright might be owned by different
people of companies, the header itself with its license information
should be identical.

14 years agoifx: Use XGENDATA for modem model detection
Marcel Holtmann [Fri, 1 Oct 2010 04:38:02 +0000 (06:38 +0200)]
ifx: Use XGENDATA for modem model detection

The XGENDATA result contains various strings that also contain the modem
model. Make this command mandatory for the modem bringup and after it
succeeded, check for the XMM6260 string to setup specific audio settings.

This makes using ENV{OFONO_IFX_MODEL}="XMM6260" obsolete, but for now it
is still left as a possible option. It might be removed later.

14 years agosmart_messaging: Remove interface on atom removal
Aki Niemi [Thu, 30 Sep 2010 08:22:05 +0000 (11:22 +0300)]
smart_messaging: Remove interface on atom removal

14 years agoisimodem: Report GPRS detach
Aki Niemi [Thu, 30 Sep 2010 08:14:05 +0000 (11:14 +0300)]
isimodem: Report GPRS detach

14 years agoisimodem: Fix signal strength reporting
Aki Niemi [Thu, 30 Sep 2010 07:23:09 +0000 (10:23 +0300)]
isimodem: Fix signal strength reporting

ISI modems send the signal strength indication before registration
status changes, which causes the core to ignore initial signal
strength values.

14 years agoRemove usbpbmodem plugin
Aki Niemi [Wed, 22 Sep 2010 19:03:57 +0000 (22:03 +0300)]
Remove usbpbmodem plugin

14 years agogisi: Remove route adding API
Aki Niemi [Wed, 22 Sep 2010 18:14:16 +0000 (21:14 +0300)]
gisi: Remove route adding API

14 years agoAdd udev support for ISI modems
Aki Niemi [Tue, 28 Sep 2010 07:33:36 +0000 (10:33 +0300)]
Add udev support for ISI modems

14 years agomodemconf: set up isigen and n900
Pekka Pessi [Thu, 16 Sep 2010 14:56:18 +0000 (17:56 +0300)]
modemconf: set up isigen and n900

Allows basic configuration of phonet links.

14 years agon900: modem driver plugin for Nokia N900
Pekka Pessi [Thu, 16 Sep 2010 14:56:17 +0000 (17:56 +0300)]
n900: modem driver plugin for Nokia N900

This patch adds a modem driver plugin for the Nokia N900 internal
modem. It controls the modem using the appropriate GPIO lines and thus
works without the Maemo userspace.

This plugin can run natively on the N900 with either Maemo or Meego
kernels. However, it conflicts with the Maemo userspace, for which
isigen should be used instead.

14 years agoisimodem: remove generic modem driver parts
Pekka Pessi [Thu, 16 Sep 2010 14:56:16 +0000 (17:56 +0300)]
isimodem: remove generic modem driver parts

The isimodem driver is now part of isigen (just like atmodem and atgen).

14 years agoisigen: generic modem driver plugin for ISI
Pekka Pessi [Thu, 16 Sep 2010 14:56:15 +0000 (17:56 +0300)]
isigen: generic modem driver plugin for ISI

The new isigen modem driver plugin replaces the generic parts in the
isimodem modem driver. This plugin works with recent Nokia modems in
PC suite mode over USB, as well as with the N900 modem using Maemo5
userspace.

14 years agotools: Start tracking audio interface
Marcel Holtmann [Wed, 29 Sep 2010 15:35:45 +0000 (00:35 +0900)]
tools: Start tracking audio interface