platform/upstream/ofono.git
13 years agoRelease 0.43 0.43
Marcel Holtmann [Thu, 17 Feb 2011 19:55:30 +0000 (11:55 -0800)]
Release 0.43

13 years agotest-server: Fix crash when remote disconnects
Guillaume Zajac [Thu, 17 Feb 2011 17:27:13 +0000 (18:27 +0100)]
test-server: Fix crash when remote disconnects

If the remote side kills the connection when PPP is established, we
should not try to resume the AT server.

13 years agoemulator: always create emulators in offline state
Frédéric Danis [Thu, 17 Feb 2011 17:23:29 +0000 (18:23 +0100)]
emulator: always create emulators in offline state

this allows to fix problem when atom created in online state
are destroyed when modem goes to offline state

13 years agobluetooth: remove unneeded g_io_channel_shutdown
Frédéric Danis [Thu, 17 Feb 2011 16:52:57 +0000 (17:52 +0100)]
bluetooth: remove unneeded g_io_channel_shutdown

13 years agohfp_ag: Minor style fix
Denis Kenzior [Thu, 17 Feb 2011 16:07:31 +0000 (10:07 -0600)]
hfp_ag: Minor style fix

13 years agohfp_ag: Do not close client fd on unref
Frédéric Dalleau [Thu, 17 Feb 2011 15:55:26 +0000 (16:55 +0100)]
hfp_ag: Do not close client fd on unref

13 years agoemulator: unref GIOChannel after creation
Frédéric Dalleau [Thu, 17 Feb 2011 15:55:25 +0000 (16:55 +0100)]
emulator: unref GIOChannel after creation

13 years agoudev: set Huawei EM770W modem device to 00
Martin Xu [Sat, 12 Feb 2011 09:41:15 +0000 (17:41 +0800)]
udev: set Huawei EM770W modem device to 00

Device 00 is ppp port. Setting it as 01, my Huawei EM770W modem PPP
connection can't work

13 years agogsmdial: Fix minor style quirk
Denis Kenzior [Wed, 16 Feb 2011 21:45:39 +0000 (15:45 -0600)]
gsmdial: Fix minor style quirk

13 years agogsmdial: add option for Bluetooth DUN dialing
Gustavo F. Padovan [Wed, 16 Feb 2011 21:41:07 +0000 (18:41 -0300)]
gsmdial: add option for Bluetooth DUN dialing

13 years agoPPP: Use default ACCM (0xffffffff) to trasmit
Martin Xu [Tue, 15 Feb 2011 06:53:16 +0000 (14:53 +0800)]
PPP: Use default ACCM (0xffffffff) to trasmit

Using my Huawei EM770W modem, if set ACCM as 0x00000000, RXJ-
event breaks PPP link, after IP package transmit for a while.
Using default ACCM, the issue can be fixed.
I tested it at China Unicom networks.

13 years agoTODO: Add STK class 'e' tasks
Philippe Nunes [Wed, 16 Feb 2011 17:24:29 +0000 (18:24 +0100)]
TODO: Add STK class 'e' tasks

13 years agolinktop: power up the modem in 'offline' state
Amit Mendapara [Tue, 15 Feb 2011 21:04:32 +0000 (02:34 +0530)]
linktop: power up the modem in 'offline' state

13 years agobluetooth: rename hfp.c in hpf_hf.c
Frédéric Danis [Wed, 16 Feb 2011 16:25:51 +0000 (17:25 +0100)]
bluetooth: rename hfp.c in hpf_hf.c

13 years agoAUTHORS: Mention Jan's contributions
Denis Kenzior [Wed, 16 Feb 2011 15:47:33 +0000 (09:47 -0600)]
AUTHORS: Mention Jan's contributions

13 years agoofono.rules: add ID for Sierra Wireless MC8790
Jan Luebbe [Wed, 16 Feb 2011 15:34:49 +0000 (16:34 +0100)]
ofono.rules: add ID for Sierra Wireless MC8790

13 years agoAUTHORS: Mention Paavo's contributions
Denis Kenzior [Wed, 16 Feb 2011 15:10:12 +0000 (09:10 -0600)]
AUTHORS: Mention Paavo's contributions

13 years agotest: fix parameter type error
Paavo Leinonen [Wed, 16 Feb 2011 08:58:53 +0000 (10:58 +0200)]
test: fix parameter type error

in 'test-advice-of-charge'-script

