platform/upstream/ofono.git
13 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.

13 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

13 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

13 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

13 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

13 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

13 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.

13 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

13 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.

13 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

13 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

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

13 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

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

13 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

13 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

13 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.

13 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().

13 years agoisi: fix hangup_active and set_udub methods
Pekka Pessi [Wed, 20 Oct 2010 17:08:29 +0000 (20:08 +0300)]
isi: fix hangup_active and set_udub methods

The concept of "active" call seems to be overloaded.

13 years agovoicecall: Document driver methods
Denis Kenzior [Wed, 20 Oct 2010 17:50:51 +0000 (12:50 -0500)]
voicecall: Document driver methods

13 years agoisimodem: Fix setting SCA type
Aki Niemi [Wed, 20 Oct 2010 14:29:42 +0000 (17:29 +0300)]
isimodem: Fix setting SCA type

13 years agoatmodem: Decode and report time information from network
Marcel Holtmann [Wed, 20 Oct 2010 11:55:20 +0000 (13:55 +0200)]
atmodem: Decode and report time information from network

13 years agoatmodem: Add skeleton for time update reporting
Marcel Holtmann [Wed, 20 Oct 2010 11:27:04 +0000 (13:27 +0200)]
atmodem: Add skeleton for time update reporting

13 years agoifxmodem: Signal STK session end only after normal ending of command
Marcel Holtmann [Wed, 20 Oct 2010 09:57:22 +0000 (11:57 +0200)]
ifxmodem: Signal STK session end only after normal ending of command

The Infineon modem returns more detailed information of the SIM Toolkit
proactive sessions to the modem driver. A proactive session starts with
the status response '91 xx' (proactive command pending) and ends with a
status response response of '90 00' (normal ending of command) after
Terminal Response.

So only when receiving '90 00' result, the indication that the session
has ended should be given to the core.

13 years agoifx: Wait for DLC creation to settle (internal multiplexer)
Marcel Holtmann [Tue, 19 Oct 2010 20:59:21 +0000 (22:59 +0200)]
ifx: Wait for DLC creation to settle (internal multiplexer)

When driving the Infineon modem with the builtin multiplexer there is
a small race condition with setting up the channels and sending the
first AT commands. The window here is pretty small, but it seems to be
a modem firmware issue. In case the AT command is send right away it can
happen that the modem does not process any further AT commands. In that
case the setup is stuck and enabling the modem fails.

Just adding a 10 milliseconds delay after DLC creation and before
sending the first AT commands is enough to make this work smoothly.

13 years agosim: Read EFust and EFest after phase is known
Denis Kenzior [Tue, 19 Oct 2010 19:20:57 +0000 (14:20 -0500)]
sim: Read EFust and EFest after phase is known

13 years agosimfs: Don't cache if phase is unknown
Denis Kenzior [Tue, 19 Oct 2010 19:07:11 +0000 (14:07 -0500)]
simfs: Don't cache if phase is unknown

13 years agosim: Fix setting the correct phase from EFphase
Denis Kenzior [Tue, 19 Oct 2010 19:06:52 +0000 (14:06 -0500)]
sim: Fix setting the correct phase from EFphase

13 years agophonesim: Add missing ATE0 when in multiplexer mode
Marcel Holtmann [Tue, 19 Oct 2010 18:42:29 +0000 (20:42 +0200)]
phonesim: Add missing ATE0 when in multiplexer mode

13 years agocommon: Fix mmi code to bearer class mappings
Denis Kenzior [Tue, 19 Oct 2010 17:09:30 +0000 (12:09 -0500)]
common: Fix mmi code to bearer class mappings

MMI services 22, 21, 20 and 26 were mapped incorrectly.  See the comment
in the code for more information and the thread 'Call Barring and MMI
Supplementary Service codes' on the oFono mailing list.

13 years agophonesim: Fix multiplexer setup handling and modem power
Marcel Holtmann [Tue, 19 Oct 2010 16:50:06 +0000 (18:50 +0200)]
phonesim: Fix multiplexer setup handling and modem power

13 years agogatchat: Add support for skipping AT+CMUX speed parameter
Marcel Holtmann [Tue, 19 Oct 2010 16:49:07 +0000 (18:49 +0200)]
gatchat: Add support for skipping AT+CMUX speed parameter

13 years agoisimodem: Fix request cleanup code
Aki Niemi [Tue, 19 Oct 2010 08:28:06 +0000 (11:28 +0300)]
isimodem: Fix request cleanup code

Adds a check for when the driver is being removed, in which case no
new ISI requests should be generated.

13 years agoifxmodem: Fix missing result iter init call for SIM Toolkit
Marcel Holtmann [Tue, 19 Oct 2010 10:16:13 +0000 (12:16 +0200)]
ifxmodem: Fix missing result iter init call for SIM Toolkit

13 years agoifxmodem: Enable SIM Toolkit with AT+CFUN=6
Marcel Holtmann [Tue, 19 Oct 2010 09:56:45 +0000 (11:56 +0200)]
ifxmodem: Enable SIM Toolkit with AT+CFUN=6

