platform/upstream/ofono.git
13 years agovoicecall: fix waiting calls for HFP emulator
Frédéric Danis [Fri, 22 Apr 2011 15:44:02 +0000 (17:44 +0200)]
voicecall: fix waiting calls for HFP emulator

Fix precedence between waiting and dialing so HFP emulator is notified
of dialing/alerting even in case of a waiting call pending.

13 years agovoicecall: Update CLCC buffer size and comment
Denis Kenzior [Tue, 26 Apr 2011 19:41:52 +0000 (14:41 -0500)]
voicecall: Update CLCC buffer size and comment

13 years agovoicecall: Refactor the previous commit slightly
Denis Kenzior [Tue, 26 Apr 2011 19:40:35 +0000 (14:40 -0500)]
voicecall: Refactor the previous commit slightly

13 years agovoicecall: add +CLCC support for HFP emulator
Frédéric Dalleau [Fri, 22 Apr 2011 13:00:10 +0000 (15:00 +0200)]
voicecall: add +CLCC support for HFP emulator

13 years agoemulator: fix +CLIP in case of withheld call
Frédéric Danis [Wed, 20 Apr 2011 20:24:41 +0000 (22:24 +0200)]
emulator: fix +CLIP in case of withheld call

13 years agoemulator: Create both emulator types in example
Denis Kenzior [Wed, 20 Apr 2011 01:20:04 +0000 (20:20 -0500)]
emulator: Create both emulator types in example

13 years agohfp_ag: Be extra pedantic on plugin cleanup
Denis Kenzior [Tue, 19 Apr 2011 21:49:33 +0000 (16:49 -0500)]
hfp_ag: Be extra pedantic on plugin cleanup

13 years agodun_gw: Be extra pedantic on plugin cleanup
Denis Kenzior [Tue, 19 Apr 2011 21:49:12 +0000 (16:49 -0500)]
dun_gw: Be extra pedantic on plugin cleanup

13 years agodun_gw: Minor style tweak
Denis Kenzior [Tue, 19 Apr 2011 21:46:54 +0000 (16:46 -0500)]
dun_gw: Minor style tweak

13 years agohfp_ag: Minor style tweak
Denis Kenzior [Tue, 19 Apr 2011 21:39:11 +0000 (16:39 -0500)]
hfp_ag: Minor style tweak

13 years agovoicecall: Tweak the behavior of previous commit
Denis Kenzior [Tue, 19 Apr 2011 21:32:08 +0000 (16:32 -0500)]
voicecall: Tweak the behavior of previous commit

Use a generic void pointer to remove the need for emulator_release_done
function.

Use naming a bit more consistent with the rest of the codebase

13 years agovoicecall: add +CHUP support for HFP emulator
Frédéric Danis [Thu, 14 Apr 2011 12:27:04 +0000 (14:27 +0200)]
voicecall: add +CHUP support for HFP emulator

Update multirelease_callback to be used from DBus calls or HFP Emulator.
"release done" is configurable by multirelease caller.

13 years agovoicecall: Don't go over 80 characters per line
Denis Kenzior [Tue, 19 Apr 2011 21:24:23 +0000 (16:24 -0500)]
voicecall: Don't go over 80 characters per line

13 years agovoicecall: add ATA support for HFP emulator
Frédéric Danis [Wed, 13 Apr 2011 16:05:33 +0000 (18:05 +0200)]
voicecall: add ATA support for HFP emulator

13 years agoemulator: Use a switch/case instead of if
Denis Kenzior [Tue, 19 Apr 2011 18:31:37 +0000 (13:31 -0500)]
emulator: Use a switch/case instead of if

Seems a bit cleaner

13 years agoemulator: Reflow comments
Denis Kenzior [Tue, 19 Apr 2011 18:31:08 +0000 (13:31 -0500)]
emulator: Reflow comments

13 years agoemulator: add +CCWA support for HFP AG
Frédéric Danis [Wed, 13 Apr 2011 16:05:32 +0000 (18:05 +0200)]
emulator: add +CCWA support for HFP AG