13 years agoisimodem: Add MCE code points
Jessica Nilsson [Tue, 15 Feb 2011 12:30:57 +0000 (13:30 +0100)]
isimodem: Add MCE code points

Updates required for wgmodem2.5.

13 years agodevinfo: Handle BT DUN +GMI/+GMM/+GMR commands
Denis Kenzior [Wed, 16 Feb 2011 06:22:58 +0000 (00:22 -0600)]
devinfo: Handle BT DUN +GMI/+GMM/+GMR commands

13 years agohfp_ag: Create emulator with type HFP_AG
Frédéric Danis [Tue, 15 Feb 2011 15:06:32 +0000 (16:06 +0100)]
hfp_ag: Create emulator with type HFP_AG

13 years agoemulator: Handle multiple emulator types
Frédéric Danis [Tue, 15 Feb 2011 15:06:32 +0000 (16:06 +0100)]
emulator: Handle multiple emulator types

13 years agoemulator: add HFP emulator type
Frédéric Danis [Tue, 15 Feb 2011 15:06:32 +0000 (16:06 +0100)]
emulator: add HFP emulator type

13 years agodun_gw: Reformat SDP record
Denis Kenzior [Wed, 16 Feb 2011 05:37:41 +0000 (23:37 -0600)]
dun_gw: Reformat SDP record

13 years agodun_gw: Add DUN server plugin for oFono
Gustavo F. Padovan [Tue, 15 Feb 2011 19:21:03 +0000 (16:21 -0300)]
dun_gw: Add DUN server plugin for oFono

DUN server is probed when modem state changes to online. It registers
DUN record to Bluetooth adapter and wait for incoming DUN connection.

Based on a patch from Zhenhua Zhang <zhenhua.zhang@intel.com>

13 years agohfp_ag: Reformat SDP record
Denis Kenzior [Wed, 16 Feb 2011 05:36:15 +0000 (23:36 -0600)]
hfp_ag: Reformat SDP record

13 years agobluetooth: add HFP AG plugin
Frédéric Danis [Tue, 15 Feb 2011 15:06:31 +0000 (16:06 +0100)]
bluetooth: add HFP AG plugin

13 years agoemulator: Initial public API implementation
Denis Kenzior [Wed, 16 Feb 2011 04:23:22 +0000 (22:23 -0600)]
emulator: Initial public API implementation

13 years agoemulator: Add additional APIs
Denis Kenzior [Wed, 16 Feb 2011 04:23:08 +0000 (22:23 -0600)]
emulator: Add additional APIs

13 years agogatserver: Be more const correct
Denis Kenzior [Wed, 16 Feb 2011 04:19:46 +0000 (22:19 -0600)]
gatserver: Be more const correct

13 years agoMakefile: rerun genbuiltin on reconfigure.
Andrzej Zaborowski [Tue, 15 Feb 2011 08:55:52 +0000 (09:55 +0100)]
Makefile: rerun genbuiltin on reconfigure.

Make builtin.h depend on config.status to force regeneration when
plugins may have been enabled or disabled.  There may be a better
way to do that.  The dependency on builtin_sources is not needed.

13 years agotest-server: Fix a few more occurrences
Denis Kenzior [Tue, 15 Feb 2011 22:05:02 +0000 (16:05 -0600)]
test-server: Fix a few more occurrences

13 years agoemulator: Add basic API for emulator
Denis Kenzior [Tue, 15 Feb 2011 21:46:51 +0000 (15:46 -0600)]
emulator: Add basic API for emulator

13 years agogatserver: Change callback signature
Denis Kenzior [Tue, 15 Feb 2011 21:46:24 +0000 (15:46 -0600)]
gatserver: Change callback signature

Provide the originating GAtServer to the callback

13 years agogatserver: extend D with GSM/UMTS specifics
Denis Kenzior [Tue, 15 Feb 2011 20:34:26 +0000 (14:34 -0600)]
gatserver: extend D with GSM/UMTS specifics

13 years agotest-server: Behavior to match previous commit
Denis Kenzior [Tue, 15 Feb 2011 20:28:01 +0000 (14:28 -0600)]
test-server: Behavior to match previous commit

13 years agogatserver: Don't bother reporting command prefixes
Denis Kenzior [Tue, 15 Feb 2011 20:26:58 +0000 (14:26 -0600)]
gatserver: Don't bother reporting command prefixes

The command line parser knows where the actual command line parameters
begin, so there's no need to make the callback skip the prefix and the
additional separator characters.

