platform/upstream/ofono.git
13 years agodoc: Add documentation for 'auto-only' mode
Aki Niemi [Wed, 26 Jan 2011 09:19:28 +0000 (11:19 +0200)]
doc: Add documentation for 'auto-only' mode

13 years agosimutil: Add EFcsp file and service group IDs
Aki Niemi [Wed, 26 Jan 2011 09:19:26 +0000 (11:19 +0200)]
simutil: Add EFcsp file and service group IDs

13 years agomodem: Simplify the modem lockdown modification
Marcel Holtmann [Wed, 26 Jan 2011 08:51:41 +0000 (09:51 +0100)]
modem: Simplify the modem lockdown modification

13 years agomodem: Be a bit more paranoid with lock_owner reset
Marcel Holtmann [Wed, 26 Jan 2011 08:48:48 +0000 (09:48 +0100)]
modem: Be a bit more paranoid with lock_owner reset

13 years agomodem: do not allow more than one client to lock down
Rémi Denis-Courmont [Wed, 26 Jan 2011 07:33:57 +0000 (09:33 +0200)]
modem: do not allow more than one client to lock down

13 years agocall-settings: use enum values
Lucas De Marchi [Tue, 25 Jan 2011 23:46:08 +0000 (21:46 -0200)]
call-settings: use enum values

Use the enum values defined for CLIP, CNAP, CLIR, COLP and COLR.

13 years agodoc: Update ReleaseAndAnswer to be more clear
Denis Kenzior [Tue, 25 Jan 2011 21:58:55 +0000 (15:58 -0600)]
doc: Update ReleaseAndAnswer to be more clear

13 years agocommon: add function to validate long numbers
Rafael Ignacio Zurita [Tue, 25 Jan 2011 14:02:38 +0000 (11:02 -0300)]
common: add function to validate long numbers

Also, adapt voicecall to use the new function for outgoing calls.

13 years agotypes: extend OFONO_MAX_PHONE_NUMBER_LENGTH
Rafael Ignacio Zurita [Tue, 25 Jan 2011 14:02:37 +0000 (11:02 -0300)]
types: extend OFONO_MAX_PHONE_NUMBER_LENGTH

13 years agoAUTHORS: Fix Lasse's entry
Marcel Holtmann [Tue, 25 Jan 2011 13:26:11 +0000 (14:26 +0100)]
AUTHORS: Fix Lasse's entry

13 years agosimutil: EF Fileid additions USIM and SIM Phonebook
Jessica Nilsson [Tue, 25 Jan 2011 13:11:25 +0000 (14:11 +0100)]
simutil: EF Fileid additions USIM and SIM Phonebook

Also, adding some general fileids for building paths

13 years agoisimodem: Remove unused declaration
Aki Niemi [Tue, 25 Jan 2011 12:48:23 +0000 (14:48 +0200)]
isimodem: Remove unused declaration

13 years agostk: change timeout from 10 to 3mintues
Jeevaka Badrappan [Fri, 21 Jan 2011 18:04:25 +0000 (10:04 -0800)]
stk: change timeout from 10 to 3mintues

13 years agodoc: Fix method name and parameter formatting for STK agent
Marcel Holtmann [Mon, 24 Jan 2011 15:05:49 +0000 (16:05 +0100)]
doc: Fix method name and parameter formatting for STK agent

13 years agobuild: Use pkglibdir where applicable
Rémi Denis-Courmont [Mon, 24 Jan 2011 12:50:37 +0000 (14:50 +0200)]
build: Use pkglibdir where applicable

13 years agogobi: Handle broken SIM status notification gracefully
Marcel Holtmann [Mon, 24 Jan 2011 11:55:25 +0000 (12:55 +0100)]
gobi: Handle broken SIM status notification gracefully

13 years agomodem: Add feature entry for supplementary services
Marcel Holtmann [Sun, 23 Jan 2011 09:17:31 +0000 (10:17 +0100)]
modem: Add feature entry for supplementary services

13 years agoussd: Use global definition of supplementary services interface
Marcel Holtmann [Sun, 23 Jan 2011 09:17:05 +0000 (10:17 +0100)]
ussd: Use global definition of supplementary services interface