13 years agoemulator: add +CLIP support for HFP AG
Frédéric Danis [Wed, 13 Apr 2011 16:05:31 +0000 (18:05 +0200)]
emulator: add +CLIP support for HFP AG

13 years agovoicecall: add API to find call by status
Frédéric Danis [Wed, 13 Apr 2011 16:05:30 +0000 (18:05 +0200)]
voicecall: add API to find call by status

13 years agoemulator: add RING for HFP AG
Frédéric Danis [Wed, 13 Apr 2011 16:05:29 +0000 (18:05 +0200)]
emulator: add RING for HFP AG

13 years agoisiusb: wait for MTC transitions, too
Pekka Pessi [Mon, 18 Apr 2011 13:24:52 +0000 (16:24 +0300)]
isiusb: wait for MTC transitions, too

13 years agoussd: Fix use of non-cloned gatchat object
Denis Kenzior [Mon, 18 Apr 2011 14:46:20 +0000 (09:46 -0500)]
ussd: Fix use of non-cloned gatchat object

13 years agoRelease 0.47 0.47
Marcel Holtmann [Thu, 14 Apr 2011 23:08:03 +0000 (16:08 -0700)]
Release 0.47

13 years agoTODO: Remove main.conf task
Denis Kenzior [Thu, 14 Apr 2011 22:53:19 +0000 (17:53 -0500)]
TODO: Remove main.conf task

No longer seems like a good idea

13 years agoTODO: set owner on DUN profile and DUN usb
Guillaume Zajac [Tue, 12 Apr 2011 15:42:43 +0000 (17:42 +0200)]
TODO: set owner on DUN profile and DUN usb

13 years agoTODO: Mark EFcsp task as done
Denis Kenzior [Thu, 14 Apr 2011 22:41:57 +0000 (17:41 -0500)]
TODO: Mark EFcsp task as done

13 years agosimutil: Add support of CPHS EFcsp to our EF db
Denis Kenzior [Thu, 14 Apr 2011 22:34:16 +0000 (17:34 -0500)]
simutil: Add support of CPHS EFcsp to our EF db

13 years agonetwork: One more trivial fix
Denis Kenzior [Thu, 14 Apr 2011 22:33:40 +0000 (17:33 -0500)]
network: One more trivial fix

total_length and record_length are the same in this context, but using
total_length makes the code more readable

13 years agodoc: Update possible errors for netreg-api
Denis Kenzior [Thu, 14 Apr 2011 22:01:38 +0000 (17:01 -0500)]
doc: Update possible errors for netreg-api

This is due to EFcsp PLMN mode changes

13 years agonetwork: Refactor EFcsp to support STK Refresh
Denis Kenzior [Thu, 14 Apr 2011 21:18:49 +0000 (16:18 -0500)]
network: Refactor EFcsp to support STK Refresh

13 years agonetwork: Use strings instead of ints in settings
Denis Kenzior [Thu, 14 Apr 2011 21:12:02 +0000 (16:12 -0500)]
network: Use strings instead of ints in settings

13 years agomodem: Fix entering offline mode prematurely
Denis Kenzior [Thu, 14 Apr 2011 19:39:55 +0000 (14:39 -0500)]
modem: Fix entering offline mode prematurely

A contextual change to __ofono_modem_find_atom has caused us to enter
into offline mode prematurely.  find_atom was changed to return only the
atoms that were registered, however the modem really has to know whether
the sim atom is created (not registered) in order to know whether to
wait for the SIM to be initialized or not.

13 years agosms: Fix typo
Denis Kenzior [Thu, 14 Apr 2011 18:29:17 +0000 (13:29 -0500)]
sms: Fix typo

13 years agonetwork: Read EFcsp after initializing reg state
Denis Kenzior [Thu, 14 Apr 2011 18:20:07 +0000 (13:20 -0500)]
network: Read EFcsp after initializing reg state

