platform/upstream/ofono.git
13 years agostemodem: fix memleak when calls are disconnected
Jeevaka Badrappan [Mon, 7 Feb 2011 23:02:52 +0000 (15:02 -0800)]
stemodem: fix memleak when calls are disconnected

13 years agoifxmodem: remove colp handling done inside atd_cb
Jeevaka Badrappan [Mon, 7 Feb 2011 21:07:37 +0000 (13:07 -0800)]
ifxmodem: remove colp handling done inside atd_cb

13 years agoifxmodem: add handling of XCOLP notification
Jeevaka Badrappan [Mon, 7 Feb 2011 21:07:36 +0000 (13:07 -0800)]
ifxmodem: add handling of XCOLP notification

13 years agovoicecall: Fix check for ECT pre-conditions
Denis Kenzior [Mon, 7 Feb 2011 21:53:31 +0000 (15:53 -0600)]
voicecall: Fix check for ECT pre-conditions

We must have 1 Dialing / Alerting / Active call and a single
non-multiparty held call.

13 years agoifx: Adding modem selftest for Infineon modem
Anand Ramakrishna [Mon, 7 Feb 2011 21:25:05 +0000 (13:25 -0800)]
ifx: Adding modem selftest for Infineon modem

Infineon modem selftest, during ifx_enable().
Two steps trigger with timeout. In case one fails, modem will not power up.

13 years agoifxmodem: fix issue with gatchat usage
Jeevaka Badrappan [Mon, 7 Feb 2011 21:07:35 +0000 (13:07 -0800)]
ifxmodem: fix issue with gatchat usage

13 years agodoc: Mark SSN signals / properties as experimental
Denis Kenzior [Mon, 7 Feb 2011 19:38:32 +0000 (13:38 -0600)]
doc: Mark SSN signals / properties as experimental

13 years agodoc: Add new SSN voicecall API changes
Andras Domokos [Mon, 7 Feb 2011 17:09:32 +0000 (19:09 +0200)]
doc: Add new SSN voicecall API changes

13 years agosimfs: Add function to notify all file watches
Denis Kenzior [Mon, 7 Feb 2011 19:35:04 +0000 (13:35 -0600)]
simfs: Add function to notify all file watches

13 years agosim: Add implementation of sim file watching API
Denis Kenzior [Mon, 7 Feb 2011 18:26:50 +0000 (12:26 -0600)]
sim: Add implementation of sim file watching API

13 years agosimfs: Add file changed watches to simfs contexts
Denis Kenzior [Mon, 7 Feb 2011 18:19:14 +0000 (12:19 -0600)]
simfs: Add file changed watches to simfs contexts

13 years agosim: Add API for watching files changed via stk
Denis Kenzior [Mon, 7 Feb 2011 17:28:30 +0000 (11:28 -0600)]
sim: Add API for watching files changed via stk

13 years agon900: Enable use of legacy subscriptions
Aki Niemi [Mon, 7 Feb 2011 07:39:58 +0000 (09:39 +0200)]
n900: Enable use of legacy subscriptions

13 years agoisiusb: Enable use of legacy subscriptions
Aki Niemi [Mon, 7 Feb 2011 07:39:46 +0000 (09:39 +0200)]
isiusb: Enable use of legacy subscriptions

13 years agogisi: Refactor indication subscriptions
Aki Niemi [Fri, 4 Feb 2011 12:58:04 +0000 (14:58 +0200)]
gisi: Refactor indication subscriptions

Handle different message types for IND subscriptions based on the
presence of the GISI_MODEM_FLAG_USE_LEGACY_SUBSCRIBE flag. This
enables building modem plugins for modems that only support one or the
other available IND types.

Based on patches from:
Jessica Nilsson <jessica.j.nilsson@stericsson.com>

13 years agogisi: Minor style fixes
Aki Niemi [Fri, 4 Feb 2011 12:55:15 +0000 (14:55 +0200)]
gisi: Minor style fixes

13 years agogisi: Refactor modem to use remote device
Aki Niemi [Fri, 4 Feb 2011 12:54:41 +0000 (14:54 +0200)]
gisi: Refactor modem to use remote device

13 years agogisi: Add new API for setting modem remote device
Aki Niemi [Mon, 7 Feb 2011 07:49:27 +0000 (09:49 +0200)]
gisi: Add new API for setting modem remote device