13 years agodbus: Add global definition of supplementary services interface
Marcel Holtmann [Sun, 23 Jan 2011 09:15:27 +0000 (10:15 +0100)]
dbus: Add global definition of supplementary services interface

13 years agodoc: fix class information of UMTS band
Jeevaka Badrappan [Sat, 22 Jan 2011 12:30:39 +0000 (04:30 -0800)]
doc: fix class information of UMTS band

13 years agoatmodem: Add support for technology reporting via CNTI
Marcel Holtmann [Sat, 22 Jan 2011 14:03:12 +0000 (15:03 +0100)]
atmodem: Add support for technology reporting via CNTI

13 years agogobi: Enable handling for GPRS registration
Marcel Holtmann [Sat, 22 Jan 2011 12:14:07 +0000 (13:14 +0100)]
gobi: Enable handling for GPRS registration

13 years agoatmodem: Add support for Gobi technology change handling
Marcel Holtmann [Sat, 22 Jan 2011 12:12:15 +0000 (13:12 +0100)]
atmodem: Add support for Gobi technology change handling

13 years agogobi: Check for SIM status first before enabling SIM card
Marcel Holtmann [Sat, 22 Jan 2011 12:02:35 +0000 (13:02 +0100)]
gobi: Check for SIM status first before enabling SIM card

13 years agogobi: Enable vendor quirk for network registration
Marcel Holtmann [Sat, 22 Jan 2011 11:38:49 +0000 (12:38 +0100)]
gobi: Enable vendor quirk for network registration

13 years agoatmodem: The Gobi devices have CI and LAC as unqouted strings
Marcel Holtmann [Sat, 22 Jan 2011 11:37:19 +0000 (12:37 +0100)]
atmodem: The Gobi devices have CI and LAC as unqouted strings

13 years agogobi: Add support for SMS, CBS and USSD interfaces
Marcel Holtmann [Sat, 22 Jan 2011 10:37:03 +0000 (11:37 +0100)]
gobi: Add support for SMS, CBS and USSD interfaces

13 years agoatmodem: Use Qualcomm Gobi quirks for SMS, CBS and USSD
Marcel Holtmann [Sat, 22 Jan 2011 10:32:50 +0000 (11:32 +0100)]
atmodem: Use Qualcomm Gobi quirks for SMS, CBS and USSD

13 years agoatmodem: Use switch statements for USSD vendor quirks
Marcel Holtmann [Sat, 22 Jan 2011 10:24:17 +0000 (11:24 +0100)]
atmodem: Use switch statements for USSD vendor quirks

13 years agoatmodem: Use switch statements for CBS vendor quirks
Marcel Holtmann [Sat, 22 Jan 2011 10:23:22 +0000 (11:23 +0100)]
atmodem: Use switch statements for CBS vendor quirks

13 years agoatmodem: Use switch statements for SMS vendor quirks
Marcel Holtmann [Sat, 22 Jan 2011 10:20:10 +0000 (11:20 +0100)]
atmodem: Use switch statements for SMS vendor quirks

13 years agoatmodem: Add quirk for Qualcomm Gobi modems
Marcel Holtmann [Sat, 22 Jan 2011 10:09:31 +0000 (11:09 +0100)]
atmodem: Add quirk for Qualcomm Gobi modems

13 years agosim: Remove double empty lines
Marcel Holtmann [Sat, 22 Jan 2011 10:06:34 +0000 (11:06 +0100)]
sim: Remove double empty lines

13 years agoisimodem: fix sending DTMF
Kai Vehmanen [Thu, 20 Jan 2011 14:13:01 +0000 (16:13 +0200)]
isimodem: fix sending DTMF

isi_call_dtmf_send_resp() handles the success case incorrectly, and
thus all send_tones attempts fail with bogus error codes.

13 years agoisimodem: fix issue with user busy release
Jeevaka Badrappan [Fri, 21 Jan 2011 08:24:30 +0000 (10:24 +0200)]
isimodem: fix issue with user busy release

when the user rejects the incoming call, hangup_active
will get called on the driver side whereas when the user
rejects the waiting call, set_udub will get called on the
driver side.

