platform/upstream/ofono.git
12 years agoAUTHORS: Mention Pablo's contributions
Denis Kenzior [Wed, 30 May 2012 05:02:57 +0000 (00:02 -0500)]
AUTHORS: Mention Pablo's contributions

12 years agosms: Handle quirky Wavecom Q2XXX CPMS syntax
Pablo Neira Ayuso [Tue, 29 May 2012 02:14:26 +0000 (04:14 +0200)]
sms: Handle quirky Wavecom Q2XXX CPMS syntax

12 years agosim: Handle quirky CPIN of Wavecom Q2XXX
Pablo Neira Ayuso [Tue, 29 May 2012 02:14:26 +0000 (04:14 +0200)]
sim: Handle quirky CPIN of Wavecom Q2XXX

12 years agodrivers: add quirk for Wavecom Q2403/Q2686 modems
Pablo Neira Ayuso [Tue, 29 May 2012 02:14:26 +0000 (04:14 +0200)]
drivers: add quirk for Wavecom Q2403/Q2686 modems

The existing wavecom driver in tree slightly differs from these
modems. Thus, it doesn't work work with them. We (the osmocom
team) use these Wavecom Q2403/Q2686 modems in our testbed.

12 years agobuild: Fix build issue with QMI utility skeleton
Marcel Holtmann [Tue, 29 May 2012 08:18:10 +0000 (10:18 +0200)]
build: Fix build issue with QMI utility skeleton

12 years agobuild: Remove dependency on libcap-ng
Marcel Holtmann [Tue, 29 May 2012 06:17:01 +0000 (08:17 +0200)]
build: Remove dependency on libcap-ng

12 years agobuild: Add skeleton for QMI utility
Marcel Holtmann [Sun, 27 May 2012 12:52:43 +0000 (14:52 +0200)]
build: Add skeleton for QMI utility

12 years agobuild: Reduce indentation for isimodem and atmodem sources
Marcel Holtmann [Sun, 27 May 2012 12:48:01 +0000 (14:48 +0200)]
build: Reduce indentation for isimodem and atmodem sources

12 years agobuild: Remove some empty lines
Marcel Holtmann [Sun, 27 May 2012 12:43:31 +0000 (14:43 +0200)]
build: Remove some empty lines

12 years agobuild: Add skeleton for Qualcomm QMI modem driver
Marcel Holtmann [Sun, 27 May 2012 08:13:55 +0000 (10:13 +0200)]
build: Add skeleton for Qualcomm QMI modem driver

12 years agoatmodem: Enable Icera radio access technology updates
Marcel Holtmann [Sat, 26 May 2012 14:15:34 +0000 (16:15 +0200)]
atmodem: Enable Icera radio access technology updates

12 years agohuaweimodem: Use network interface from modem for GPRS context
Marcel Holtmann [Sat, 26 May 2012 07:48:25 +0000 (09:48 +0200)]
huaweimodem: Use network interface from modem for GPRS context

12 years agogobi: Use the correct modem property for AT command device
Marcel Holtmann [Sat, 26 May 2012 05:36:30 +0000 (07:36 +0200)]
gobi: Use the correct modem property for AT command device

12 years agoudev: Fix matching to prefer entries with VID and PID
Marcel Holtmann [Sat, 26 May 2012 05:35:58 +0000 (07:35 +0200)]
udev: Fix matching to prefer entries with VID and PID

12 years agoudev: Add support for detecting Huawei QMI devices
Marcel Holtmann [Sat, 26 May 2012 05:35:25 +0000 (07:35 +0200)]
udev: Add support for detecting Huawei QMI devices

12 years agoudev: Add support for detecting Gobi QMI devices
Marcel Holtmann [Sat, 26 May 2012 04:47:26 +0000 (06:47 +0200)]
udev: Add support for detecting Gobi QMI devices