This is to avoid some benign race conditions when EFcsp might be read
before the registration state has been established.

13 years agonetwork: Try not to clash with 27.007-defined modes
Denis Kenzior [Thu, 14 Apr 2011 18:19:49 +0000 (13:19 -0500)]
network: Try not to clash with 27.007-defined modes

13 years agonetreg: Refactor register_callback
Denis Kenzior [Thu, 14 Apr 2011 17:31:45 +0000 (12:31 -0500)]
netreg: Refactor register_callback

13 years agonetreg: Add CPHS CSP implementation
Aki Niemi [Fri, 4 Feb 2011 13:44:47 +0000 (15:44 +0200)]
netreg: Add CPHS CSP implementation

13 years agoisimodem: Add SCA support to wgmodem2.5 driver
Aki Niemi [Thu, 14 Apr 2011 12:24:19 +0000 (15:24 +0300)]
isimodem: Add SCA support to wgmodem2.5 driver

13 years agoisimodem: Refactor sms driver
Aki Niemi [Thu, 14 Apr 2011 11:45:54 +0000 (14:45 +0300)]
isimodem: Refactor sms driver

13 years agoisimodem: Use constants where possible
Aki Niemi [Thu, 14 Apr 2011 11:45:09 +0000 (14:45 +0300)]
isimodem: Use constants where possible

13 years agoisimodem: Fix message sending in SMS driver
Aki Niemi [Thu, 14 Apr 2011 11:44:45 +0000 (14:44 +0300)]
isimodem: Fix message sending in SMS driver

The same enum name SMS_ROUTE_DEFAULT has different constants in
different modem API versions. This was causing "invalid parameter"
errors with some modems.

13 years agoisimodem: Fix macro to be safer to use
Aki Niemi [Thu, 14 Apr 2011 11:33:52 +0000 (14:33 +0300)]
isimodem: Fix macro to be safer to use

13 years agoisimodem: Add reahcbility check for CBS driver
Aki Niemi [Thu, 7 Apr 2011 09:19:42 +0000 (12:19 +0300)]
isimodem: Add reahcbility check for CBS driver

13 years agodoc: add emergency-call-handling.txt
Jeevaka Badrappan [Wed, 13 Apr 2011 17:05:16 +0000 (10:05 -0700)]
doc: add emergency-call-handling.txt

13 years agoRelease 0.46 0.46
Marcel Holtmann [Wed, 13 Apr 2011 17:02:23 +0000 (10:02 -0700)]
Release 0.46

13 years agoisimodem: fix call_create_resp handling
Pekka Pessi [Tue, 12 Apr 2011 14:33:29 +0000 (17:33 +0300)]
isimodem: fix call_create_resp handling

In case of call creation failure modem may return a valid call id in
order to send CALL_SERVICE_DENIED_IND which we do not handle.

Fixes MeeGo bug#15855.

13 years agoisimodem: Update SMS driver for wgmodem2.5
Aki Niemi [Tue, 12 Apr 2011 16:48:56 +0000 (19:48 +0300)]
isimodem: Update SMS driver for wgmodem2.5

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

13 years agoplugins: Remove wgmodem2.5 driver for netreg
Aki Niemi [Tue, 12 Apr 2011 16:45:34 +0000 (19:45 +0300)]
plugins: Remove wgmodem2.5 driver for netreg

13 years agoisimodem: Remove split voicecall driver
Aki Niemi [Tue, 12 Apr 2011 16:47:27 +0000 (19:47 +0300)]
isimodem: Remove split voicecall driver

Only a single driver created, with two clients checked for
reachability in parallel.

13 years agoisimodem: Add helper macros for 16/32bit values
Aki Niemi [Tue, 12 Apr 2011 10:38:36 +0000 (13:38 +0300)]
isimodem: Add helper macros for 16/32bit values