13 years agoconfigure: Check for bluez >= 4.30.
Andrzej Zaborowski [Tue, 15 Feb 2011 08:55:51 +0000 (09:55 +0100)]
configure: Check for bluez >= 4.30.

Earlier versions lack struct sockaddr_l2::l2_cid and/or
struct bt_security.

13 years agoAUTHORS: Mention Frédéric's contributions
Denis Kenzior [Tue, 15 Feb 2011 19:22:35 +0000 (13:22 -0600)]
AUTHORS: Mention Frédéric's contributions

13 years agoAUTHORS: Mention Frédéric's contributions
Denis Kenzior [Tue, 15 Feb 2011 19:21:15 +0000 (13:21 -0600)]
AUTHORS: Mention Frédéric's contributions

13 years agobluetooth: Reset adapter_any_path to NULL in unref
Denis Kenzior [Tue, 15 Feb 2011 19:19:07 +0000 (13:19 -0600)]
bluetooth: Reset adapter_any_path to NULL in unref

13 years agobluetooth: style issues
Denis Kenzior [Tue, 15 Feb 2011 19:18:47 +0000 (13:18 -0600)]
bluetooth: style issues

13 years agobluetooth: single SDP record for all adapters
Frédéric Dalleau [Fri, 11 Feb 2011 09:31:05 +0000 (10:31 +0100)]
bluetooth: single SDP record for all adapters

13 years agoatmodem: close the list in clvl_range_query
Jeevaka Badrappan [Tue, 8 Feb 2011 10:14:19 +0000 (12:14 +0200)]
atmodem: close the list in clvl_range_query

13 years agoPPP: Fix transmit ACCM and receive ACCM mixup
Martin Xu [Sat, 12 Feb 2011 09:41:13 +0000 (17:41 +0800)]
PPP: Fix transmit ACCM and receive ACCM mixup

According to RFC1662 Section 7.1, ACCM Configuration Option is
used to inform the peer which control characters MUST remain
mapped when the peer sends them.

13 years agoAUTHORS: Mention Amit's contributions
Denis Kenzior [Mon, 14 Feb 2011 19:51:57 +0000 (13:51 -0600)]
AUTHORS: Mention Amit's contributions

13 years agoudev: Add Teracom (Linktop/LW27x) device detection
Amit Mendapara [Thu, 10 Feb 2011 05:15:40 +0000 (10:45 +0530)]
udev: Add Teracom (Linktop/LW27x) device detection

13 years agoudev: Handle Linktop data card
Amit Mendapara [Thu, 10 Feb 2011 05:15:39 +0000 (10:45 +0530)]
udev: Handle Linktop data card

13 years agolinktop: Minor style issues
Denis Kenzior [Mon, 14 Feb 2011 19:47:20 +0000 (13:47 -0600)]
linktop: Minor style issues

13 years agoplugin: Add plugin for Linktop LW27x data cards
Amit Mendapara [Thu, 10 Feb 2011 05:15:38 +0000 (10:45 +0530)]
plugin: Add plugin for Linktop LW27x data cards

13 years agoAUTHORS: Mention Olivier's contributions
Denis Kenzior [Mon, 14 Feb 2011 15:51:01 +0000 (09:51 -0600)]
AUTHORS: Mention Olivier's contributions

13 years agogatserver: Add ATS5 command feature
Olivier Guiter [Thu, 10 Feb 2011 13:59:42 +0000 (14:59 +0100)]
gatserver: Add ATS5 command feature

13 years agoRelease 0.42 0.42
Marcel Holtmann [Fri, 11 Feb 2011 19:45:57 +0000 (11:45 -0800)]
Release 0.42

13 years agoifxmodem: fix issue in set rat mode
Jeevaka Badrappan [Fri, 11 Feb 2011 19:20:29 +0000 (11:20 -0800)]
ifxmodem: fix issue in set rat mode

13 years agoifxmodem: add CNAP support
Jeevaka Badrappan [Thu, 10 Feb 2011 16:16:16 +0000 (18:16 +0200)]
ifxmodem: add CNAP support

13 years agodoc: remove unused GetIcon from SimToolKit
Jeevaka Badrappan [Fri, 11 Feb 2011 17:13:59 +0000 (09:13 -0800)]
doc: remove unused GetIcon from SimToolKit

13 years agodoc: Update possible errors
Jeevaka Badrappan [Fri, 11 Feb 2011 11:34:31 +0000 (03:34 -0800)]
doc: Update possible errors