12 years agoudev: Add matching support for CDC WDM device nodes
Marcel Holtmann [Sat, 26 May 2012 04:46:54 +0000 (06:46 +0200)]
udev: Add matching support for CDC WDM device nodes

12 years agoiceramodem: Read supported bands as part of radio settings
Marcel Holtmann [Fri, 25 May 2012 18:54:21 +0000 (20:54 +0200)]
iceramodem: Read supported bands as part of radio settings

12 years agogatsyntax: Fix typo with GSM_PERMISSIVE_STATE_RESPONSE_STRING
Marcel Holtmann [Fri, 25 May 2012 18:48:22 +0000 (20:48 +0200)]
gatsyntax: Fix typo with GSM_PERMISSIVE_STATE_RESPONSE_STRING

12 years agogatsyntax: Handle lines starting with '"'
Denis Kenzior [Thu, 24 May 2012 14:26:04 +0000 (09:26 -0500)]
gatsyntax: Handle lines starting with '"'

12 years agobuild: Whitespace & keep vim happy
Denis Kenzior [Thu, 24 May 2012 11:48:48 +0000 (06:48 -0500)]
build: Whitespace & keep vim happy

12 years agoatmodem: Fix parsing of Icera network state updates
Marcel Holtmann [Fri, 25 May 2012 12:46:41 +0000 (14:46 +0200)]
atmodem: Fix parsing of Icera network state updates

12 years agoatmodem: Add support for Icera PIN retry counters
Marcel Holtmann [Fri, 25 May 2012 12:32:28 +0000 (14:32 +0200)]
atmodem: Add support for Icera PIN retry counters

12 years agobuild: Add dundee/dundee.service to .gitignore
Marcel Holtmann [Fri, 25 May 2012 11:14:57 +0000 (13:14 +0200)]
build: Add dundee/dundee.service to .gitignore

12 years agoicera: Select USSD driver based on USSD mode setting
Marcel Holtmann [Fri, 25 May 2012 11:09:27 +0000 (13:09 +0200)]
icera: Select USSD driver based on USSD mode setting

12 years agoiceramodem: Handle context deactivation responses
Marcel Holtmann [Fri, 25 May 2012 10:55:08 +0000 (12:55 +0200)]
iceramodem: Handle context deactivation responses

12 years agoudev: Add detection for Nokia 21M-01 modems
Marcel Holtmann [Fri, 25 May 2012 10:35:45 +0000 (12:35 +0200)]
udev: Add detection for Nokia 21M-01 modems

12 years agoudev: Add detection for Samsung GT-Y3300 modems
Marcel Holtmann [Fri, 25 May 2012 10:35:25 +0000 (12:35 +0200)]
udev: Add detection for Samsung GT-Y3300 modems

12 years agoudev: Extend port mapping for Icera modems
Marcel Holtmann [Fri, 25 May 2012 10:30:40 +0000 (12:30 +0200)]
udev: Extend port mapping for Icera modems

12 years agoicera: Request USSD mode and firmware details
Marcel Holtmann [Fri, 25 May 2012 10:29:59 +0000 (12:29 +0200)]
icera: Request USSD mode and firmware details

12 years agoicera: Query initial state of SIM init status
Marcel Holtmann [Fri, 25 May 2012 08:41:10 +0000 (10:41 +0200)]
icera: Query initial state of SIM init status

12 years agoicera: Enable support for radio settings handling
Marcel Holtmann [Fri, 25 May 2012 08:33:14 +0000 (10:33 +0200)]
icera: Enable support for radio settings handling

12 years agoiceramodem: Add support special radio settings handling
Marcel Holtmann [Fri, 25 May 2012 08:32:33 +0000 (10:32 +0200)]
iceramodem: Add support special radio settings handling

12 years agoicera: Use SIM init nofitication instead of polling
Marcel Holtmann [Thu, 24 May 2012 03:41:44 +0000 (05:41 +0200)]
icera: Use SIM init nofitication instead of polling