13 years agogisi: Add new PhoNet device ID for STE
Aki Niemi [Fri, 4 Feb 2011 12:51:53 +0000 (14:51 +0200)]
gisi: Add new PhoNet device ID for STE

13 years agogisi: Add checks for NULL
Aki Niemi [Mon, 7 Feb 2011 07:44:50 +0000 (09:44 +0200)]
gisi: Add checks for NULL

13 years agogisi: Add API for setting modem flags
Aki Niemi [Fri, 4 Feb 2011 12:49:29 +0000 (14:49 +0200)]
gisi: Add API for setting modem flags

13 years agoplugins: Adapt isiusb and gpio plugins to new API
Aki Niemi [Fri, 4 Feb 2011 12:47:53 +0000 (14:47 +0200)]
plugins: Adapt isiusb and gpio plugins to new API

13 years agogisi: Refactor netlink
Aki Niemi [Fri, 4 Feb 2011 12:47:00 +0000 (14:47 +0200)]
gisi: Refactor netlink

Don't use typedefs for enum types, and move PhoNet device enum over to
common.h.

13 years agodoc: Add documentation for Alphabet property
Aki Niemi [Thu, 3 Feb 2011 13:20:36 +0000 (15:20 +0200)]
doc: Add documentation for Alphabet property

13 years agosms: Minor style fix
Denis Kenzior [Fri, 4 Feb 2011 18:44:12 +0000 (12:44 -0600)]
sms: Minor style fix

13 years agosms: Be more paranoid when loading SMS settings
Denis Kenzior [Fri, 4 Feb 2011 18:40:33 +0000 (12:40 -0600)]
sms: Be more paranoid when loading SMS settings

13 years agosms: Use a better pattern for bearer_from_string
Denis Kenzior [Fri, 4 Feb 2011 18:36:14 +0000 (12:36 -0600)]
sms: Use a better pattern for bearer_from_string

13 years agogprs: Be a bit more paranoid when loading settings
Denis Kenzior [Fri, 4 Feb 2011 18:35:32 +0000 (12:35 -0600)]
gprs: Be a bit more paranoid when loading settings

13 years agosms: Add alphabet support to SMS atom
Aki Niemi [Thu, 3 Feb 2011 13:20:35 +0000 (15:20 +0200)]
sms: Add alphabet support to SMS atom

13 years agoplugin: Allow colon as plugin name separator
Marcel Holtmann [Mon, 7 Feb 2011 03:25:58 +0000 (19:25 -0800)]
plugin: Allow colon as plugin name separator

13 years agoRelease 0.41 0.41
Marcel Holtmann [Sun, 6 Feb 2011 17:22:22 +0000 (09:22 -0800)]
Release 0.41

13 years agosmsutil: M16 coding style fix
Jeevaka Badrappan [Sat, 5 Feb 2011 14:29:11 +0000 (06:29 -0800)]
smsutil: M16 coding style fix

13 years agomodem: M16 coding style fix
Jeevaka Badrappan [Sat, 5 Feb 2011 14:29:10 +0000 (06:29 -0800)]
modem: M16 coding style fix

13 years agostemodem: M16 coding style fix
Jeevaka Badrappan [Sat, 5 Feb 2011 14:29:09 +0000 (06:29 -0800)]
stemodem: M16 coding style fix

13 years agoifxmodem: M16 coding style fix
Jeevaka Badrappan [Sat, 5 Feb 2011 14:29:08 +0000 (06:29 -0800)]
ifxmodem: M16 coding style fix

13 years agohfpmodem: M16 coding style fix
Jeevaka Badrappan [Sat, 5 Feb 2011 14:29:07 +0000 (06:29 -0800)]
hfpmodem: M16 coding style fix

13 years agoatmodem: M16 coding style fix
Jeevaka Badrappan [Sat, 5 Feb 2011 14:29:06 +0000 (06:29 -0800)]
atmodem: M16 coding style fix

13 years agocoding-style: Don't use hex with shift operator
Jeevaka Badrappan [Sat, 5 Feb 2011 14:29:05 +0000 (06:29 -0800)]
coding-style: Don't use hex with shift operator

13 years agostemodem: Use defined call_status enum
Jeevaka Badrappan [Sat, 5 Feb 2011 13:03:03 +0000 (05:03 -0800)]
stemodem: Use defined call_status enum

13 years agoifxmodem: Use defined call_status enum
Jeevaka Badrappan [Sat, 5 Feb 2011 13:03:02 +0000 (05:03 -0800)]
ifxmodem: Use defined call_status enum

