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)]
Update packaging
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
Denis Kenzior [Sat, 21 Jun 2014 16:54:26 +0000 (11:54 -0500)]
gatchat: Fix up minor coding style issues
Philip Paeps [Thu, 19 Jun 2014 10:07:05 +0000 (12:07 +0200)]
gatchat: implement PAP authentication
Make the authentication method configurable, CHAP or PAP, defaulting to
CHAP (i.e.: previous behaviour).
Implementation details:
o If PAP is configured, we NAK the CHAP authentication protocol option
in LCP configuration requests and suggest PAP instead. This works
around the amusing requirement of 3GPP TS 29.061 that modems must
send a forced positive acknowledgement of the authentication method
tried (i.e.: the modem will successfully accept any CHAP handshake,
but if the network only supports PAP, the modem will hang up
when it tries and fails to activate the PDP context)
o The PAP Authenticate-Request is resent a hard-coded three times at
ten-second intervals. This may be a bit too persistent. Chances
are if it doesn't work the first time, it'll never work, but the
RFC insists that we MUST retry.
Denis Kenzior [Sat, 21 Jun 2014 16:46:28 +0000 (11:46 -0500)]
AUTHORS: Mention Sergio's contributions
Sergio Checa Blanco [Fri, 20 Jun 2014 08:03:51 +0000 (10:03 +0200)]
hfpmodem: Split AT+VTS command into multiple +VTS
According to the standard "3GPP 27.007 v6.8.0" Appendix C.2.11,
when sending multiple DTMF characters, these must go in individual
+VTS commands for each tone. This adopts the AT modem approach.
Before: AT+VTS=1234\r
After: AT+VTS=1;+VTS=2;+VTS=3;+VTS=4\r
Alfonso Sanchez-Beato [Tue, 10 Jun 2014 08:27:17 +0000 (10:27 +0200)]
test: Adapt data test scripts to multi-modem
Some tests scripts were not ready to handle situations with more than
one modem present. This change fixes the data context scripts.
Alfonso Sanchez-Beato [Tue, 10 Jun 2014 08:27:16 +0000 (10:27 +0200)]
test: Adapt voice call test scripts to multi-modem
Some tests scripts were not ready to handle situations with more than
one modem present. This change fixes the scripts that handle voice
calls.
Denis Kenzior [Fri, 30 May 2014 17:25:23 +0000 (12:25 -0500)]
hfp: Fix case where RING never arrives
Denis Kenzior [Wed, 21 May 2014 17:08:37 +0000 (12:08 -0500)]
hfp: Use proper prefix
Otherwise the BCS command can consume unsolicited notifications.
ofonod[3270]: < \r\n+BCS: 2\r\n
ofonod[3270]: > AT+BCS=2\r
ofonod[3270]: < \r\n+CIEV: 1,1\r\n
ofonod[3270]: < \r\n+CIEV: 2,0\r\n
ofonod[3270]: < \r\nOK\r\n
Andrew Earl [Tue, 22 Apr 2014 15:22:40 +0000 (16:22 +0100)]
handsfree: correct crash on connect of hfp
Denis Kenzior [Thu, 10 Apr 2014 15:04:36 +0000 (10:04 -0500)]
handsfree: Rename driver function
To be more consistent with others in the same file
Denis Kenzior [Thu, 10 Apr 2014 15:04:12 +0000 (10:04 -0500)]
handsfree: Simplify logic
Andrew Earl [Tue, 8 Apr 2014 08:21:47 +0000 (09:21 +0100)]
hfp: Add CNUM query to handsfree interface for subscriber number
Denis Kenzior [Thu, 10 Apr 2014 14:40:57 +0000 (09:40 -0500)]
handsfree: Rename variable
Denis Kenzior [Thu, 10 Apr 2014 14:36:11 +0000 (09:36 -0500)]
handsfree: Reflow logic
Denis Kenzior [Thu, 10 Apr 2014 14:33:25 +0000 (09:33 -0500)]
handsfree: Remove function
No need for one line functions that are only used once
Denis Kenzior [Thu, 10 Apr 2014 14:31:58 +0000 (09:31 -0500)]
handsfree: Rename function
No need for the ofono_ prefix here
Denis Kenzior [Thu, 10 Apr 2014 14:29:32 +0000 (09:29 -0500)]
handsfree: Remove unneeded variable
Denis Kenzior [Thu, 10 Apr 2014 14:29:11 +0000 (09:29 -0500)]
handsfree: Remove unneeded variable i
Denis Kenzior [Thu, 10 Apr 2014 14:25:30 +0000 (09:25 -0500)]
handsfree: style fixes for previous commit
Andrew Earl [Tue, 8 Apr 2014 08:21:46 +0000 (09:21 +0100)]
hfp: Add subscriber number to handsfree properties
Andrew Earl [Tue, 8 Apr 2014 08:21:45 +0000 (09:21 +0100)]
include: Add subscriber number to handsfree API
Andrew Earl [Tue, 8 Apr 2014 08:21:44 +0000 (09:21 +0100)]
doc: Add subscriber number to handsfree-api
Denis Kenzior [Thu, 27 Mar 2014 14:51:26 +0000 (09:51 -0500)]
AUTHORS: Mention Jussi's contributions
Denis Kenzior [Thu, 27 Mar 2014 14:50:56 +0000 (09:50 -0500)]
phonesim: Fixup whitespace
Jussi Pakkanen [Thu, 27 Mar 2014 13:08:56 +0000 (15:08 +0200)]
phonesim: Add conf file override
OFONO_PHONESIM_CONFIG allows the configuration file location to be
overriden from the default $CONFIGDIR/phonesim.conf (typically /etc)
Claudio Takahasi [Fri, 21 Mar 2014 19:16:36 +0000 (16:16 -0300)]
gdbus: Add g_dbus_proxy_set_property_array
This patch adds a new gdbus utility function to allow setting a property
of fixed, and non-fixed values array.
Denis Kenzior [Thu, 20 Mar 2014 17:55:20 +0000 (12:55 -0500)]
he910: Fix unused variable warning
plugins/he910.c: In function ‘qss_query_cb’:
plugins/he910.c:174:21: error: unused variable ‘data’
[-Werror=unused-variable]
Denis Kenzior [Wed, 5 Mar 2014 18:26:04 +0000 (12:26 -0600)]
he910: Switch to permissive parser
Seems the CCFC implementation on Telit firmware is not v.250 compliant:
ofonod[445]: Aux: > AT+CCFC=0,2\r
ofonod[445]: Aux: < \r\n\r\n+CCFC:0,7\r\n\r\nOK\r\n
Denis Kenzior [Wed, 5 Mar 2014 18:48:21 +0000 (12:48 -0600)]
he910: Fixup SIM detection
In certain cases the #QSS notification is never sent, or sent too early.
Make sure that we enable #QSS notification only after the modem has been
set as powered. Also make sure that we explicitly query #QSS in case we
missed the earlier #QSS notification.
Denis Kenzior [Wed, 19 Mar 2014 15:24:57 +0000 (10:24 -0500)]
hfp: Use enum from hfp.h
Denis Kenzior [Wed, 19 Mar 2014 15:20:28 +0000 (10:20 -0500)]
hfp: Fixup variable names
Krzysztof Wilk [Mon, 17 Mar 2014 15:47:29 +0000 (16:47 +0100)]
hfp: Add CHLD features to drver data
Denis Kenzior [Wed, 19 Mar 2014 15:19:35 +0000 (10:19 -0500)]
handsfree: Fixup variable names
Krzysztof Wilk [Mon, 17 Mar 2014 15:47:30 +0000 (16:47 +0100)]
hfp: extend Features to three way calling and CHLD
Krzysztof Wilk [Mon, 17 Mar 2014 15:47:28 +0000 (16:47 +0100)]
include: Declaration function to set CHLD features
Krzysztof Wilk [Mon, 17 Mar 2014 15:47:27 +0000 (16:47 +0100)]
hfp: Define hfp_ag_chld_feature
Krzysztof Wilk [Mon, 17 Mar 2014 15:47:26 +0000 (16:47 +0100)]
doc: Extend Features property
Denis Kenzior [Fri, 14 Mar 2014 17:24:54 +0000 (12:24 -0500)]
AUTHORS: Mention Alfonso's contributions
Alfonso Sanchez-Beato [Fri, 14 Mar 2014 16:23:44 +0000 (17:23 +0100)]
unit: Fix test to use valid EF_PNN
test-simutil was not using EF_PNN files with a valid format.
Alfonso Sanchez-Beato [Fri, 14 Mar 2014 16:23:43 +0000 (17:23 +0100)]
simutil: Fix EF_PNN access
EF_PNN was not being read properly (see TS 24.008, section 10.5.3.5a,
for network names format), which affected the displayed PLMN name for
some MVNOs. Some modems already read the file and return the right
string: these do not show the problem.
Denis Kenzior [Fri, 14 Mar 2014 15:32:32 +0000 (10:32 -0500)]
stktest: Remove some unneeded output
Denis Kenzior [Fri, 14 Mar 2014 15:32:06 +0000 (10:32 -0500)]
test: Make sure test-stk-menu works with python3
Denis Kenzior [Wed, 12 Mar 2014 00:34:45 +0000 (19:34 -0500)]
AUTHORS: Mention Martin's contributions
Martin Pitt [Tue, 11 Mar 2014 16:39:22 +0000 (17:39 +0100)]
test: Convert to Python 3
Change raw_input() to input() and unicode to str. This is *not*
compatible with Python 2. Update the hashbangs to run with Python 3.
Martin Pitt [Tue, 11 Mar 2014 16:39:21 +0000 (17:39 +0100)]
test: Move from static gobject bindings to GI
Use GLib gobject-introspection bindings so that we can also use the
scripts with Python 3.
Martin Pitt [Tue, 11 Mar 2014 16:39:20 +0000 (17:39 +0100)]
test: Replace obsolete has_key() with "in"
In order to also work with Python 3
Martin Pitt [Tue, 11 Mar 2014 16:39:19 +0000 (17:39 +0100)]
test: Make exceptions compatible with Python 3
Use "except Type as var" syntax to work with both Python >= 2.6
and Python 3.
Martin Pitt [Tue, 11 Mar 2014 16:39:18 +0000 (17:39 +0100)]
test: Make print calls compatible with Python 3
Turn print calls into print() function calls and avoid using
comma-separated arguments, so that they work and look the same with
both Python 2 and 3.
Denis Kenzior [Wed, 5 Mar 2014 18:25:43 +0000 (12:25 -0600)]
he910: Fix whitespace
Claudio Takahasi [Thu, 6 Mar 2014 13:44:19 +0000 (10:44 -0300)]
gdbus: Add g_dbus_client_set_ready_watch()
This patch adds a new gdbus helper to notify the clients that
GetManagedObjects reply was received and the last proxy has been
informed previously by the proxy_added callback.
Denis Kenzior [Wed, 5 Mar 2014 14:51:06 +0000 (08:51 -0600)]
AUTHORS: Mention Tony's contributions
Tony Espy [Wed, 5 Mar 2014 00:01:34 +0000 (19:01 -0500)]
idmap: use UL for bitshift literals
The current bitshift logic in idmap incorrectly uses
the literal 1 for the value to shift in idmap_alloc(),
idmap_take(), and idmap_alloc_next(). This causes the
resulting value to be an int instead of a long, which
results in the wrong bit being set once the number of
bits to shift operand exceeds sizeof(int). Also
on some platforms, the behavior of the left bitshift
operator is undefined when this overflow occurs.
Luiz Augusto von Dentz [Tue, 18 Feb 2014 20:16:56 +0000 (22:16 +0200)]
gdbus: Replace g_timeout_add with g_idle_add
Passing 0 as timeout to g_timeout_add should equivalent to g_idle_add.
Anderson Lizardo [Tue, 18 Feb 2014 16:45:17 +0000 (12:45 -0400)]
gdbus: Fix incorrect DBusConnection reference counting
Commit
abfc2b0dd5c3e33abfdf1a815b16d492c1751c06 attempted to fix a crash
related to improper reference counting, but the main issue was that the
reference was taken only during the function call (which is usually
unnecessary for single thread), but still passed a pointer to
DBusConnection to a function that is called by the mainloop. This left a
window where the DBusConnection can be destroyed.
Fixes this crash on unit/test-gdbus-client:
==32642== Invalid read of size 4
==32642== at 0x690D0A6: dbus_connection_ref (in
/lib/i386-linux-gnu/libdbus-1.so.3.7.6)
==32642== by 0x804CEDB: message_dispatch (mainloop.c:73)
==32642== by 0x684580E: g_timeout_dispatch (gmain.c:4450)
==32642== by 0x6844A75: g_main_context_dispatch (gmain.c:3065)
==32642== by 0x6844E14: g_main_context_iterate.isra.23 (gmain.c:3712)
==32642== by 0x68452FA: g_main_loop_run (gmain.c:3906)
==32642== by 0x804C7D3: client_connect_disconnect
(test-gdbus-client.c:188)
==32642== by 0x6868DB2: g_test_run_suite_internal (gtestutils.c:2067)
==32642== by 0x6868F8D: g_test_run_suite_internal (gtestutils.c:2138)
==32642== by 0x6869320: g_test_run_suite (gtestutils.c:2189)
==32642== by 0x686936B: g_test_run (gtestutils.c:1508)
==32642== by 0x696D4D2: (below main) (libc-start.c:226)
==32642== Address 0x709c6e4 is 140 bytes inside a block of size 144
free'd
==32642== at 0x67E806C: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==32642== by 0x692D62E: dbus_free (in
/lib/i386-linux-gnu/libdbus-1.so.3.7.6)
==32642== by 0x690E1C2: ??? (in
/lib/i386-linux-gnu/libdbus-1.so.3.7.6)
==32642== by 0x804AAEC: destroy_context (test-gdbus-client.c:104)
==32642== by 0x6868DB2: g_test_run_suite_internal (gtestutils.c:2067)
==32642== by 0x6868F8D: g_test_run_suite_internal (gtestutils.c:2138)
==32642== by 0x6869320: g_test_run_suite (gtestutils.c:2189)
==32642== by 0x686936B: g_test_run (gtestutils.c:1508)
==32642== by 0x696D4D2: (below main) (libc-start.c:226)
Anderson Lizardo [Mon, 10 Feb 2014 17:14:56 +0000 (13:14 -0400)]
gdbus: Fix memory leak
data->conn and data->path must be destroyed before freeing "data".
Slava Monich [Thu, 6 Feb 2014 12:12:26 +0000 (14:12 +0200)]
mbpi: Pop subparser stack after mmsc and mmsproxy
Marcel Holtmann [Mon, 20 Jan 2014 00:48:04 +0000 (16:48 -0800)]
gatchat: Fix handling of WRITE_SCHEDULER_DEBUG
Slava Monich [Sat, 11 Jan 2014 11:32:10 +0000 (13:32 +0200)]
include: Be more const-correct in ofono_dbus_*
Marcel Holtmann [Sun, 22 Dec 2013 21:03:11 +0000 (13:03 -0800)]
Release 1.14
Marcel Holtmann [Sat, 21 Dec 2013 21:27:36 +0000 (13:27 -0800)]
unit: Ignore errors about deprecated g_test_trap_fork
Marcel Holtmann [Sat, 21 Dec 2013 21:13:07 +0000 (13:13 -0800)]
build: Remove unused dependency on USB library
Denis Kenzior [Sat, 21 Dec 2013 19:39:54 +0000 (13:39 -0600)]
git: Fixup messed up permissions
Krzysztof Wilk [Wed, 18 Dec 2013 15:03:02 +0000 (15:03 +0000)]
features: Describe Siri feature
Denis Kenzior [Wed, 18 Dec 2013 06:10:19 +0000 (00:10 -0600)]
AUTHORS: Mention Krzysztof's contributions
Krzysztof Wilk [Mon, 16 Dec 2013 17:52:44 +0000 (17:52 +0000)]
phonesim: Enable Siri atom
Krzysztof Wilk [Mon, 16 Dec 2013 17:52:43 +0000 (17:52 +0000)]
hfp_hf_bluez5: Enable Siri atom
Krzysztof Wilk [Mon, 16 Dec 2013 17:52:42 +0000 (17:52 +0000)]
hfp_hf_bluez4: Enable Siri atom
Krzysztof Wilk [Mon, 16 Dec 2013 17:52:41 +0000 (17:52 +0000)]
siri: Add atom driver
Krzysztof Wilk [Mon, 16 Dec 2013 17:52:40 +0000 (17:52 +0000)]
siri: Add atom implementation
Krzysztof Wilk [Mon, 16 Dec 2013 17:52:39 +0000 (17:52 +0000)]
include: Add Siri interface definition
Krzysztof Wilk [Mon, 16 Dec 2013 17:52:38 +0000 (17:52 +0000)]
dbus: Define Siri DBUS Interface
Krzysztof Wilk [Mon, 16 Dec 2013 17:52:37 +0000 (17:52 +0000)]
doc: Add Siri API
Denis Kenzior [Thu, 5 Dec 2013 09:50:05 +0000 (03:50 -0600)]
AUTHORS: Mention Andrew's contributions
Andrew Earl [Wed, 4 Dec 2013 14:36:13 +0000 (15:36 +0100)]
hfp: Add Voice Recognition flag to BRSF
Denis Kenzior [Tue, 26 Nov 2013 22:25:48 +0000 (16:25 -0600)]
he910: tweak initialization logic
Denis Kenzior [Tue, 26 Nov 2013 22:25:03 +0000 (16:25 -0600)]
netreg: Turn off CIEV indications other than rssi
Denis Kenzior [Tue, 26 Nov 2013 21:33:08 +0000 (15:33 -0600)]
AUTHORS: Mention Slava's contributions
Slava Monich [Mon, 25 Nov 2013 22:00:41 +0000 (00:00 +0200)]
mbpi: Provision mmsc and message_proxy
Denis Kenzior [Mon, 25 Nov 2013 17:33:57 +0000 (11:33 -0600)]
hfp_ag_bluez5: Try to support non-phone hardware
For devices which are not 'real' phone modems, the voicecall
initialization can happen outside of the pre-sim state. In this case
the voicecall atom detection logic fails. Try to detect the voicecall
atom separately, and register the profile if the SIM atom is already
present and in state 'READY'.
For all other cases, the previous logic still applies.
Denis Kenzior [Mon, 11 Nov 2013 22:01:51 +0000 (16:01 -0600)]
udevng: Add he910 detection logic
Denis Kenzior [Mon, 25 Nov 2013 16:54:51 +0000 (10:54 -0600)]
plugins: Add initial Telit he910 driver
Denis Kenzior [Fri, 22 Nov 2013 22:03:27 +0000 (16:03 -0600)]
build: Always build the connman plugin
It is not related to BLUEZ 4 support
Bastien Nocera [Sat, 9 Nov 2013 17:02:57 +0000 (18:02 +0100)]
gdbus: Fix trying to remove already removed sources
When we return FALSE from idle handlers, the source is removed.
This will be causing warnings in glib 2.40.
See https://bugzilla.gnome.org/show_bug.cgi?id=710724