12 years agoatmodem: Add support for Icera network status updates
Marcel Holtmann [Thu, 24 May 2012 02:59:12 +0000 (04:59 +0200)]
atmodem: Add support for Icera network status updates

12 years agoatmodem: Add support for Icera network time handling
Marcel Holtmann [Thu, 24 May 2012 02:58:35 +0000 (04:58 +0200)]
atmodem: Add support for Icera network time handling

12 years agoicera: Enable SMS sending and receiving support
Marcel Holtmann [Thu, 24 May 2012 01:56:36 +0000 (03:56 +0200)]
icera: Enable SMS sending and receiving support

12 years agoatmodem: Icera devices don't support SMS ACK PDUs either
Marcel Holtmann [Thu, 24 May 2012 01:54:29 +0000 (03:54 +0200)]
atmodem: Icera devices don't support SMS ACK PDUs either

12 years agoicera: Enable USSD support and ensure default character set
Marcel Holtmann [Thu, 24 May 2012 01:44:31 +0000 (03:44 +0200)]
icera: Enable USSD support and ensure default character set

12 years agoatmodem: Fix issue with AT+CREG=? and AT+CGREG=? handling
Marcel Holtmann [Thu, 24 May 2012 01:28:50 +0000 (03:28 +0200)]
atmodem: Fix issue with AT+CREG=? and AT+CGREG=? handling

Some modems might see an interim +CREG: or +CGREG: notification when
querying the supported modes.

  Aux: > AT+CFUN=1\r
  Aux: < \r\nOK\r\n
  Aux: > AT+CREG=?\r
  Aux: < \r\n+CREG: 2\r\n
  Aux: < \r\n+CREG: (0-2)\r\nOK\r\n
  Unable to initialize Network Registration

To make this work, skip to the first line with an actual range value.

12 years agogdbus: Fix incorrectly discarded signals
Mikel Astiz [Tue, 22 May 2012 14:58:18 +0000 (16:58 +0200)]
gdbus: Fix incorrectly discarded signals

Signals with no arguments were incorrectly filtered out due to the NULL
inequality check.

12 years agodundee: Add Bluetooth DUN driver
Daniel Wagner [Wed, 4 Jan 2012 17:12:46 +0000 (18:12 +0100)]
dundee: Add Bluetooth DUN driver

12 years agodundee: Add PPP handling code to device
Daniel Wagner [Wed, 4 Jan 2012 17:08:38 +0000 (18:08 +0100)]
dundee: Add PPP handling code to device

12 years agodundee: Add device D-Bus interface
Daniel Wagner [Tue, 20 Dec 2011 14:15:37 +0000 (15:15 +0100)]
dundee: Add device D-Bus interface

12 years agodundee: Add driver helper functions
Daniel Wagner [Tue, 20 Dec 2011 14:23:19 +0000 (15:23 +0100)]
dundee: Add driver helper functions

12 years agodundee: Add device un/register
Daniel Wagner [Tue, 20 Dec 2011 14:12:51 +0000 (15:12 +0100)]
dundee: Add device un/register

12 years agodundee: Add callback helpers
Daniel Wagner [Tue, 20 Dec 2011 14:09:18 +0000 (15:09 +0100)]
dundee: Add callback helpers

12 years agodundee: Manager append devices
Daniel Wagner [Mon, 19 Dec 2011 08:46:59 +0000 (09:46 +0100)]
dundee: Manager append devices

12 years agodundee: Add skeleton implementation for device
Daniel Wagner [Wed, 4 Jan 2012 17:12:11 +0000 (18:12 +0100)]
dundee: Add skeleton implementation for device

12 years agodundee: Add Manager interface
Daniel Wagner [Wed, 4 Jan 2012 17:11:36 +0000 (18:11 +0100)]
dundee: Add Manager interface