13 years agohuaweimodem: Use defined call_status enum
Jeevaka Badrappan [Sat, 5 Feb 2011 13:03:01 +0000 (05:03 -0800)]
huaweimodem: Use defined call_status enum

13 years agohfpmodem: Use defined call_status enum
Jeevaka Badrappan [Sat, 5 Feb 2011 13:03:00 +0000 (05:03 -0800)]
hfpmodem: Use defined call_status enum

13 years agoatmodem: use defined call_status enum
Jeevaka Badrappan [Sat, 5 Feb 2011 13:02:59 +0000 (05:02 -0800)]
atmodem: use defined call_status enum

13 years agostemodem: Check for ok in voicecall_initialize
Marit Henriksen [Fri, 4 Feb 2011 14:40:04 +0000 (15:40 +0100)]
stemodem: Check for ok in voicecall_initialize

13 years agoifxmodem: fix xtms read and test cmd prefix
Jeevaka Badrappan [Fri, 4 Feb 2011 13:42:28 +0000 (15:42 +0200)]
ifxmodem: fix xtms read and test cmd prefix

with the latest modem firmware, xctms prefix
is returned as per the 3GPP format.

13 years agotest: test-sms - input and signals outputs together
Konrad Slowinski [Fri, 4 Feb 2011 08:38:42 +0000 (10:38 +0200)]
test: test-sms - input and signals outputs together

13 years agodoc: add Sim Toolkit feature list table
Jeevaka Badrappan [Thu, 3 Feb 2011 22:59:12 +0000 (14:59 -0800)]
doc: add Sim Toolkit feature list table

13 years agodoc: add Sim Toolkit overview
Jeevaka Badrappan [Thu, 3 Feb 2011 22:59:11 +0000 (14:59 -0800)]
doc: add Sim Toolkit overview

13 years agodoc: remove extra space in overview
Jeevaka Badrappan [Thu, 3 Feb 2011 21:38:06 +0000 (13:38 -0800)]
doc: remove extra space in overview

13 years agosmsutil: Fix compilation
Denis Kenzior [Thu, 3 Feb 2011 20:37:00 +0000 (14:37 -0600)]
smsutil: Fix compilation

13 years agosmsutil: Add alphabet support to encoding
Aki Niemi [Thu, 3 Feb 2011 13:20:34 +0000 (15:20 +0200)]
smsutil: Add alphabet support to encoding

13 years agoutil: Fix convert_utf8_to_gsm_best_lang logic
Denis Kenzior [Thu, 3 Feb 2011 20:18:16 +0000 (14:18 -0600)]
util: Fix convert_utf8_to_gsm_best_lang logic

13 years agoutil: Add best dialect picker API
Aki Niemi [Thu, 3 Feb 2011 13:20:33 +0000 (15:20 +0200)]
util: Add best dialect picker API

13 years agoutil: Use gboolean for returning success / failure
Denis Kenzior [Thu, 3 Feb 2011 19:50:42 +0000 (13:50 -0600)]
util: Use gboolean for returning success / failure

13 years agoutil: Refactor conversion table handling
Aki Niemi [Thu, 3 Feb 2011 13:20:31 +0000 (15:20 +0200)]
util: Refactor conversion table handling

13 years agocore: Minor style tweaks
Denis Kenzior [Thu, 3 Feb 2011 19:15:29 +0000 (13:15 -0600)]
core: Minor style tweaks

13 years agosimfs: implement ofono_sim_context api
Andrzej Zaborowski [Thu, 3 Feb 2011 07:37:37 +0000 (08:37 +0100)]
simfs: implement ofono_sim_context api

13 years agosim: ofono_sim_context api header changes
Andrzej Zaborowski [Sat, 29 Jan 2011 00:29:20 +0000 (01:29 +0100)]
sim: ofono_sim_context api header changes

This patch introduces sim FS contexts which are used to queue file
read and write operations.  When a context is freed all pending
operations in that context are cancelled preventing callbacks from
being called causing segfaults.

13 years agosimfs: Use cache for sim_fs_read_info requests too.
Andrzej Zaborowski [Sat, 29 Jan 2011 00:29:19 +0000 (01:29 +0100)]
simfs: Use cache for sim_fs_read_info requests too.