13 years agoisimodem: Rename resource debug macro
Aki Niemi [Mon, 11 Apr 2011 15:02:35 +0000 (18:02 +0300)]
isimodem: Rename resource debug macro

13 years agoisimodem: Add helper macro for version checking
Aki Niemi [Mon, 11 Apr 2011 15:01:28 +0000 (18:01 +0300)]
isimodem: Add helper macro for version checking

13 years agoisimodem: Indent and add missing codepoints
Aki Niemi [Mon, 11 Apr 2011 14:32:16 +0000 (17:32 +0300)]
isimodem: Indent and add missing codepoints

In addition, renaming some wgmodem2.5-specific subblocks so that they
use the same names as most recent on-line documentation.

13 years agodoc: Mark ConfirmOpenChannel as experimental
Denis Kenzior [Tue, 12 Apr 2011 04:38:33 +0000 (23:38 -0500)]
doc: Mark ConfirmOpenChannel as experimental

13 years agodoc: Unmark stk-api as experimental
Denis Kenzior [Tue, 12 Apr 2011 04:37:02 +0000 (23:37 -0500)]
doc: Unmark stk-api as experimental

13 years agotest: Add ConfirmOpenChannel to test-stk-menu
Philippe Nunes [Fri, 8 Apr 2011 16:33:30 +0000 (18:33 +0200)]
test: Add ConfirmOpenChannel to test-stk-menu

13 years agostkutil: Add additional info enum for BIP
Philippe Nunes [Fri, 8 Apr 2011 16:33:28 +0000 (18:33 +0200)]
stkutil: Add additional info enum for BIP

13 years agostk-api.txt. Introduce the new API ConfirmOpenChannel
Philippe Nunes [Fri, 8 Apr 2011 16:33:27 +0000 (18:33 +0200)]
stk-api.txt. Introduce the new API ConfirmOpenChannel

13 years agostkagent: Add ConfirmOpenChannel method
Philippe Nunes [Fri, 8 Apr 2011 16:33:26 +0000 (18:33 +0200)]
stkagent: Add ConfirmOpenChannel method

13 years agovoicecall: fix to sim ecc free logic
Denis Kenzior [Mon, 11 Apr 2011 22:48:11 +0000 (17:48 -0500)]
voicecall: fix to sim ecc free logic

Correct copy paste mistakes and a slight logic oversight

13 years agovoicecall: Fix ECC list generation for empty EFecc
Denis Kenzior [Mon, 11 Apr 2011 20:24:09 +0000 (15:24 -0500)]
voicecall: Fix ECC list generation for empty EFecc

13 years agovoicecall: add call, callsetup and callheld indicators
Frédéric Danis [Thu, 7 Apr 2011 16:33:54 +0000 (18:33 +0200)]
voicecall: add call, callsetup and callheld indicators

13 years agoemulator: add call, callsetup and callheld cinds
Frédéric Danis [Thu, 7 Apr 2011 16:33:54 +0000 (18:33 +0200)]
emulator: add call, callsetup and callheld cinds

13 years agoinclude: Add callsetup, call and callheld
Frédéric Danis [Thu, 7 Apr 2011 16:33:53 +0000 (18:33 +0200)]
include: Add callsetup, call and callheld

as indicators for HFP emulator

13 years agoAUTHORS: Mention Nicolas' contributions
Denis Kenzior [Fri, 8 Apr 2011 03:27:59 +0000 (22:27 -0500)]
AUTHORS: Mention Nicolas' contributions

13 years agostkagent: Avoid error when URL is null
Nicolas Bertrand [Tue, 5 Apr 2011 12:07:05 +0000 (14:07 +0200)]
stkagent: Avoid error when URL is null

...with STK command "LAUNCH BROWSER" and default URL

13 years agoTODO: Mark Network/Modem EN update task as done
Jeevaka Badrappan [Wed, 6 Apr 2011 14:26:43 +0000 (07:26 -0700)]
TODO: Mark Network/Modem EN update task as done