12 years agodundee: Add systemd configuration file
Daniel Wagner [Mon, 2 Apr 2012 15:47:19 +0000 (17:47 +0200)]
dundee: Add systemd configuration file

12 years agodundee: Add D-Bus configuration file
Daniel Wagner [Mon, 19 Dec 2011 08:37:31 +0000 (09:37 +0100)]
dundee: Add D-Bus configuration file

12 years agodundee: Add D-Bus error messages
Daniel Wagner [Mon, 19 Dec 2011 08:36:09 +0000 (09:36 +0100)]
dundee: Add D-Bus error messages

12 years agodundee: Add skeleton implementation
Daniel Wagner [Wed, 4 Jan 2012 17:10:52 +0000 (18:10 +0100)]
dundee: Add skeleton implementation

12 years agodundee: Add test scripts
Daniel Wagner [Mon, 2 Apr 2012 16:16:48 +0000 (18:16 +0200)]
dundee: Add test scripts

12 years agodundee: Add documentation
Daniel Wagner [Mon, 19 Dec 2011 08:25:49 +0000 (09:25 +0100)]
dundee: Add documentation

12 years agobluetooth: Add Serial interface definition
Daniel Wagner [Fri, 9 Dec 2011 14:56:39 +0000 (15:56 +0100)]
bluetooth: Add Serial interface definition

12 years agohfp_hf: Fix up whitespace corruption
Denis Kenzior [Tue, 22 May 2012 02:26:19 +0000 (21:26 -0500)]
hfp_hf: Fix up whitespace corruption

12 years agotest: Add timeout to be compliant with GCF
Guillaume Zajac [Tue, 22 May 2012 12:49:16 +0000 (14:49 +0200)]
test: Add timeout to be compliant with GCF

With some GCF test cases, default python script timeout
is too short to pass the tests.

12 years agoiceramodem: Add special GPRS context driver
Marcel Holtmann [Tue, 22 May 2012 10:05:24 +0000 (12:05 +0200)]
iceramodem: Add special GPRS context driver

12 years agoicera: Add SIM, network registration and GPRS handling
Marcel Holtmann [Tue, 22 May 2012 10:04:13 +0000 (12:04 +0200)]
icera: Add SIM, network registration and GPRS handling

12 years agoatmodem: The Icera modem does not support CIND reporting
Marcel Holtmann [Tue, 22 May 2012 10:03:00 +0000 (12:03 +0200)]
atmodem: The Icera modem does not support CIND reporting

12 years agoatmodem: Add specific quirk for Icera modems
Marcel Holtmann [Tue, 22 May 2012 10:02:30 +0000 (12:02 +0200)]
atmodem: Add specific quirk for Icera modems

12 years agogdbus: do not check signature twice
Lucas De Marchi [Sun, 20 May 2012 05:07:36 +0000 (02:07 -0300)]
gdbus: do not check signature twice

Message signature is already checked in generic_message(), so there's no
need to check again in the callback.

12 years agogdbus: add Method.NoReply annotation in introspection
Lucas De Marchi [Sun, 20 May 2012 05:07:35 +0000 (02:07 -0300)]
gdbus: add Method.NoReply annotation in introspection

12 years agogdbus: add Deprecated annotation in introspection
Lucas De Marchi [Sun, 20 May 2012 05:07:34 +0000 (02:07 -0300)]
gdbus: add Deprecated annotation in introspection

12 years agogdbus: remove signature and reply from tables
Lucas De Marchi [Sun, 20 May 2012 05:07:33 +0000 (02:07 -0300)]
gdbus: remove signature and reply from tables

12 years agoDo not set signature and reply in GDBus tables
Lucas De Marchi [Sun, 20 May 2012 05:07:32 +0000 (02:07 -0300)]
Do not set signature and reply in GDBus tables

Use GDBUS_* macros, so signature and reply fields are not set in each
method/signal.

12 years agogdbus: loop over args to check message signature
Lucas De Marchi [Sun, 20 May 2012 05:07:31 +0000 (02:07 -0300)]
gdbus: loop over args to check message signature