There seems to be no reason that the fileinfo is cached for file
read or block read requests but not info_only requests, so move
code around to fix this.  O_RDWR is changed to O_WRONLY for the
cache file because the file is not being read in case of cache miss.

13 years agodoc: Rename to our api filename conventions
Denis Kenzior [Thu, 3 Feb 2011 16:24:39 +0000 (10:24 -0600)]
doc: Rename to our api filename conventions

13 years agodoc: AssistedSatelliteNavigation and Agent API
Simon Lethbridge [Sat, 29 Jan 2011 23:44:43 +0000 (00:44 +0100)]
doc: AssistedSatelliteNavigation and Agent API

This patch introduces support for Global Satellite Navigation System (GNSS),
using the AT commands AT+CPOS and +CPOSR as specified 3GPP 27.007.

13 years agotest: Find the active call and do hangup on that
Marit Henriksen [Thu, 3 Feb 2011 13:14:08 +0000 (14:14 +0100)]
test: Find the active call and do hangup on that

13 years agostemodem: Fix handling of local_release
Marit Henriksen [Thu, 3 Feb 2011 13:15:45 +0000 (14:15 +0100)]
stemodem: Fix handling of local_release

- Reset local_release when call is disconnected.
- Change bitmap for affected types, ste_hangup is only called when
  call state is Incoming, Dialing, Alerting or Active.
- Used macros instead of numbers when creating bitmaps.

13 years agostemodem: Add handling of ECAV status Released
Marit Henriksen [Thu, 3 Feb 2011 13:19:16 +0000 (14:19 +0100)]
stemodem: Add handling of ECAV status Released

- *ECAV UR code has been extended with a new state Released,
  sent immediately when MO call is released.
- Apply rule M11 of coding style.

13 years agoRevert "doc: Updated and clarified overview"
Aki Niemi [Thu, 3 Feb 2011 13:05:20 +0000 (15:05 +0200)]
Revert "doc: Updated and clarified overview"

This reverts commit 457b051928da7a831f7361b9bd156d494593ce04.

Meant only as request for comments.

13 years agoisimodem: fix problems in call state reporting
Pekka Pessi [Tue, 1 Feb 2011 22:22:09 +0000 (00:22 +0200)]
isimodem: fix problems in call state reporting

Do not report early incoming calls.

Report "disconnected" state separately.

Call ofono_voicecall_disconnected() only after call id is released.

13 years agodoc: Updated and clarified overview
Aki Niemi [Mon, 31 Jan 2011 09:07:47 +0000 (11:07 +0200)]
doc: Updated and clarified overview

Refined scope of the project, added smart messaging and push
notification, fixed typos and added IMS UA as an out-of-scope item.

13 years agopush-notification: Fix the nulling of the agent
Denis Kenzior [Wed, 2 Feb 2011 19:24:04 +0000 (13:24 -0600)]
push-notification: Fix the nulling of the agent

Same as the previous commit, but applies to push-notifications

13 years agosmart-messaging: set agent to NULL after free
Lucas De Marchi [Wed, 2 Feb 2011 18:53:32 +0000 (16:53 -0200)]
smart-messaging: set agent to NULL after free

If agent is not set to NULL after it's freed, the following situation
would not work:

smart_messaging_register_agent()
smart_messaging_unregister_agent()
smart_messaging_register_agent()

And this one could potentially crash oFono:

smart_messaging_register_agent()
smart_messaging_unregister_agent()
smart_messaging_unregister_agent()

13 years agoexamples: fix issue with dst print
Jeevaka Badrappan [Wed, 2 Feb 2011 13:10:46 +0000 (15:10 +0200)]
examples: fix issue with dst print

13 years agoinclude: fix comment on dst value
Jeevaka Badrappan [Wed, 2 Feb 2011 13:10:45 +0000 (15:10 +0200)]
include: fix comment on dst value

13 years agoTODO: Mark long phone number support task as done
Denis Kenzior [Tue, 1 Feb 2011 16:36:41 +0000 (10:36 -0600)]
TODO: Mark long phone number support task as done

13 years agotest: test-sms test script added
Konrad Slowinski [Wed, 2 Feb 2011 10:44:41 +0000 (12:44 +0200)]
test: test-sms test script added

13 years agostk: Fix style issues
Aki Niemi [Wed, 2 Feb 2011 08:55:24 +0000 (10:55 +0200)]
stk: Fix style issues