The current Infineon firmware overloads the AT+CFUN command with
enabling SIM Toolkit and fetching of proactive commands. It seems
to be safe to send this command in offline mode (AT+CFUN=4) and
also in online mode (AT+CFUN=1). These are the two cases where
SIM Toolkit atom would be initialized.

13 years agoTODO: Add CDMA support to SMS stack
Rajesh Kadhiravan Nagaiah [Tue, 19 Oct 2010 07:23:41 +0000 (00:23 -0700)]
TODO: Add CDMA support to SMS stack

13 years agoRelease 0.32 0.32
Marcel Holtmann [Mon, 18 Oct 2010 19:11:23 +0000 (21:11 +0200)]
Release 0.32

13 years agoatmodem: Add SIM ready quirk for IFX when entering PUK
Marcel Holtmann [Sat, 16 Oct 2010 10:26:26 +0000 (13:26 +0300)]
atmodem: Add SIM ready quirk for IFX when entering PUK

For the Infineon modem, also the PUK entering needs to be extended with
a quirk to wait for the SIM ready notification.

13 years agoifx: Separate AT command from multiplexer debug setting
Marcel Holtmann [Sun, 17 Oct 2010 12:50:45 +0000 (14:50 +0200)]
ifx: Separate AT command from multiplexer debug setting

13 years agotest: Fix script for enabling delivery reports
Marcel Holtmann [Sat, 16 Oct 2010 22:00:02 +0000 (00:00 +0200)]
test: Fix script for enabling delivery reports

13 years agoTODO: Reset PPP Server task owner
Denis Kenzior [Fri, 15 Oct 2010 13:00:19 +0000 (08:00 -0500)]
TODO: Reset PPP Server task owner

13 years agodoc: update the supplementary services docs
Alexander Kanavin [Fri, 15 Oct 2010 11:53:01 +0000 (14:53 +0300)]
doc: update the supplementary services docs

Document the various SS control string related APIs

13 years agoatmodem: Remove workaround for SIM ready notifier removal
Marcel Holtmann [Fri, 15 Oct 2010 13:07:51 +0000 (16:07 +0300)]
atmodem: Remove workaround for SIM ready notifier removal

13 years agosim: Use enums for EF valid / invalidated status
Denis Kenzior [Fri, 15 Oct 2010 12:25:50 +0000 (07:25 -0500)]
sim: Use enums for EF valid / invalidated status

13 years agocommon: Update the basic services in comments
Denis Kenzior [Fri, 15 Oct 2010 12:05:37 +0000 (07:05 -0500)]
common: Update the basic services in comments

13 years agosim: Fix crash on sim re-insertion
Denis Kenzior [Fri, 15 Oct 2010 11:26:34 +0000 (06:26 -0500)]
sim: Fix crash on sim re-insertion

13 years agosimfs: Make compile
Denis Kenzior [Fri, 15 Oct 2010 11:26:28 +0000 (06:26 -0500)]
simfs: Make compile

13 years agodoc: Cleanup the sim-api doc
Denis Kenzior [Fri, 15 Oct 2010 08:59:31 +0000 (03:59 -0500)]
doc: Cleanup the sim-api doc

13 years agodoc: update sim-api
Petteri Tikander [Thu, 14 Oct 2010 21:02:55 +0000 (00:02 +0300)]
doc: update sim-api

Fixed Dialing is not supported. New property added
to indicate FD-enable status in the SIM-card.

13 years agoisimodem: returns file-status of SIM EF-file
Petteri Tikander [Thu, 14 Oct 2010 21:02:52 +0000 (00:02 +0300)]
isimodem: returns file-status of SIM EF-file

13 years agoatmodem: returns file-status of SIM EF-file
Petteri Tikander [Thu, 14 Oct 2010 21:02:51 +0000 (00:02 +0300)]
atmodem: returns file-status of SIM EF-file

13 years agosim: add new parameter to file-info utility
Petteri Tikander [Thu, 14 Oct 2010 21:02:50 +0000 (00:02 +0300)]
sim: add new parameter to file-info utility

13 years agosimutil: Remove unneeded enum
Denis Kenzior [Fri, 15 Oct 2010 07:14:45 +0000 (02:14 -0500)]
simutil: Remove unneeded enum

13 years agosimutil: response-handler returns now also file-status
Petteri Tikander [Thu, 14 Oct 2010 21:02:49 +0000 (00:02 +0300)]
simutil: response-handler returns now also file-status

13 years agogatchat: Fix calling unregister from callbacks
Denis Kenzior [Thu, 14 Oct 2010 14:41:09 +0000 (09:41 -0500)]
gatchat: Fix calling unregister from callbacks

This fixes the issues with SIM hotswap on infineon

13 years agoTODO: Mark SIM icon tasks as done
Denis Kenzior [Thu, 14 Oct 2010 12:50:43 +0000 (07:50 -0500)]
TODO: Mark SIM icon tasks as done