12 years agogdbus: use GDBusArgInfo to generate introspection
Lucas De Marchi [Sun, 20 May 2012 05:07:30 +0000 (02:07 -0300)]
gdbus: use GDBusArgInfo to generate introspection

By using GDBusArgInfo in methods and signals, the introspection
generation is much simpler and we can add each argument name.

12 years agoConvert GDBus methods to use macro helpers
Lucas De Marchi [Sun, 20 May 2012 05:07:29 +0000 (02:07 -0300)]
Convert GDBus methods to use macro helpers

With these macro helpers we can separate in/out arguments and use their
own vector.

12 years agogdbus: add and use helpers for table declarations
Lucas De Marchi [Sun, 20 May 2012 05:07:28 +0000 (02:07 -0300)]
gdbus: add and use helpers for table declarations

12 years agogdbus: add argument info to methods and signals
Lucas De Marchi [Sun, 20 May 2012 05:07:27 +0000 (02:07 -0300)]
gdbus: add argument info to methods and signals

12 years agoConstify GDBus signal tables
Henrique Dante de Almeida [Sun, 20 May 2012 05:07:26 +0000 (02:07 -0300)]
Constify GDBus signal tables

Constify signal tables with the following command:

    find . -name '*.[ch]' -exec \
             sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;

12 years agoConstify GDBus method tables
Henrique Dante de Almeida [Sun, 20 May 2012 05:07:25 +0000 (02:07 -0300)]
Constify GDBus method tables

Constify method tables with the following command:

find . -name '*.[ch]' -exec \
             sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;

12 years agogdbus: Constify introspection method table
Marcel Holtmann [Fri, 18 May 2012 02:56:27 +0000 (19:56 -0700)]
gdbus: Constify introspection method table

12 years agogdbus: do not call memset for terminating NUL
Lucas De Marchi [Thu, 17 May 2012 18:19:59 +0000 (15:19 -0300)]
gdbus: do not call memset for terminating NUL

12 years agogdbus: return if method signature is malformed
Lucas De Marchi [Thu, 17 May 2012 18:19:58 +0000 (15:19 -0300)]
gdbus: return if method signature is malformed

12 years agobuild: BlueZ version 4.99 is required.
Marko Saukko [Mon, 14 May 2012 19:52:57 +0000 (22:52 +0300)]
build: BlueZ version 4.99 is required.

BlueZ 4.99 introduced key_size to bt_security struct that is used in
oFono, thus the requirement needs to be higher.

12 years agomailmap: Fix up Michael's name
Marcel Holtmann [Tue, 1 May 2012 10:40:09 +0000 (12:40 +0200)]
mailmap: Fix up Michael's name

12 years agomailmap: Fix up Syam's email address
Marcel Holtmann [Mon, 30 Apr 2012 23:17:30 +0000 (01:17 +0200)]
mailmap: Fix up Syam's email address

12 years agocall-forwarding: Remove unneeded variable
Oleg Zhurakivskyy [Tue, 10 Apr 2012 12:17:29 +0000 (15:17 +0300)]
call-forwarding: Remove unneeded variable

12 years agocall-forwarding: Streamline set_query_cf_callback()
Oleg Zhurakivskyy [Tue, 10 Apr 2012 12:17:28 +0000 (15:17 +0300)]
call-forwarding: Streamline set_query_cf_callback()

12 years agocall-forwarding: Refactor cf_find_unconditional()
Oleg Zhurakivskyy [Tue, 10 Apr 2012 12:17:27 +0000 (15:17 +0300)]
call-forwarding: Refactor cf_find_unconditional()

12 years agocall-forwarding: Streamline cf_find_timeout() logic
Oleg Zhurakivskyy [Tue, 10 Apr 2012 12:17:26 +0000 (15:17 +0300)]
call-forwarding: Streamline cf_find_timeout() logic