13 years agovoicecall: Handle concurrent Refresh & NW ECC update
Denis Kenzior [Fri, 8 Apr 2011 03:13:17 +0000 (22:13 -0500)]
voicecall: Handle concurrent Refresh & NW ECC update

There is a potential case where the EFecc is being refreshed due to a
SIM refresh and a Network ECC list is updated.  In this case we might
report a set of numbers that is not yet complete.  Take care of this
case.

13 years agovoicecall: Don't reverse sim_en_list
Denis Kenzior [Thu, 7 Apr 2011 22:57:09 +0000 (17:57 -0500)]
voicecall: Don't reverse sim_en_list

The order of the ECCs is not important as they're all unique.

13 years agovoicecall: Fix ECC list generation
Denis Kenzior [Thu, 7 Apr 2011 22:50:59 +0000 (17:50 -0500)]
voicecall: Fix ECC list generation

If the network list of ECC numbers is updated when we have no SIM, or
when the SIM numbers have not yet been read, or there is an error during
EFecc read, then the default_no_sim numbers are never added to the ECC
list.

13 years agovoicecall: Localize variable initialization
Denis Kenzior [Thu, 7 Apr 2011 22:46:39 +0000 (17:46 -0500)]
voicecall: Localize variable initialization

13 years agovoicecall: network emergency number list support
Jeevaka Badrappan [Wed, 6 Apr 2011 14:26:42 +0000 (07:26 -0700)]
voicecall: network emergency number list support

13 years agovoicecall: Refactor emergency number list handling
Jeevaka Badrappan [Wed, 6 Apr 2011 14:26:41 +0000 (07:26 -0700)]
voicecall: Refactor emergency number list handling

13 years agovoicecall: Remove sim_state_watch on atom unregister
Jeevaka Badrappan [Wed, 6 Apr 2011 14:26:41 +0000 (07:26 -0700)]
voicecall: Remove sim_state_watch on atom unregister

13 years agoinclude: Add ofono_voicecall_en_list_notify api
Jeevaka Badrappan [Wed, 6 Apr 2011 14:26:40 +0000 (07:26 -0700)]
include: Add ofono_voicecall_en_list_notify api

13 years agoisimodem: Fix hangup for hold initiated calls
Arun Ravindran [Tue, 5 Apr 2011 12:02:59 +0000 (15:02 +0300)]
isimodem: Fix hangup for hold initiated calls

13 years agoisimodem: Fix false reporting of active call state
Arun Ravindran [Tue, 5 Apr 2011 09:32:53 +0000 (12:32 +0300)]
isimodem: Fix false reporting of active call state

13 years agoisimodem: Add missing PN_MODEM_* debugs
Aki Niemi [Thu, 7 Apr 2011 07:45:55 +0000 (10:45 +0300)]
isimodem: Add missing PN_MODEM_* debugs

13 years agoisimodem: Move common debugs to a single place
Aki Niemi [Thu, 7 Apr 2011 07:44:53 +0000 (10:44 +0300)]
isimodem: Move common debugs to a single place

13 years agoisimodem: Refactor netreg driver probing
Aki Niemi [Thu, 7 Apr 2011 06:32:41 +0000 (09:32 +0300)]
isimodem: Refactor netreg driver probing

Go back to using a single driver instance, with concurrent
reachability checks of both possible resources.

13 years agoisimodem: Add missing debugs to info resources
Aki Niemi [Thu, 7 Apr 2011 06:22:55 +0000 (09:22 +0300)]
isimodem: Add missing debugs to info resources

13 years agoTODO: Minor tweaks
Denis Kenzior [Tue, 5 Apr 2011 14:21:08 +0000 (09:21 -0500)]
TODO: Minor tweaks

13 years agoTODO: Remove Owners from orphaned tasks
Denis Kenzior [Tue, 5 Apr 2011 05:25:29 +0000 (00:25 -0500)]
TODO: Remove Owners from orphaned tasks