13 years agostkutil: Remove trailing WS
Aki Niemi [Wed, 2 Feb 2011 08:55:14 +0000 (10:55 +0200)]
stkutil: Remove trailing WS

13 years agoutil: Fix style issue with long lines
Aki Niemi [Wed, 2 Feb 2011 08:51:35 +0000 (10:51 +0200)]
util: Fix style issue with long lines

13 years agosms: Fix indentation
Aki Niemi [Wed, 2 Feb 2011 08:49:21 +0000 (10:49 +0200)]
sms: Fix indentation

13 years agosimutil: Remove trailing WS
Aki Niemi [Wed, 2 Feb 2011 08:49:11 +0000 (10:49 +0200)]
simutil: Remove trailing WS

13 years agosim: Fix style issues
Aki Niemi [Wed, 2 Feb 2011 08:48:54 +0000 (10:48 +0200)]
sim: Fix style issues

13 years agosimfs: Add NULL check
Aki Niemi [Wed, 2 Feb 2011 08:48:37 +0000 (10:48 +0200)]
simfs: Add NULL check

13 years agomessage-waiting: Fix indentation
Aki Niemi [Wed, 2 Feb 2011 08:47:06 +0000 (10:47 +0200)]
message-waiting: Fix indentation

13 years agocbs: Fix style issues
Aki Niemi [Wed, 2 Feb 2011 08:46:44 +0000 (10:46 +0200)]
cbs: Fix style issues

13 years agocall-volume: Fix style issue
Aki Niemi [Wed, 2 Feb 2011 08:45:57 +0000 (10:45 +0200)]
call-volume: Fix style issue

13 years agocall-settings: Fix style issues
Aki Niemi [Wed, 2 Feb 2011 08:45:44 +0000 (10:45 +0200)]
call-settings: Fix style issues

13 years agocall-barring: Fix style issue
Aki Niemi [Wed, 2 Feb 2011 08:45:19 +0000 (10:45 +0200)]
call-barring: Fix style issue

13 years agonetreg: Fix coding style, M12
Aki Niemi [Wed, 2 Feb 2011 07:51:34 +0000 (09:51 +0200)]
netreg: Fix coding style, M12

13 years agocall-forwarding: Remove useless curly brackets
Aki Niemi [Wed, 2 Feb 2011 08:18:35 +0000 (10:18 +0200)]
call-forwarding: Remove useless curly brackets

13 years agosimutil: Add checks for NULL
Aki Niemi [Wed, 2 Feb 2011 07:49:17 +0000 (09:49 +0200)]
simutil: Add checks for NULL

13 years agoaudio-settings: Fix style, use tabs to indent
Aki Niemi [Wed, 2 Feb 2011 08:16:54 +0000 (10:16 +0200)]
audio-settings: Fix style, use tabs to indent

13 years agocall-meter: Fix style issues
Aki Niemi [Wed, 2 Feb 2011 09:03:10 +0000 (11:03 +0200)]
call-meter: Fix style issues

13 years agoisimodem: fix crash in sms driver
Pekka Pessi [Tue, 1 Feb 2011 20:37:09 +0000 (22:37 +0200)]
isimodem: fix crash in sms driver

13 years agodrivers: fix misspellings
Lucas De Marchi [Tue, 1 Feb 2011 17:32:50 +0000 (15:32 -0200)]
drivers: fix misspellings

13 years agotest: fix misspelling
Lucas De Marchi [Tue, 1 Feb 2011 17:32:52 +0000 (15:32 -0200)]
test: fix misspelling

13 years agoplugins: fix misspelling
Lucas De Marchi [Tue, 1 Feb 2011 17:32:51 +0000 (15:32 -0200)]
plugins: fix misspelling

13 years agodoc: fix misspelling
Lucas De Marchi [Tue, 1 Feb 2011 17:32:49 +0000 (15:32 -0200)]
doc: fix misspelling

13 years agoTODO: fix misspelling
Lucas De Marchi [Tue, 1 Feb 2011 17:32:48 +0000 (15:32 -0200)]
TODO: fix misspelling

13 years agostemodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:50 +0000 (15:12 -0200)]
stemodem: use ofono_call initializer

13 years agoisimodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:49 +0000 (15:12 -0200)]
isimodem: use ofono_call initializer

13 years agoifxmodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:48 +0000 (15:12 -0200)]
ifxmodem: use ofono_call initializer

13 years agohfpmodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:46 +0000 (15:12 -0200)]
hfpmodem: use ofono_call initializer