13 years agodoc: Remove unused SetProperty in NetworkRegistration
Jeevaka Badrappan [Fri, 11 Feb 2011 07:25:18 +0000 (23:25 -0800)]
doc: Remove unused SetProperty in NetworkRegistration

13 years agosms: return immediately if cached flag is set
Denis Kenzior [Thu, 10 Feb 2011 17:08:01 +0000 (11:08 -0600)]
sms: return immediately if cached flag is set

13 years agoifx: Remove modem selftest support
Jeevaka Badrappan [Thu, 10 Feb 2011 15:59:30 +0000 (17:59 +0200)]
ifx: Remove modem selftest support

Commands used for self tests are not working for all
versions of the modem firmware.

13 years agoemulator: Add example TCP based emulator
Denis Kenzior [Thu, 10 Feb 2011 06:16:24 +0000 (00:16 -0600)]
emulator: Add example TCP based emulator

13 years agomodem: Tweak online & powered watch APIs
Denis Kenzior [Thu, 10 Feb 2011 05:50:10 +0000 (23:50 -0600)]
modem: Tweak online & powered watch APIs

13 years agoemulator: Add basic emulator skeleton
Denis Kenzior [Thu, 10 Feb 2011 05:22:43 +0000 (23:22 -0600)]
emulator: Add basic emulator skeleton

13 years agoemulator: Add basic emulator API
Denis Kenzior [Thu, 10 Feb 2011 04:06:16 +0000 (22:06 -0600)]
emulator: Add basic emulator API

13 years agoAUTHORS: Mention Guillaume's contributions
Denis Kenzior [Thu, 10 Feb 2011 06:34:21 +0000 (00:34 -0600)]
AUTHORS: Mention Guillaume's contributions

13 years agomodem: Fix up previous commit
Denis Kenzior [Thu, 10 Feb 2011 05:15:52 +0000 (23:15 -0600)]
modem: Fix up previous commit

13 years agomodem Add powered watch API
Guillaume Zajac [Mon, 31 Jan 2011 10:01:48 +0000 (11:01 +0100)]
modem Add powered watch API

13 years agosimfs: Fix leaking of the voicecall context
Denis Kenzior [Thu, 10 Feb 2011 06:26:15 +0000 (00:26 -0600)]
simfs: Fix leaking of the voicecall context

When we're shutting down all atoms are removed and the voicecall context
does not have a chance to be freed.  Make sure simfs frees it.

13 years agocall-barring: Remove unneeded variable
Denis Kenzior [Thu, 10 Feb 2011 03:03:01 +0000 (21:03 -0600)]
call-barring: Remove unneeded variable

This was forgotten by the previous patch

13 years agocall-barring: removed +CSSI type SS notifications
Andras Domokos [Wed, 9 Feb 2011 10:33:58 +0000 (12:33 +0200)]
call-barring: removed +CSSI type SS notifications

13 years agosierra: Fix small coding style issue
Marcel Holtmann [Thu, 10 Feb 2011 02:28:16 +0000 (18:28 -0800)]
sierra: Fix small coding style issue

13 years agogobi: Fix small coding style issue
Marcel Holtmann [Thu, 10 Feb 2011 02:27:40 +0000 (18:27 -0800)]
gobi: Fix small coding style issue

13 years agogprs-provision: update example with SPN
Jukka Saunamaki [Tue, 8 Feb 2011 10:03:48 +0000 (12:03 +0200)]
gprs-provision: update example with SPN

13 years agogprs: Fixup error path
Denis Kenzior [Wed, 9 Feb 2011 03:55:42 +0000 (21:55 -0600)]
gprs: Fixup error path

When we try to register the GPRS D-Bus interface and fail for some
reason, calling gprs_unregister is not really kosher since much of the
initialization has not yet been done.  Call an intermediate function
instead.

13 years agogprs,gprs-provision: add SPN to provisioning API
Jukka Saunamaki [Tue, 8 Feb 2011 10:03:47 +0000 (12:03 +0200)]
gprs,gprs-provision: add SPN to provisioning API

13 years agogprs-provision: add SPN to provisioning API header
Jukka Saunamaki [Tue, 8 Feb 2011 10:03:46 +0000 (12:03 +0200)]
gprs-provision: add SPN to provisioning API header

13 years agoTODO: minor style fix
Dara Spieker-Doyle [Tue, 8 Feb 2011 22:10:37 +0000 (14:10 -0800)]
TODO: minor style fix

Bad caps