13 years agodoc: fix a kill-yank error
Pekka Pessi [Fri, 21 Jan 2011 12:44:06 +0000 (14:44 +0200)]
doc: fix a kill-yank error

13 years agocalypso: Fix issue with name presentation and voice calls
Marcel Holtmann [Fri, 21 Jan 2011 12:07:04 +0000 (13:07 +0100)]
calypso: Fix issue with name presentation and voice calls

The Calypso voice call driver uses an ofono_call object that is on the
stack. It is not automatically initilized to zero and thus causes to
have a name presentation that is not valid UTF-8. This in return makes
D-Bus fail and disconnect from the bus.

To fix this ensure that the ofono_call object is properly set to zero
first before populating it with values.

13 years agovoicecall: Fix some minor style issues for voicecall properties
Marcel Holtmann [Fri, 21 Jan 2011 10:25:50 +0000 (11:25 +0100)]
voicecall: Fix some minor style issues for voicecall properties

13 years agoAUTHORS: Mention Faiyaz's contributions
Denis Kenzior [Thu, 20 Jan 2011 20:59:27 +0000 (14:59 -0600)]
AUTHORS: Mention Faiyaz's contributions

13 years agosms: Break out message objects into message.[ch]
Faiyaz Baxamusa [Thu, 20 Jan 2011 21:42:37 +0000 (13:42 -0800)]
sms: Break out message objects into message.[ch]

These can be used as is by the CDMA SMS manager atom

13 years agodoc: Add messagemanager-api and change message-api
Faiyaz Baxamusa [Thu, 20 Jan 2011 21:42:36 +0000 (13:42 -0800)]
doc: Add messagemanager-api and change message-api

13 years agoTODO: add CDMA Connection Manager tasks
Christian Lam [Thu, 20 Jan 2011 19:24:33 +0000 (11:24 -0800)]
TODO: add CDMA Connection Manager tasks

13 years agoREADME: Annotate kernel dependencies
Gustavo F. Padovan [Thu, 20 Jan 2011 19:03:33 +0000 (17:03 -0200)]
README: Annotate kernel dependencies

13 years agosim-auth: Add atmodem driver
Andrzej Zaborowski [Wed, 19 Jan 2011 08:07:58 +0000 (09:07 +0100)]
sim-auth: Add atmodem driver

13 years agosim-auth: Add skeleton for the sim-auth atom
Andrzej Zaborowski [Wed, 19 Jan 2011 08:07:57 +0000 (09:07 +0100)]
sim-auth: Add skeleton for the sim-auth atom

13 years agoinclude: Add SIM authentication atom's
Andrzej Zaborowski [Wed, 19 Jan 2011 08:07:56 +0000 (09:07 +0100)]
include: Add SIM authentication atom's

Structures and function declarations for the SIM authentication
atom as proposed by Pekka Pessi, with just one method at the
moment.

13 years agoofono.h: Remove unneeded initialisers
Andrzej Zaborowski [Wed, 19 Jan 2011 08:07:53 +0000 (09:07 +0100)]
ofono.h: Remove unneeded initialisers

They have no effect, enum already ensures the values are unique.

13 years agosimutil: Fix a memory leak
Denis Kenzior [Thu, 20 Jan 2011 17:09:38 +0000 (11:09 -0600)]
simutil: Fix a memory leak

13 years agounit: unit test for sim_parse_app_template_entries
Andrzej Zaborowski [Wed, 19 Jan 2011 08:07:55 +0000 (09:07 +0100)]
unit: unit test for sim_parse_app_template_entries

13 years agosimutil: SIM applications directory decoding utils
Andrzej Zaborowski [Wed, 19 Jan 2011 08:07:54 +0000 (09:07 +0100)]
simutil: SIM applications directory decoding utils

13 years agosim: getters for mcc and mnc implementation
Jukka Saunamaki [Wed, 19 Jan 2011 07:21:28 +0000 (09:21 +0200)]
sim: getters for mcc and mnc implementation

13 years agosim: getters for mcc and mnc definition
Jukka Saunamaki [Wed, 19 Jan 2011 07:21:27 +0000 (09:21 +0200)]
sim: getters for mcc and mnc definition

