Caiwen Zhang [Tue, 13 Jan 2015 03:13:42 +0000 (11:13 +0800)]
Update to version 1.15
Caiwen Zhang [Fri, 7 Mar 2014 14:37:56 +0000 (22:37 +0800)]
he910: Fixup SIM status switching
SIM inserted notification may be missed, when get SIM status is ready,
make sure SIM inserted is set.
Change-Id: Iad752d39af544c2f177015b5e2530018e8947d40
Caiwen Zhang [Thu, 27 Feb 2014 17:32:19 +0000 (01:32 +0800)]
Upgrade to version 1.14
Michael Demeter [Tue, 14 Jan 2014 19:04:16 +0000 (11:04 -0800)]
Add the SmackExecLabel=User to allow rw for userspace apps
Change-Id: I35aad4dcd50d0c7025a15ec184d481540add1294
Signed-off-by: Michael Demeter <michael.demeter@intel.com>
Sebastian Chlad [Fri, 10 Jan 2014 13:14:02 +0000 (15:14 +0200)]
packaging: diable bluez4 as bluez5 is integrated
Change-Id: I42fc2b2b13a2f3ab32c6049f555262b13458cf62
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
Ravi kumar Veeramally [Fri, 22 Nov 2013 15:01:07 +0000 (17:01 +0200)]
Imported 1.13
Alexandru Cornea [Mon, 1 Jul 2013 18:27:36 +0000 (21:27 +0300)]
resetting manifest requested domain to floor
Anas Nashif [Sat, 11 May 2013 05:49:12 +0000 (01:49 -0400)]
Set license using %license
Erwan Le Blond [Thu, 2 May 2013 12:40:16 +0000 (14:40 +0200)]
fix packaging and add ofono.manifest
Anas Nashif [Wed, 13 Feb 2013 14:42:17 +0000 (06:42 -0800)]
Initial packaging
Anas Nashif [Wed, 13 Feb 2013 14:38:27 +0000 (06:38 -0800)]
packaging: Initial packaging for Tizen on 1.12
Change-Id: I5cfd9eb836c0dc81dc70f84306b6d4df342d4ba6
Marcel Holtmann [Sat, 13 Dec 2014 01:56:19 +0000 (02:56 +0100)]
Release 1.16
Alfonso Sanchez-Beato [Fri, 12 Dec 2014 11:25:35 +0000 (12:25 +0100)]
radio-settings: Show all available technologies
Not all possible futures technologies were being showed on the DBus
interface.
Denis Kenzior [Wed, 10 Dec 2014 17:02:14 +0000 (11:02 -0600)]
phonesim: Instantiate radio-settings in post_sim
Denis Kenzior [Wed, 10 Dec 2014 17:01:37 +0000 (11:01 -0600)]
phonesim: Add minimal radio-settings functionality
Denis Kenzior [Wed, 10 Dec 2014 04:54:35 +0000 (22:54 -0600)]
phonesim: Add skeleton of radio settings driver
Denis Kenzior [Wed, 10 Dec 2014 17:00:49 +0000 (11:00 -0600)]
radio-settings: Always query available rats
If fast dormancy query is not implemented the available rats are not
queried.
Denis Kenzior [Wed, 10 Dec 2014 16:40:26 +0000 (10:40 -0600)]
radio-settings: Add additional sanity check
Denis Kenzior [Wed, 10 Dec 2014 16:38:42 +0000 (10:38 -0600)]
radio-settings: rework AvailableTechnologies logic
Take advantage of the new enum structure to future proof and simplify
the logic of generating the AvailableTechnologies property
Denis Kenzior [Wed, 10 Dec 2014 16:28:49 +0000 (10:28 -0600)]
include: No need for OFONO_FLAG* defines
Alfonso Sanchez-Beato [Tue, 9 Dec 2014 12:34:39 +0000 (13:34 +0100)]
test: Add AvailableTechnologies to list-modems
Alfonso Sanchez-Beato [Tue, 9 Dec 2014 12:34:38 +0000 (13:34 +0100)]
src: Implement RAT list property
Alfonso Sanchez-Beato [Tue, 9 Dec 2014 12:34:37 +0000 (13:34 +0100)]
include: Add method to list RATs to radio-settings
Alfonso Sanchez-Beato [Tue, 9 Dec 2014 12:34:36 +0000 (13:34 +0100)]
doc: Add AvailableTechnologies property
This new property in org.ofono.RadioSettings interface will hold the
possible values for radio access technology for the modem.
Denis Kenzior [Wed, 3 Dec 2014 23:31:09 +0000 (17:31 -0600)]
sim: Fix pin retries bogus values on some arch-es
On some architectures the SimManager.Retries property was getting bogus
values. This is because we were sending an array which pointed to int
values instead of the expected unsigned char values.
This fix allocates a temporary array of unsigned chars to hold the
actual D-Bus values being sent. Additionally, the dictionary array is
changed to point to the temporary unsigned char based values instead of
the raw 'int' based retry values.
Neil Jerram [Fri, 21 Nov 2014 01:48:26 +0000 (01:48 +0000)]
test: Support receiving SMS with non-ASCII chars
Without this I get the following Python traceback, for an SMS that
contains the UK pound sign.
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 230, in maybe_handle_message
self._handler(*args, **kwargs)
File "./receive-sms", line 9, in incoming_message
print("%s" % (message))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa3' in position 51: ordinal not in range(128)
Kuba Pawlak [Mon, 20 Oct 2014 17:12:05 +0000 (19:12 +0200)]
he910: Update copyright
Kuba Pawlak [Thu, 16 Oct 2014 12:34:44 +0000 (14:34 +0200)]
he910: enable location raporting atom
Kuba Pawlak [Thu, 16 Oct 2014 12:29:05 +0000 (14:29 +0200)]
udev: add GPS port definition for HE910
Denis Kenzior [Thu, 23 Oct 2014 02:21:49 +0000 (21:21 -0500)]
telitmodem: Fix a few coding style violations
Denis Kenzior [Thu, 23 Oct 2014 02:21:18 +0000 (21:21 -0500)]
AUTHORS: Mention Kuba's contributions
Kuba Pawlak [Thu, 16 Oct 2014 12:28:34 +0000 (14:28 +0200)]
telitmodem: location reporting driver
Kuba Pawlak [Tue, 21 Oct 2014 16:04:42 +0000 (18:04 +0200)]
doc: new file doc/telit-modem.txt
Denis Kenzior [Mon, 10 Feb 2014 17:01:28 +0000 (11:01 -0600)]
emulator: Refine +BIND support
Denis Kenzior [Sat, 1 Feb 2014 15:11:17 +0000 (09:11 -0600)]
hfp_ag_bluez5: Bump HFP version to 1.7
Denis Kenzior [Sat, 1 Feb 2014 15:05:10 +0000 (09:05 -0600)]
emulator_fuzz: Add test plugin
This plugin creates an org.ofono.test.EmulatorFuzz interface on path
/test. Currently only one method is implemented, SetIndicatorActive.
SetIndicatorActive("DistractedDrivingReduction", True|False) allows to
activate / deactivate the HF indicator via +BIND unsolicited
notification.
Denis Kenzior [Sat, 1 Feb 2014 15:04:52 +0000 (09:04 -0600)]
emulator: Implement new API
Denis Kenzior [Sat, 1 Feb 2014 15:04:17 +0000 (09:04 -0600)]
include: Add API to (de)activate HF indicators
Denis Kenzior [Fri, 31 Jan 2014 21:17:23 +0000 (15:17 -0600)]
test: Add test/set-ddr
Script to set DistractedDrivingReduction property
Denis Kenzior [Fri, 31 Jan 2014 21:14:08 +0000 (15:14 -0600)]
handsfree: Be extra pedantic with booleans
Denis Kenzior [Fri, 31 Jan 2014 21:07:40 +0000 (15:07 -0600)]
hfp_hf_bluez5: Use latest HFP version
Denis Kenzior [Fri, 31 Jan 2014 21:05:40 +0000 (15:05 -0600)]
handsfree: Don't try to send a method return
When we are simply updating the AG of HF indicator changes, do not try
to send a method return message.
Denis Kenzior [Fri, 31 Jan 2014 21:05:25 +0000 (15:05 -0600)]
slc: Make sure to initialize variables
Denis Kenzior [Mon, 27 Jan 2014 17:56:33 +0000 (11:56 -0600)]
hfp: Implement +BIND notifications
Denis Kenzior [Mon, 27 Jan 2014 17:56:44 +0000 (11:56 -0600)]
hfp: Notify core of HF indicators supported by AG
This information was obtained from SLC negotiation
Denis Kenzior [Mon, 27 Jan 2014 17:54:21 +0000 (11:54 -0600)]
hfp: Track supported / active indicators
This information is obtained during SLC establishment
Denis Kenzior [Mon, 27 Jan 2014 17:53:45 +0000 (11:53 -0600)]
handsfree: Implement new HF indicators API
Denis Kenzior [Mon, 27 Jan 2014 17:52:21 +0000 (11:52 -0600)]
include: Add HF Indicators related API
Denis Kenzior [Wed, 22 Jan 2014 16:16:01 +0000 (10:16 -0600)]
hfp: Add implementation of +BIEV
Denis Kenzior [Wed, 22 Jan 2014 16:10:44 +0000 (10:10 -0600)]
emulator: Refactor data types
Denis Kenzior [Tue, 21 Jan 2014 03:43:37 +0000 (21:43 -0600)]
hfp: Add HF Indicators BRSF feature for 1.7
If HFP 1.7 client is used, enable the right BRSF feature
Denis Kenzior [Mon, 20 Jan 2014 04:06:21 +0000 (22:06 -0600)]
handsfree: Skeleton implementation of DDR
Distracted Driving Reduction or Enhanced Safety is implemented using HF
indicator 0x0001
Denis Kenzior [Mon, 20 Jan 2014 04:06:03 +0000 (22:06 -0600)]
handsfree: Add new driver method for HF indicators
Denis Kenzior [Mon, 20 Jan 2014 03:39:26 +0000 (21:39 -0600)]
hfp: Add initial SLC negotiation for HFP 1.7
Denis Kenzior [Mon, 20 Jan 2014 04:05:49 +0000 (22:05 -0600)]
doc: Add Distracted Driving Reduction to Handsfree
Denis Kenzior [Mon, 20 Jan 2014 04:05:15 +0000 (22:05 -0600)]
handsfree: Implement new Features property value
Denis Kenzior [Mon, 20 Jan 2014 04:04:53 +0000 (22:04 -0600)]
doc: Add 'hf-indicators' feature to Handsfree API
Denis Kenzior [Tue, 21 Jan 2014 03:42:58 +0000 (21:42 -0600)]
emulator: Enable HF Indicator feature
Denis Kenzior [Tue, 21 Jan 2014 03:41:23 +0000 (21:41 -0600)]
emulator: Extend BRSF bitmap
The current check of 8 bits is not enough with HFP 1.7
Denis Kenzior [Fri, 17 Jan 2014 20:38:56 +0000 (14:38 -0600)]
emulator: Add +BIEV implementation
Denis Kenzior [Fri, 17 Jan 2014 20:38:39 +0000 (14:38 -0600)]
emulator: Add +BIND implementation
Denis Kenzior [Tue, 21 Jan 2014 03:42:13 +0000 (21:42 -0600)]
emulator: Fix CHLD=? not treated as part of SLC
Denis Kenzior [Fri, 17 Jan 2014 20:37:41 +0000 (14:37 -0600)]
emulator: Improve SLC establishment logic
Denis Kenzior [Fri, 17 Jan 2014 20:36:28 +0000 (14:36 -0600)]
hfp: Add enum for known HF Indicators
Denis Kenzior [Fri, 17 Jan 2014 05:04:30 +0000 (23:04 -0600)]
hfp: Update for new HFP 1.7 values
Denis Kenzior [Mon, 20 Jan 2014 04:03:53 +0000 (22:03 -0600)]
doc: Fixup Handsfree API
Marcel Holtmann [Sat, 20 Sep 2014 14:13:45 +0000 (16:13 +0200)]
handsfree-audio: Fix broken coding style in switch statement
Alban Crequy [Tue, 15 Jul 2014 10:29:41 +0000 (11:29 +0100)]
gdbus: Fix match rule for NameOwnerChanged
When subscribing to the D-Bus signal NameOwnerChanged from the bus driver,
specify the object path and the sender in the match rule. Otherwise, random
connections on the bus could impersonate the bus driver.
Luiz Augusto von Dentz [Tue, 12 Aug 2014 12:31:24 +0000 (15:31 +0300)]
gdbus: Fix crash when watch is toggled or disconnected
This partially reverts
510b32b7156625b9df737c916b7a7a5c6fb285b9 since it
still necessary to take a reference before calling dbus_watch_handle
since internally it can call watch_info_free as in the following trace:
Invalid read of size 8
at 0x121085: watch_func (mainloop.c:105)
by 0x4C72694: g_main_context_dispatch (gmain.c:2539)
by 0x4C729C7: g_main_context_iterate.isra.23 (gmain.c:3146)
by 0x4C72DC1: g_main_loop_run (gmain.c:3340)
by 0x120541: main (main.c:551)
Address 0x5bbcd90 is 16 bytes inside a block of size 24 free'd
at 0x4A079AE: free (vg_replace_malloc.c:427)
by 0x4C7837E: g_free (gmem.c:252)
by 0x4F708BF: dbus_watch_set_data (dbus-watch.c:614)
by 0x4F70938: _dbus_watch_unref (dbus-watch.c:132)
by 0x4F6E9A7: _dbus_transport_handle_watch (dbus-transport.c:884)
by 0x4F59AFB: _dbus_connection_handle_watch (dbus-connection.c:1497)
by 0x4F70AF9: dbus_watch_handle (dbus-watch.c:683)
by 0x121084: watch_func (mainloop.c:103)
by 0x4C72694: g_main_context_dispatch (gmain.c:2539)
by 0x4C729C7: g_main_context_iterate.isra.23 (gmain.c:3146)
by 0x4C72DC1: g_main_loop_run (gmain.c:3340)
by 0x120541: main (main.c:551)
Luiz Augusto von Dentz [Tue, 12 Aug 2014 12:11:29 +0000 (15:11 +0300)]
gdbus: Fix crash when calling g_dbus_add_service_watch
If g_dbus_add_service_watch is called for service which bus name is
already known the following crash can happen:
invalid read of size 1
at 0x4C2A2F2: strlen (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E97722: g_strdup (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x405B0C: update_name_cache (watch.c:435)
by 0x405C37: update_service (watch.c:593)
by 0x4E7A2A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E7A627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E7AA39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4038EA: client_ready (test-gdbus-client.c:1014)
by 0x4E9E5E0: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E9E7A5: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E9EB1A: g_test_run_suite (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x403614: main (test-gdbus-client.c:1058)
Address 0x5dbe5d0 is 0 bytes inside a block of size 7 free'd
at 0x4C28577: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4E7FF7E: g_free (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x405B04: update_name_cache (watch.c:434)
by 0x405C37: update_service (watch.c:593)
by 0x4E7A2A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E7A627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E7AA39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4038EA: client_ready (test-gdbus-client.c:1014)
by 0x4E9E5E0: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E9E7A5: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E9EB1A: g_test_run_suite (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x403614: main (test-gdbus-client.c:1058)
Luiz Augusto von Dentz [Mon, 11 Aug 2014 14:58:37 +0000 (17:58 +0300)]
Revert "gdbus: Don't include just added interfaces in GetManagedObjects"
This actually creates a problem since the code now does flush any pending
message on the queue any signal will be send right away before the
actual reply to GetManagedObjects which will not contain those interfaces.
Andrei Emeltchenko [Mon, 11 Aug 2014 07:50:44 +0000 (10:50 +0300)]
gdbus: Fix use after free
Refactor filter_data_remove_callback so that we do not iterate over
freed pointer.
Claudio Takahasi [Wed, 2 Apr 2014 18:30:21 +0000 (15:30 -0300)]
gdbus: Avoid reporting GDBusClient disconnect twice
No matter if disconnection was reported previously, g_dbus_client_unref()
was always calling service disconnect callback. This patch fix the
following scenario:
1) service disconnects from the bus
2) disconnect callback gets called
3) client calls g_dbus_client_unref(), disconnect callback is called
again.
Denis Kenzior [Fri, 1 Aug 2014 14:29:40 +0000 (09:29 -0500)]
build: Avoid warnings about _FORTIFY_SOURCE
Gentoo (and others) define _FORTIFY_SOURCE=2 by default. We redefine
it, resulting in an error / configure failure.
Denis Kenzior [Tue, 8 Jul 2014 13:58:48 +0000 (08:58 -0500)]
ublox: Minor style cleanup
Denis Kenzior [Tue, 8 Jul 2014 13:56:55 +0000 (08:56 -0500)]
ublox: Remove unneeded VENDOR flags
devinfo and netreg atoms don't use vendor specific behavior
Philip Paeps [Thu, 3 Jul 2014 10:32:04 +0000 (12:32 +0200)]
plugins: new driver for u-blox SARA-U270 modems
This driver may also work (perhaps with more or less trivial changes)
with other u-blox modems (SARA, LISA, LEON) but this hasn't been tested.
Philip Paeps [Thu, 3 Jul 2014 10:32:06 +0000 (12:32 +0200)]
atmodem: set the auth method for u-blox modems
Philip Paeps [Thu, 3 Jul 2014 10:32:05 +0000 (12:32 +0200)]
sim: query u-blox PIN retries with AT+UPINCNT
Philip Paeps [Thu, 3 Jul 2014 10:32:03 +0000 (12:32 +0200)]
udevng: add detection logic for u-blox modems
Denis Kenzior [Tue, 8 Jul 2014 13:44:21 +0000 (08:44 -0500)]
quectel: Minor style cleanup
Denis Kenzior [Tue, 8 Jul 2014 13:43:01 +0000 (08:43 -0500)]
quectel: Remove unneeded VENDOR flags
Only the sim atom has QUECTEL specific code
Philip Paeps [Mon, 7 Jul 2014 09:54:47 +0000 (11:54 +0200)]
plugins: add a new driver for Quectel UC15 modems
Philip Paeps [Thu, 26 Jun 2014 18:28:17 +0000 (20:28 +0200)]
gprs: add support for u-blox +UREG URCs
Philip Paeps [Thu, 26 Jun 2014 18:28:13 +0000 (20:28 +0200)]
atmodem: add vendor u-blox
Denis Kenzior [Mon, 30 Jun 2014 18:44:40 +0000 (13:44 -0500)]
atmodem: Minor style fixups
Philip Paeps [Thu, 26 Jun 2014 17:08:14 +0000 (19:08 +0200)]
sim: query Quectel UC15 PIN retries with AT+QPINC?
Philip Paeps [Thu, 26 Jun 2014 17:08:12 +0000 (19:08 +0200)]
udevng: add detection logic for Quectel modems
Philip Paeps [Thu, 26 Jun 2014 17:08:11 +0000 (19:08 +0200)]
atmodem: add vendor Quectel
Sergio Checa Blanco [Fri, 27 Jun 2014 07:56:07 +0000 (09:56 +0200)]
hfpmodem: Fix crash with more than two calls
A periodic CLCC polling is started when there is an ongoing multiparty
call and a new call appears in the system. A simple way to reproduce
the crashing scenario is:
1. Place a call.
2. Place a second call.
3. Create a multiparty call with both calls.
4. Place a third call (incoming or outgoing does not matter).
5. Disconnect HFP from the modem.
Within the function ciev_callheld_notify, the AT+CLCC command is also
invoked, thus a new cyclic CLCC polling is started, and it overwrites
the timer resource identifier stored in voicecall_data.clcc_source.
This means that there are several timers doing the CLCC polling, but
only one of those is under control, i.e. it can be removed through its
source identifier, hence a timer source leak.
This has a fatal consequence when the HFP modem is disconnected. The
function hfp_voicecall_remove stops the timer that is under control
before freeing the voicecall_data struct. However there are other timers
that are still active and will execute its handler poll_clcc afterwards.
Inside poll_clcc the driver_data is accessed, which is already NULL.
A solution for this is to avoid starting a CLCC polling if there is
already one active, i.e. clcc_source is not 0. By doing this the
uncontrolled timers will not cycle forever.
Marcel Holtmann [Sun, 29 Jun 2014 20:20:08 +0000 (22:20 +0200)]
Release 1.15
Philip Paeps [Tue, 24 Jun 2014 09:57:06 +0000 (11:57 +0200)]
gprs: provision the authentication method
Philip Paeps [Tue, 24 Jun 2014 09:57:05 +0000 (11:57 +0200)]
mbpi: add support for provisioning the auth method
Use the authentication method from the mobile-broadband-provider-info
database if it is specified and supported (we support CHAP and PAP).
Default to CHAP if the database does not specify a method (i.e.: the
previous behaviour).
Philip Paeps [Tue, 24 Jun 2014 09:57:04 +0000 (11:57 +0200)]
include: add auth method to the provisioning API
Denis Kenzior [Sat, 21 Jun 2014 17:05:43 +0000 (12:05 -0500)]
AUTHORS: Mention Philip's contributions
Philip Paeps [Thu, 19 Jun 2014 10:07:07 +0000 (12:07 +0200)]
atmodem: set the PPP authentication method to use
Denis Kenzior [Sat, 21 Jun 2014 17:02:05 +0000 (12:02 -0500)]
gprs: Make the code a bit easier to read
Philip Paeps [Thu, 19 Jun 2014 10:07:08 +0000 (12:07 +0200)]
gprs: make PPP authentication method configurable
Add a new "AuthenticationMethod" property to select between "pap"
and "chap" PPP authentication, defaulting to "chap" (i.e.: previous
behaviour).
Philip Paeps [Thu, 19 Jun 2014 10:07:06 +0000 (12:07 +0200)]
include: add auth method to the gprs context API
Philip Paeps [Thu, 19 Jun 2014 10:07:09 +0000 (12:07 +0200)]
doc: describe the AuthenticationMethod property