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

13 years agovoicecall: Update to the new API
Denis Kenzior [Tue, 18 Jan 2011 20:00:36 +0000 (14:00 -0600)]
voicecall: Update to the new API

13 years agodoc: Name CalledLineIdentification as IncomingLine
Denis Kenzior [Tue, 18 Jan 2011 19:59:29 +0000 (13:59 -0600)]
doc: Name CalledLineIdentification as IncomingLine

13 years agocall-settings: apply rule M11 of coding style
Lucas De Marchi [Wed, 12 Jan 2011 11:27:47 +0000 (09:27 -0200)]
call-settings: apply rule M11 of coding style

13 years agodoc: add CalledLinePresentation to CallSettings
Lucas De Marchi [Fri, 14 Jan 2011 13:47:14 +0000 (11:47 -0200)]
doc: add CalledLinePresentation to CallSettings

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

13 years agocall-settings: add support for cdip
Lucas De Marchi [Wed, 12 Jan 2011 11:27:44 +0000 (09:27 -0200)]
call-settings: add support for cdip

13 years agoinclude: add method for querying cdip support
Lucas De Marchi [Wed, 12 Jan 2011 11:27:43 +0000 (09:27 -0200)]
include: add method for querying cdip support

13 years agodoc: add CalledLineIdentification to Voicecall
Lucas De Marchi [Wed, 12 Jan 2011 11:27:42 +0000 (09:27 -0200)]
doc: add CalledLineIdentification to Voicecall

13 years agovoicecall: add support for cdip
Lucas De Marchi [Wed, 12 Jan 2011 11:27:40 +0000 (09:27 -0200)]
voicecall: add support for cdip

Enable oFono to show the identification informed with CDIP.

13 years agoinclude: add cdip field in ofono_call
Lucas De Marchi [Wed, 12 Jan 2011 11:27:39 +0000 (09:27 -0200)]
include: add cdip field in ofono_call

13 years agogisi: remove g_isi_pending_from_msg()
Pekka Pessi [Tue, 18 Jan 2011 21:27:09 +0000 (23:27 +0200)]
gisi: remove g_isi_pending_from_msg()

13 years agogisi: simplify pending management
Pekka Pessi [Tue, 18 Jan 2011 21:27:08 +0000 (23:27 +0200)]
gisi: simplify pending management

Client or server mark their pending objects with
the function g_isi_pending_set_owner().

When client or server get destroyed or reset the pending objects are
removed with the function g_isi_remove_pending_by_owner(). As a client
or server always uses only a particular resource, all the pending
objects are conveniently stored into a single list.

13 years agoisimodem: fix crash in gprs
Pekka Pessi [Wed, 12 Jan 2011 19:24:12 +0000 (21:24 +0200)]
isimodem: fix crash in gprs

There was a crash if gprs was removed while creating context.

13 years agoisimodem: Style fix in gprs, M12
Aki Niemi [Tue, 18 Jan 2011 20:21:48 +0000 (22:21 +0200)]
isimodem: Style fix in gprs, M12

13 years agogisi: remove before notify
Pekka Pessi [Wed, 12 Jan 2011 19:24:09 +0000 (21:24 +0200)]
gisi: remove before notify

Just in case, remove pending operations before calling notifys.
The notify function can remove client, service or modem.

13 years agodoc: Fix a small typo
Marcel Holtmann [Tue, 18 Jan 2011 20:18:51 +0000 (21:18 +0100)]
doc: Fix a small typo

13 years agogatchat: Turn off buffering of GAtChat IO channels
Denis Kenzior [Tue, 18 Jan 2011 18:14:42 +0000 (12:14 -0600)]
gatchat: Turn off buffering of GAtChat IO channels

After commit d83da353702c8533c36e06ead14aaec5ba900cf4 this was causing
the command queue to never run.

13 years agoAUTHORS: Mention Jessica's contributions
Denis Kenzior [Tue, 18 Jan 2011 15:52:10 +0000 (09:52 -0600)]
AUTHORS: Mention Jessica's contributions