13 years agosim: store mcc and mnc separate from imsi
Jukka Saunamaki [Wed, 19 Jan 2011 07:21:26 +0000 (09:21 +0200)]
sim: store mcc and mnc separate from imsi

13 years agostk: Handle Launch Browser proactive command
Jeevaka Badrappan [Thu, 20 Jan 2011 12:52:56 +0000 (14:52 +0200)]
stk: Handle Launch Browser proactive command

13 years agostkutil: add check for qualifier and browser id
Jeevaka Badrappan [Thu, 20 Jan 2011 12:52:55 +0000 (14:52 +0200)]
stkutil: add check for qualifier and browser id

Checks the valid qualifier and browser id values
applicable for launch browser proactive command

13 years agogprs: Make gprs atom offline-safe
Pekka Pessi [Thu, 20 Jan 2011 13:37:11 +0000 (15:37 +0200)]
gprs: Make gprs atom offline-safe

Allow use of GPRS atom both in online and offline (post_sim) states.

The GPRS now considers the removal of the netreg atom as implicit detach
and registration change to NOT_REGISTERED.

13 years agotest: Remove deregister support from test script
Aki Niemi [Wed, 19 Jan 2011 21:53:55 +0000 (23:53 +0200)]
test: Remove deregister support from test script

13 years agodoc: Remove deregister method documentation
Aki Niemi [Wed, 19 Jan 2011 21:53:54 +0000 (23:53 +0200)]
doc: Remove deregister method documentation

13 years agoapi: Remove deregister from modem driver API
Aki Niemi [Wed, 19 Jan 2011 21:53:53 +0000 (23:53 +0200)]
api: Remove deregister from modem driver API

13 years agoatmodem: Remove deregister implementation
Aki Niemi [Wed, 19 Jan 2011 21:53:52 +0000 (23:53 +0200)]
atmodem: Remove deregister implementation

13 years agoisimodem: Remove deregister implementation
Aki Niemi [Wed, 19 Jan 2011 21:53:51 +0000 (23:53 +0200)]
isimodem: Remove deregister implementation

13 years agonetreg: Deprecate the deregister method
Aki Niemi [Wed, 19 Jan 2011 21:53:50 +0000 (23:53 +0200)]
netreg: Deprecate the deregister method

13 years agogprs: Move packet bearer stuff into gprs.c
Denis Kenzior [Thu, 20 Jan 2011 15:49:36 +0000 (09:49 -0600)]
gprs: Move packet bearer stuff into gprs.c

13 years agoRelease 0.39 0.39
Marcel Holtmann [Thu, 20 Jan 2011 12:54:44 +0000 (13:54 +0100)]
Release 0.39

13 years agogprs: mark context driver as not used when removing active context
Tomasz Gregorek [Thu, 20 Jan 2011 12:16:59 +0000 (13:16 +0100)]
gprs: mark context driver as not used when removing active context

13 years agogatchat: improve large file downlink data transfer
Carlos Pargada [Thu, 20 Jan 2011 11:53:50 +0000 (11:53 +0000)]
gatchat: improve large file downlink data transfer

Fix large file downlink data transfer on IFX modem. Increase buffer size of
ring buffer to support close received Packets from the modem. Set highest
priority for write data on IO device

13 years agocore: Always return success to a no-op
Aki Niemi [Thu, 20 Jan 2011 10:55:13 +0000 (12:55 +0200)]
core: Always return success to a no-op

A SetProperty that doesn't actually change the Online property's state
when no change to that state is pending, should not fail. It should
always succeed regardless of the current modem state.

13 years agobluetooth: Add reference count for bluetooth utils
Frédéric Danis [Thu, 20 Jan 2011 11:10:12 +0000 (12:10 +0100)]
bluetooth: Add reference count for bluetooth utils

Add bluetooth_ref()/bluetooth_unref() to support reference count in
bluetooth utils.

13 years agoatmodem: Always listen for bearer notifications
Marcel Holtmann [Thu, 20 Jan 2011 11:13:17 +0000 (12:13 +0100)]
atmodem: Always listen for bearer notifications

13 years agoatmodem: packet switch bearer support
Rémi Denis-Courmont [Thu, 20 Jan 2011 08:37:52 +0000 (10:37 +0200)]
atmodem: packet switch bearer support