13 years agobluetooth: Minor style fixes
Denis Kenzior [Tue, 8 Feb 2011 22:28:58 +0000 (16:28 -0600)]
bluetooth: Minor style fixes

13 years agobluetooth: Get rid of memory leaks on error
Denis Kenzior [Wed, 9 Feb 2011 03:10:27 +0000 (21:10 -0600)]
bluetooth: Get rid of memory leaks on error

13 years agobluetooth: Refactor the authorization process
Denis Kenzior [Wed, 9 Feb 2011 02:52:41 +0000 (20:52 -0600)]
bluetooth: Refactor the authorization process

It is unnecessary to keep the IO watch around after the authorization
process has finished.  This also means client_list variable is not
really needed.

Since we destroy the watch once the auth_cb is called, we can also
remove the auth_pending variable.

Finally, the null check of path is not necessary

13 years agobluetooth: Add Bluetooth service authorization support
Frédéric Danis [Tue, 8 Feb 2011 22:00:59 +0000 (20:00 -0200)]
bluetooth: Add Bluetooth service authorization support

13 years agobluetooth: Add bluetooth server support
Frédéric Danis [Tue, 8 Feb 2011 22:00:58 +0000 (20:00 -0200)]
bluetooth: Add bluetooth server support

13 years agocore: free GError objects returned by glib
Denis Kenzior [Tue, 8 Feb 2011 22:26:20 +0000 (16:26 -0600)]
core: free GError objects returned by glib

13 years agogatmux: Remove unused error variable
Denis Kenzior [Tue, 8 Feb 2011 22:25:14 +0000 (16:25 -0600)]
gatmux: Remove unused error variable

13 years agoifx: Fix for changed selftest AT command syntax
Anand Ramakrishna [Tue, 8 Feb 2011 22:34:22 +0000 (14:34 -0800)]
ifx: Fix for changed selftest AT command syntax

It is a fix to support the selftest AT command syntax changed in latest
IFX fw version.

13 years agobluetooth: Optimize D-Bus call flow
Frédéric Danis [Fri, 4 Feb 2011 21:46:17 +0000 (19:46 -0200)]
bluetooth: Optimize D-Bus call flow

We can call manager GetProperties once inside bluetooth_ref and avoid
calling it every time bluetooth_register_uuid is called.

13 years agoifxmodem: move call creation to xcallstat_notify
Jeevaka Badrappan [Tue, 8 Feb 2011 17:04:14 +0000 (09:04 -0800)]
ifxmodem: move call creation to xcallstat_notify

13 years agosim: Fixup compiler complaints
Denis Kenzior [Tue, 8 Feb 2011 16:19:08 +0000 (10:19 -0600)]
sim: Fixup compiler complaints

src/sim.c:2396: error: comparison between signed and unsigned integer
expressions
src/sim.c:2396: error: comparison between signed and unsigned integer
expressions

13 years agoAUTHORS: Mention Jussi's contributions
Denis Kenzior [Tue, 8 Feb 2011 16:17:26 +0000 (10:17 -0600)]
AUTHORS: Mention Jussi's contributions

13 years agosim: Allow usage of SIM codes longer than 8 digits
Jussi Kangas [Tue, 8 Feb 2011 12:48:18 +0000 (14:48 +0200)]
sim: Allow usage of SIM codes longer than 8 digits

Some PIN codes (e.g. subsidy locks, etc) can have PIN codes much longer
than the default 8 digits.

13 years agoisimodem: Avoid unnecessary debugs
Aki Niemi [Tue, 8 Feb 2011 15:12:12 +0000 (17:12 +0200)]
isimodem: Avoid unnecessary debugs

13 years agoisimodem: Use convenience func for strerror
Aki Niemi [Tue, 8 Feb 2011 15:11:38 +0000 (17:11 +0200)]
isimodem: Use convenience func for strerror

13 years agoisimodem: Refactor netreg for wgmodem support
Aki Niemi [Tue, 8 Feb 2011 15:11:07 +0000 (17:11 +0200)]
isimodem: Refactor netreg for wgmodem support

This patch adds support for runtime selection between PN_MODEM_NETWORK
and PN_NETWORK resources, enabling a single isimodem driver to work
with different generations of modem firmware.

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

13 years agoisimodem: Add code points for wgmodem 2.5
Aki Niemi [Tue, 8 Feb 2011 14:46:10 +0000 (16:46 +0200)]
isimodem: Add code points for wgmodem 2.5

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