13 years agoste: Use UTF-8 as a default character set
Lasse Kunnasluoto [Tue, 18 Jan 2011 15:45:44 +0000 (17:45 +0200)]
ste: Use UTF-8 as a default character set

13 years agosimutil: Sort sim_fileid in numerical order
Denis Kenzior [Tue, 18 Jan 2011 15:49:22 +0000 (09:49 -0600)]
simutil: Sort sim_fileid in numerical order

13 years agosimutil: M9, M11, Minor style fixes and indentation
Jessica Nilsson [Tue, 18 Jan 2011 12:32:10 +0000 (13:32 +0100)]
simutil: M9, M11, Minor style fixes and indentation

13 years agogatserver: ATS6 command handler added
Olivier Guiter [Mon, 17 Jan 2011 11:18:58 +0000 (12:18 +0100)]
gatserver: ATS6 command handler added

13 years agoatmodem: fix signal strength issue with ifx
Jeevaka Badrappan [Tue, 18 Jan 2011 15:00:31 +0000 (17:00 +0200)]
atmodem: fix signal strength issue with ifx

13 years agodoc: Add AT command set for Dialup Networking
Olivier Guiter [Tue, 18 Jan 2011 14:59:07 +0000 (15:59 +0100)]
doc: Add AT command set for Dialup Networking

13 years agodoc: Add Bluetooth Dial-up Networking Profile specs
Olivier Guiter [Tue, 18 Jan 2011 14:59:06 +0000 (15:59 +0100)]
doc: Add Bluetooth Dial-up Networking Profile specs

13 years agoatmodem: coding style fix
Jeevaka Badrappan [Tue, 18 Jan 2011 14:45:06 +0000 (16:45 +0200)]
atmodem: coding style fix

13 years agoTODO: claim IPv6 task
Mika Liljeberg [Tue, 18 Jan 2011 13:40:44 +0000 (15:40 +0200)]
TODO: claim IPv6 task

13 years agodoc: Add short mention of CPHS under standards
Aki Niemi [Tue, 18 Jan 2011 13:19:06 +0000 (15:19 +0200)]
doc: Add short mention of CPHS under standards

13 years agogatchat: Use g_io_channel_read_chars and g_io_channel_write_chars
Marcel Holtmann [Tue, 18 Jan 2011 14:11:31 +0000 (15:11 +0100)]
gatchat: Use g_io_channel_read_chars and g_io_channel_write_chars

13 years agobuild: Use -DG_DISABLE_DEPRECATED compiler define
Marcel Holtmann [Tue, 18 Jan 2011 13:54:44 +0000 (14:54 +0100)]
build: Use -DG_DISABLE_DEPRECATED compiler define

13 years agoTODO: Add task for adding EFcsp support
Aki Niemi [Wed, 12 Jan 2011 10:55:25 +0000 (12:55 +0200)]
TODO: Add task for adding EFcsp support

This task will add support for CPHS Customer Service Profile (CSP),
specifically for the CSP PLMN mode bit therein.

13 years agonetreg: Remove default statement
Aki Niemi [Tue, 18 Jan 2011 08:51:49 +0000 (10:51 +0200)]
netreg: Remove default statement

13 years agonetreg: Fix userdata -> user_data
Aki Niemi [Thu, 13 Jan 2011 13:02:47 +0000 (15:02 +0200)]
netreg: Fix userdata -> user_data

This convention has been advertized on the mailing list.

13 years agosimutil: Style fixes, M12
Aki Niemi [Wed, 12 Jan 2011 11:39:43 +0000 (13:39 +0200)]
simutil: Style fixes, M12

13 years agonetreg: Style fixes, M12
Aki Niemi [Wed, 12 Jan 2011 11:39:33 +0000 (13:39 +0200)]
netreg: Style fixes, M12

13 years agocommon: Style fixes, M12
Aki Niemi [Wed, 12 Jan 2011 11:39:24 +0000 (13:39 +0200)]
common: Style fixes, M12