13 years agodoc: document bearer property
Rémi Denis-Courmont [Thu, 20 Jan 2011 08:37:51 +0000 (10:37 +0200)]
doc: document bearer property

13 years agogprs: Core support for packet switched bearer reporting
Rémi Denis-Courmont [Thu, 20 Jan 2011 08:37:50 +0000 (10:37 +0200)]
gprs: Core support for packet switched bearer reporting

13 years agogprs: Declaration for packet switched bearer notifications
Rémi Denis-Courmont [Thu, 20 Jan 2011 08:37:49 +0000 (10:37 +0200)]
gprs: Declaration for packet switched bearer notifications

13 years agocommon: Define packet switched bearers
Rémi Denis-Courmont [Thu, 20 Jan 2011 08:37:48 +0000 (10:37 +0200)]
common: Define packet switched bearers

13 years agogatchat: The IO setup already ensures no encoding and no buffering
Marcel Holtmann [Thu, 20 Jan 2011 09:56:21 +0000 (10:56 +0100)]
gatchat: The IO setup already ensures no encoding and no buffering

13 years agogatchat: Small cleanup to make function look simpler
Marcel Holtmann [Thu, 20 Jan 2011 09:55:31 +0000 (10:55 +0100)]
gatchat: Small cleanup to make function look simpler

13 years agovoicecall: Handle empty EFecc properly
Denis Kenzior [Wed, 19 Jan 2011 21:20:22 +0000 (15:20 -0600)]
voicecall: Handle empty EFecc properly

When EFecc is empty we should still set the calling codes to the
default_en_list, not keep the default_en_list + default_en_list_no_sim

13 years agosim: Add a missing break statement just in case
Denis Kenzior [Wed, 19 Jan 2011 20:56:48 +0000 (14:56 -0600)]
sim: Add a missing break statement just in case

13 years agoatmodem: add ifx support for pin retry count
Jeevaka Badrappan [Wed, 19 Jan 2011 18:34:53 +0000 (10:34 -0800)]
atmodem: add ifx support for pin retry count

13 years agogdbus: Remove root node 'name' attribute in introspection
Daniel Wagner [Fri, 14 Jan 2011 15:14:21 +0000 (16:14 +0100)]
gdbus: Remove root node 'name' attribute in introspection

generate_introspection_xml generates the root <node> tags with a
'name' attribute. This seems to be a valid attribute but it is not
consistent with the way the D-Bus daemon generates empty nodes.

For example if we register "/foo/bar", D-Bus daemon will generate for
"/foo" a introspection which looks like this:

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
  <node name="bar"/>
</node>

and generate_introspection_xml generates for "/foo/bar":

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/foo/bar">
</node>

Just don't add the 'name' attribute to the root node.  The GLib
binding for D-Bus does it the same way.

13 years agogdbus: invaldate_parent_data: walk the whole path down
Daniel Wagner [Fri, 14 Jan 2011 15:14:20 +0000 (16:14 +0100)]
gdbus: invaldate_parent_data: walk the whole path down

Assume there is only one object registerd at "/". If we add a new
object at "/foo/bar" the introspection of "/" has to be updated. A new
node has to be added at "/".

invalidate_parent_data stops invaldating the whole path because the
boolean return value of dbus_connection_get_object_path_data is used
wrong.

If we get a TRUE just go on down in the path, if FALSE is return
dbus_connection_get_object_path_data has run out of memory.

13 years agoTODO: add ISIM
Pekka Pessi [Wed, 19 Jan 2011 14:19:13 +0000 (16:19 +0200)]
TODO: add ISIM

13 years agoTODO: add GBA_U suite
Pekka Pessi [Wed, 19 Jan 2011 14:19:12 +0000 (16:19 +0200)]
TODO: add GBA_U suite

13 years agoTODO: add SIM authentication API
Pekka Pessi [Wed, 19 Jan 2011 14:19:11 +0000 (16:19 +0200)]
TODO: add SIM authentication API

13 years agohuawei: do not query sim state on pre_sim
Lucas De Marchi [Wed, 19 Jan 2011 14:34:41 +0000 (12:34 -0200)]
huawei: do not query sim state on pre_sim