12 years agocall-forwarding: Get rid of extra variable
Oleg Zhurakivskyy [Tue, 10 Apr 2012 12:17:24 +0000 (15:17 +0300)]
call-forwarding: Get rid of extra variable

12 years agocall-forwarding: Make cf_cond_find more readable
Denis Kenzior [Mon, 23 Apr 2012 20:31:29 +0000 (15:31 -0500)]
call-forwarding: Make cf_cond_find more readable

12 years agocall-forwarding: Refactor cf_condition_find_with_cls()
Oleg Zhurakivskyy [Tue, 10 Apr 2012 12:17:23 +0000 (15:17 +0300)]
call-forwarding: Refactor cf_condition_find_with_cls()

12 years agocall-forwarding: Refactor cf_condition_compare()
Oleg Zhurakivskyy [Tue, 10 Apr 2012 12:17:22 +0000 (15:17 +0300)]
call-forwarding: Refactor cf_condition_compare()

12 years agotest: Add test script for ReleaseAndAnswer
Denis Kenzior [Mon, 23 Apr 2012 20:18:08 +0000 (15:18 -0500)]
test: Add test script for ReleaseAndAnswer

12 years agoRelease 1.6 1.6
Marcel Holtmann [Fri, 20 Apr 2012 19:12:48 +0000 (21:12 +0200)]
Release 1.6

12 years agodoc: Clarify CallRemoved behavior
Denis Kenzior [Thu, 19 Apr 2012 13:58:20 +0000 (08:58 -0500)]
doc: Clarify CallRemoved behavior

12 years agodoc: Clarify Interfaces property
Denis Kenzior [Thu, 19 Apr 2012 13:50:26 +0000 (08:50 -0500)]
doc: Clarify Interfaces property

12 years agohfp_hf: Fix modifying hash table while iterating
Mikel Astiz [Thu, 19 Apr 2012 06:58:58 +0000 (08:58 +0200)]
hfp_hf: Fix modifying hash table while iterating

Calling ofono_remove_modem() while iterating the hash table is not safe
given that it can modify the table in hfp_remove().

A simple way to reproduce the problem is to pair some Bluetooth phones
and remove the Bluetooth adapter, triggering a GLib-CRITICAL assertion.

This patch just removes the update of the hash table inside
hfp_remove(). This can be safe as long as all calls to
ofono_modem_remove() are accompanied by a hash table update. The only
example of this kind right now is hfp_agent_release().

12 years agoatmodem: Poll SIM state after having entered PIN
Guillaume Zajac [Wed, 18 Apr 2012 12:39:48 +0000 (14:39 +0200)]
atmodem: Poll SIM state after having entered PIN

We encountered the problem of CME ERROR 14: SIM busy on ZTE modems.
ZTE modems don't use SIM notification to check SIM state.
We poll SIM ready state before confirming PIN is entered.

12 years agozte: Update to new sim_state_query API
Guillaume Zajac [Wed, 18 Apr 2012 12:16:09 +0000 (14:16 +0200)]
zte: Update to new sim_state_query API

12 years agospeedup: Update to new sim_state_query API
Guillaume Zajac [Wed, 18 Apr 2012 12:16:09 +0000 (14:16 +0200)]
speedup: Update to new sim_state_query API

12 years agosamsung: Update to new sim_state_query API
Guillaume Zajac [Wed, 18 Apr 2012 12:16:09 +0000 (14:16 +0200)]
samsung: Update to new sim_state_query API

12 years agombm: Update to new sim_state_query API
Guillaume Zajac [Wed, 18 Apr 2012 12:16:09 +0000 (14:16 +0200)]
mbm: Update to new sim_state_query API

12 years agoalcatel: Update to new sim_state_query API
Guillaume Zajac [Wed, 18 Apr 2012 12:16:09 +0000 (14:16 +0200)]
alcatel: Update to new sim_state_query API