13 years agogatchat: break out the remove_if logic
Denis Kenzior [Thu, 14 Oct 2010 12:21:55 +0000 (07:21 -0500)]
gatchat: break out the remove_if logic

And make unregister_group use the new function

13 years agogatchat: quit early if the group id doesn't match
Denis Kenzior [Thu, 14 Oct 2010 11:58:53 +0000 (06:58 -0500)]
gatchat: quit early if the group id doesn't match

If the ID of the notify matches but the group id does not match it means
that the unregister is being called with an id that does not belong to
that particular group.  Checking further entries is no longer necessary.

13 years agoFix style problem
Aki Niemi [Thu, 14 Oct 2010 12:37:37 +0000 (15:37 +0300)]
Fix style problem

13 years agogisi: Fix copyright and license boilerplate
Aki Niemi [Thu, 14 Oct 2010 12:29:58 +0000 (15:29 +0300)]
gisi: Fix copyright and license boilerplate

13 years agosms: Implement text and datagram watch
Aki Niemi [Fri, 1 Oct 2010 14:24:28 +0000 (17:24 +0300)]
sms: Implement text and datagram watch

Allow setting a watch for incoming text and datagram messages on the
sms atom.

13 years agoisimodem: Fix copyright and license boilerplate
Aki Niemi [Thu, 14 Oct 2010 07:50:08 +0000 (10:50 +0300)]
isimodem: Fix copyright and license boilerplate

13 years agoisimodem: Fix SMSC address update request
Aki Niemi [Thu, 14 Oct 2010 07:40:37 +0000 (10:40 +0300)]
isimodem: Fix SMSC address update request

13 years agosimutil: add ID of EFadn
Petteri Tikander [Tue, 12 Oct 2010 15:18:12 +0000 (18:18 +0300)]
simutil: add ID of EFadn

13 years agostk: Add a debug to print the handled command type
Denis Kenzior [Thu, 14 Oct 2010 09:17:06 +0000 (04:17 -0500)]
stk: Add a debug to print the handled command type

13 years agoAPI for STK driver to signal executed commands
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:16 +0000 (15:54 +0200)]
API for STK driver to signal executed commands

Some modems are able to handle some proactive commands in their
firmware or otherwise, if the command doesn't require input from user.
Nevertheles ofono may need to update internal state or notify the user
where necessary.  With this api the driver can notify core that a
command is being executed in the modem or that a command is finished
executing and the TERMINAL RESPONSE has been sent to SIM.  It would
also be possible for a driver to handle a command.

13 years agostkagent: Add PlayTone and LoopTone requests
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:14 +0000 (15:54 +0200)]
stkagent: Add PlayTone and LoopTone requests

13 years agostk: Simplify and add icon to alphaId api
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:12 +0000 (15:54 +0200)]
stk: Simplify and add icon to alphaId api

The assumption is now that stk_alpha_id_set will handle NULL
or empty alphaIds or icons.

13 years agostk: Make the stk properties not optional
Denis Kenzior [Thu, 14 Oct 2010 07:45:05 +0000 (02:45 -0500)]
stk: Make the stk properties not optional

13 years agostkagent: Handle NULL items in append_menu_items
Denis Kenzior [Thu, 14 Oct 2010 07:58:07 +0000 (02:58 -0500)]
stkagent: Handle NULL items in append_menu_items

13 years agodoc: Update the properties to be readonly
Denis Kenzior [Thu, 14 Oct 2010 07:44:32 +0000 (02:44 -0500)]
doc: Update the properties to be readonly

This also implies that none of these properties are optional

13 years agostk: IdleModeIcon and MainMenuIcon properties
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:11 +0000 (15:54 +0200)]
stk: IdleModeIcon and MainMenuIcon properties

13 years agostk: Rename sms_submit_req to extern_req
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:05 +0000 (15:54 +0200)]
stk: Rename sms_submit_req to extern_req

13 years agodoc: Remove unused property
Denis Kenzior [Thu, 14 Oct 2010 06:36:08 +0000 (01:36 -0500)]
doc: Remove unused property

13 years agostk: Reflow stk_menu_create slightly
Denis Kenzior [Thu, 14 Oct 2010 06:21:10 +0000 (01:21 -0500)]
stk: Reflow stk_menu_create slightly

13 years agostk: Add icon ID information in stk_menu
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:10 +0000 (15:54 +0200)]
stk: Add icon ID information in stk_menu

13 years agophonesim: minor whitespace fix
Denis Kenzior [Thu, 14 Oct 2010 06:07:44 +0000 (01:07 -0500)]
phonesim: minor whitespace fix

13 years agostk: Pass icon IDs in stk agent request parameters
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:09 +0000 (15:54 +0200)]
stk: Pass icon IDs in stk agent request parameters

13 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.

13 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.

13 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.

13 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

13 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.

13 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

13 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

13 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

13 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

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

13 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.

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

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

13 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).

13 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

13 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

13 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.

13 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

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

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

13 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

13 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