Sim state is already known after modem is enabled and there's no need to
query it again. Before this patch, query_sim_state() was called upon
huawei_enable() and huawei_pre_sim(). Both functions might call
notify_sim_state() with a valid state. Hence we could eventually end up
sending AT+CFUN=5 command twice.

13 years agoifx: Remove modification of GIOChannel before multiplexer setup
Marcel Holtmann [Wed, 19 Jan 2011 14:32:52 +0000 (15:32 +0100)]
ifx: Remove modification of GIOChannel before multiplexer setup

After g_at_chat_new() call the GIOChannel is already in non blocking,
no encoding and no buffering mode. So no need for extra modifications.

13 years agogatchat: Disable encoding for RawIP GIOChannel
Marcel Holtmann [Wed, 19 Jan 2011 14:28:59 +0000 (15:28 +0100)]
gatchat: Disable encoding for RawIP GIOChannel

13 years agohuawei: do not set timer more than once
Lucas De Marchi [Wed, 19 Jan 2011 13:07:43 +0000 (11:07 -0200)]
huawei: do not set timer more than once

If a "^SYSINFO" arrives after the timer for query_sim_locked() has been
set up, it'd would set a new timer, signaling a sim state change more
than once.

13 years agobuild: Use standard pkginclude directory
Rémi Denis-Courmont [Wed, 19 Jan 2011 10:30:56 +0000 (12:30 +0200)]
build: Use standard pkginclude directory

automake automatically defines includedir to the base include directory
and pkgincludedir to ./@PACKAGE@ from there. So lets use the later one
instead of overriding automake.

13 years agogatchat: Fix setup of GIOChannel from multiplexer DLC
Marcel Holtmann [Wed, 19 Jan 2011 11:10:10 +0000 (12:10 +0100)]
gatchat: Fix setup of GIOChannel from multiplexer DLC

13 years agodoc: Fix network API documentation
Aki Niemi [Wed, 19 Jan 2011 08:32:30 +0000 (10:32 +0200)]
doc: Fix network API documentation

The Name properties in NetworkRegistration and in NetworkOperator are
not identical, and are actually used for different purposes.

13 years agosms: make sms atom offline-safe
Pekka Pessi [Fri, 14 Jan 2011 14:40:53 +0000 (16:40 +0200)]
sms: make sms atom offline-safe

Allow use of SMS atom both in online and offline (post_sim) states.

SMS atom now watches network registration atom and state.  Thmessages
are queued but not sent if not registered to a network.  Errors
occurring when a short message is being sent while transition from
online to offline or when network coverage is dropped are now handled
gracefully.

13 years agodoc: Describe ConfirmLaunchBrowser method
Jeevaka Badrappan [Fri, 14 Jan 2011 09:38:55 +0000 (11:38 +0200)]
doc: Describe ConfirmLaunchBrowser method

13 years agotest: Add support for launch browser command
Jeevaka Badrappan [Fri, 14 Jan 2011 09:38:54 +0000 (11:38 +0200)]
test: Add support for launch browser command

13 years agoAdd GBA documents to doc/standards.txt
Pekka Pessi [Wed, 12 Jan 2011 23:08:21 +0000 (01:08 +0200)]
Add GBA documents to doc/standards.txt

13 years agodoc: use right description for CallSettings
Lucas De Marchi [Wed, 19 Jan 2011 00:14:49 +0000 (22:14 -0200)]
doc: use right description for CallSettings

13 years agoTODO: mark CDIP task as done
Lucas De Marchi [Tue, 18 Jan 2011 23:49:55 +0000 (21:49 -0200)]
TODO: mark CDIP task as done

13 years agovoicecall: Be more explicit when copying structs
Denis Kenzior [Tue, 18 Jan 2011 20:11:39 +0000 (14:11 -0600)]
voicecall: Be more explicit when copying structs

13 years agoatmodem: add cdip to voicecall
Lucas De Marchi [Wed, 12 Jan 2011 11:27:41 +0000 (09:27 -0200)]
atmodem: add cdip to voicecall

13 years agodoc: Reword CDIP documentation slightly
Denis Kenzior [Tue, 18 Jan 2011 20:02:53 +0000 (14:02 -0600)]
doc: Reword CDIP documentation slightly