13 years agoTODO: Roll Modem & Network ECC tasks into one
Denis Kenzior [Tue, 5 Apr 2011 05:23:10 +0000 (00:23 -0500)]
TODO: Roll Modem & Network ECC tasks into one

13 years agoTODO: Mark SIM Refresh task as done
Andrzej Zaborowski [Thu, 31 Mar 2011 13:40:57 +0000 (15:40 +0200)]
TODO: Mark SIM Refresh task as done

13 years agostk: No more need to use get_registered
Denis Kenzior [Tue, 5 Apr 2011 05:18:34 +0000 (00:18 -0500)]
stk: No more need to use get_registered

__ofono_modem_find_atom returns only atoms that are registered now.

13 years agostk: Check for USSD atom before others
Denis Kenzior [Tue, 5 Apr 2011 05:16:23 +0000 (00:16 -0500)]
stk: Check for USSD atom before others

For efficiency (and consistency) we should check for the USSD atom
before checking CallForwarding, CallBarring, and CallSettings atoms.

13 years agostk: Check if terminal is busy before SIM Refresh
Andrzej Zaborowski [Thu, 31 Mar 2011 13:40:56 +0000 (15:40 +0200)]
stk: Check if terminal is busy before SIM Refresh

13 years agocall-forwarding: Move to avoid forward-decl
Denis Kenzior [Tue, 5 Apr 2011 05:07:43 +0000 (00:07 -0500)]
call-forwarding: Move to avoid forward-decl

13 years agocall-forwarding: Remove unneeded forward-decl
Denis Kenzior [Tue, 5 Apr 2011 05:06:29 +0000 (00:06 -0500)]
call-forwarding: Remove unneeded forward-decl

13 years agocall-forwarding: Fix typo
Denis Kenzior [Tue, 5 Apr 2011 05:04:19 +0000 (00:04 -0500)]
call-forwarding: Fix typo

13 years agocall-forwarding: Reregister on EF-CFIS refresh
Andrzej Zaborowski [Thu, 31 Mar 2011 13:01:23 +0000 (15:01 +0200)]
call-forwarding: Reregister on EF-CFIS refresh

13 years agoTODO: Mark emergency calls task as done
Denis Kenzior [Tue, 5 Apr 2011 04:54:16 +0000 (23:54 -0500)]
TODO: Mark emergency calls task as done

13 years agomodem: Tweak online logic if set_online is missing
Denis Kenzior [Tue, 5 Apr 2011 04:48:41 +0000 (23:48 -0500)]
modem: Tweak online logic if set_online is missing

In case set_online is missing, we should set online mode directly.  If
we're already online then set our state to Online, otherwise check if we
should get Online.

13 years agomodem: No need to set get_online on sim reset
Denis Kenzior [Tue, 5 Apr 2011 04:45:32 +0000 (23:45 -0500)]
modem: No need to set get_online on sim reset

When STK sends us a SIM Refresh resulting in a SIM reset, we should not
set the online state as the modem should still keep us online anyway.

13 years agomodem: Fix minor style violations
Denis Kenzior [Tue, 5 Apr 2011 04:34:49 +0000 (23:34 -0500)]
modem: Fix minor style violations

13 years agomodem: modem state decoupled from rf state
Jeevaka Badrappan [Thu, 31 Mar 2011 16:18:29 +0000 (09:18 -0700)]
modem: modem state decoupled from rf state

13 years agovoicecall: Detect emergency calls initiated by STK
Denis Kenzior [Mon, 4 Apr 2011 21:34:56 +0000 (16:34 -0500)]
voicecall: Detect emergency calls initiated by STK

13 years agovoicecall: add emergency mode handling
Jeevaka Badrappan [Thu, 31 Mar 2011 16:18:32 +0000 (09:18 -0700)]
voicecall: add emergency mode handling

13 years agovoicecall: generalize emergency call check
Jeevaka Badrappan [Thu, 31 Mar 2011 16:18:31 +0000 (09:18 -0700)]
voicecall: generalize emergency call check