platform/upstream/ofono.git
13 years agocdma-connman: Add user/pass to driver activate
Guillaume Zajac [Thu, 21 Jul 2011 04:40:41 +0000 (06:40 +0200)]
cdma-connman: Add user/pass to driver activate

Add username and password fields to cdma-connman's activate method.

13 years agoTODO: add HFP 1.6 AG tasks
Frédéric Danis [Wed, 20 Jul 2011 13:58:50 +0000 (15:58 +0200)]
TODO: add HFP 1.6 AG tasks

13 years agophonesim: Implement 'local' hfp driver
Denis Kenzior [Thu, 21 Jul 2011 08:02:58 +0000 (03:02 -0500)]
phonesim: Implement 'local' hfp driver

13 years agohfp_hf: Reorganize common code into hfpmodem
Denis Kenzior [Wed, 20 Jul 2011 19:55:31 +0000 (14:55 -0500)]
hfp_hf: Reorganize common code into hfpmodem

13 years agospeedupcdma: Create skeleton for Speed Up CDMA modem support
Guillaume Zajac [Thu, 21 Jul 2011 02:31:08 +0000 (04:31 +0200)]
speedupcdma: Create skeleton for Speed Up CDMA modem support

13 years agoofono.rules: Add rules for Tata ZTE MF 631
Bertrand Aygon [Wed, 20 Jul 2011 05:41:20 +0000 (07:41 +0200)]
ofono.rules: Add rules for Tata ZTE MF 631

13 years agohfpmodem: Minor whitespace fix
Denis Kenzior [Tue, 19 Jul 2011 21:17:01 +0000 (16:17 -0500)]
hfpmodem: Minor whitespace fix

13 years agodoc: add username and password for CDMA PPP authentication.
Bertrand Aygon [Wed, 20 Jul 2011 08:07:52 +0000 (10:07 +0200)]
doc: add username and password for CDMA PPP authentication.

13 years agovoicecall: Free settings when sim gets locked out
Denis Kenzior [Tue, 19 Jul 2011 20:07:02 +0000 (15:07 -0500)]
voicecall: Free settings when sim gets locked out

13 years agosim: Support SIM_STATE_LOCKED_OUT
Denis Kenzior [Tue, 19 Jul 2011 19:09:27 +0000 (14:09 -0500)]
sim: Support SIM_STATE_LOCKED_OUT

13 years agoinclude: Introduce a new SIM_LOCKED_OUT state
Denis Kenzior [Tue, 19 Jul 2011 19:06:42 +0000 (14:06 -0500)]
include: Introduce a new SIM_LOCKED_OUT state

This is the same as SIM_INSERTED state, except we have already queried
the always-readable EFs

13 years agosim: Break out state notification into own method
Denis Kenzior [Tue, 19 Jul 2011 19:02:40 +0000 (14:02 -0500)]
sim: Break out state notification into own method

13 years agovoicecall: close settings when SIM is removed
Frédéric Danis [Tue, 19 Jul 2011 16:49:09 +0000 (18:49 +0200)]
voicecall: close settings when SIM is removed

This also fixes the case where +BLDN uses an invalid number when the SIM
is removed.

13 years agovoicecall: fix callheld indicator for PTS
Frédéric Danis [Tue, 19 Jul 2011 16:10:47 +0000 (18:10 +0200)]
voicecall: fix callheld indicator for PTS

Fix PTS test TP/TWC/BV-03-I [Call Waiting- Hold Active/Retrieve
Waiting Call or Held].

PTS test fails after receiving intermediate update of callheld indicator
with value 0 (no held call) before it receives update to value 1
(active and held calls). This is due to the non-atomic update of calls
status after call swap (moving first call to active state before moving
second one to hold state).

HFP 1.5 spec specifies that an update of callheld indicator to 1 should
be sent after AT+CHLD=2 command.
As oFono emulator sends +CIEV only if the indicator value changes, we
need to use an intermediate state for callheld indicator (2, all calls on
hold).

So, in case of multiple active calls, or an active call with an active
mutiparty call, force update of callheld indicator to 2.

13 years agoofono.rules: Add rules for Reliance ZTE MF 688
Bertrand Aygon [Mon, 18 Jul 2011 14:33:17 +0000 (16:33 +0200)]
ofono.rules: Add rules for Reliance ZTE MF 688

13 years agoRelease 0.52 0.52
Marcel Holtmann [Sun, 17 Jul 2011 17:41:24 +0000 (19:41 +0200)]
Release 0.52

13 years agoconnman: Handle D-Bus without fd passing support
Marcel Holtmann [Sun, 17 Jul 2011 17:35:29 +0000 (19:35 +0200)]
connman: Handle D-Bus without fd passing support

13 years agobuild: Always compile unit tests
Marcel Holtmann [Fri, 15 Jul 2011 20:19:47 +0000 (22:19 +0200)]
build: Always compile unit tests

13 years agostk: Fix crash seen in stk_alpha_id_unset
Jeevaka Badrappan [Fri, 15 Jul 2011 16:29:27 +0000 (09:29 -0700)]
stk: Fix crash seen in stk_alpha_id_unset

If there is no default agent, then current agent also will
be NULL. So, call stk_agent_request_cancel only when there is a valid
current agent.

13 years agoifxmodem: add support for user_confirmation in stk
Jeevaka Badrappan [Fri, 15 Jul 2011 12:42:14 +0000 (05:42 -0700)]
ifxmodem: add support for user_confirmation in stk

13 years agoinclude: Add driver api for user confirmation
Jeevaka Badrappan [Fri, 15 Jul 2011 12:42:11 +0000 (05:42 -0700)]
include: Add driver api for user confirmation

13 years agovoicecall: Minor style fix
Denis Kenzior [Fri, 15 Jul 2011 00:58:32 +0000 (19:58 -0500)]
voicecall: Minor style fix

13 years agovoicecall: dial_request_user_cancel is not safe
Denis Kenzior [Fri, 15 Jul 2011 00:15:53 +0000 (19:15 -0500)]
voicecall: dial_request_user_cancel is not safe

It is not safe to call dial_request_user_cancel directly.  This is
because there might be a situation where the SIM requested the calls to
be dropped first.  If we're still executing the release_all_active
request and someone calls hangup -> crash.

Instead it is safer to throttle the hangup requests until the call is
actually dialing.

In similar fashion, we should not allow hanging up a specific call if a
dial request is active, unless that call is part of the SIM dial
request.  Note that by default this is not known until the driver's dial
implementation returns and the call is in the dialing (or alerting /
connected) state.

13 years agovoicecall: Send busy to DBus if emulator is pending
Denis Kenzior [Thu, 14 Jul 2011 23:23:28 +0000 (18:23 -0500)]
voicecall: Send busy to DBus if emulator is pending

13 years agovoicecall: Don't send response to defunct emulator
Denis Kenzior [Thu, 14 Jul 2011 22:42:51 +0000 (17:42 -0500)]
voicecall: Don't send response to defunct emulator

13 years agovoicecall: Throttle emulators
Denis Kenzior [Thu, 14 Jul 2011 22:33:08 +0000 (17:33 -0500)]
voicecall: Throttle emulators

Make sure that only a single request from (possibly multiple) emulators
is ever sent to the voicecall driver.  In the beginning it wasn't clear
whether this will be necessary, however several command implementations
already implemented basic throttling (+CHUP, ATD, CHLD=3, CHLD=2x) and
it made sense to make this more formal.

The other constraint is the abrupt removal of the emulator atom while an
operation is pending.  This case must be handled gracefully.  See next
commit.

13 years agovoicecall: Minor style fixes
Denis Kenzior [Thu, 14 Jul 2011 21:14:41 +0000 (16:14 -0500)]
voicecall: Minor style fixes

13 years agovoicecall: manage multiparty list in AT+CHLD=2X
Frédéric Dalleau [Tue, 5 Jul 2011 05:50:37 +0000 (07:50 +0200)]
voicecall: manage multiparty list in AT+CHLD=2X

13 years agovoicecall: manage multiparty list in AT+CHLD=3
Frédéric Dalleau [Tue, 5 Jul 2011 05:50:36 +0000 (07:50 +0200)]
voicecall: manage multiparty list in AT+CHLD=3

13 years agovoicecall: Minor style fix
Denis Kenzior [Thu, 14 Jul 2011 23:15:08 +0000 (18:15 -0500)]
voicecall: Minor style fix

13 years agoofono.rules: Add rules for ZTE MF 637 modem
Bertrand Aygon [Tue, 12 Jul 2011 15:09:00 +0000 (17:09 +0200)]
ofono.rules: Add rules for ZTE MF 637 modem

13 years agoofono.rules: Add rules for SpeedUp 8000 modem
Bertrand Aygon [Tue, 12 Jul 2011 14:33:29 +0000 (16:33 +0200)]
ofono.rules: Add rules for SpeedUp 8000 modem

13 years agoconnman: Refactor request_reply
Denis Kenzior [Tue, 12 Jul 2011 16:16:48 +0000 (11:16 -0500)]
connman: Refactor request_reply

13 years agoconnman: Perform more renaming
Denis Kenzior [Tue, 12 Jul 2011 14:34:36 +0000 (09:34 -0500)]
connman: Perform more renaming

13 years agoconnman: Refactor pns_release
Denis Kenzior [Tue, 12 Jul 2011 14:15:04 +0000 (09:15 -0500)]
connman: Refactor pns_release

13 years agoconnman: Rename to be clearer
Denis Kenzior [Tue, 12 Jul 2011 14:03:57 +0000 (09:03 -0500)]
connman: Rename to be clearer

13 years agoplugins: add connman private network driver
Guillaume Zajac [Tue, 12 Jul 2011 09:31:18 +0000 (11:31 +0200)]
plugins: add connman private network driver

13 years agohuaweicdma: Create skeleton for Huawei CDMA modem support
Guillaume Zajac [Tue, 12 Jul 2011 11:47:41 +0000 (13:47 +0200)]
huaweicdma: Create skeleton for Huawei CDMA modem support

13 years agogatserver: fix certain bad behavior
Denis Kenzior [Mon, 11 Jul 2011 20:51:34 +0000 (15:51 -0500)]
gatserver: fix certain bad behavior

Due to the new GAtIO semantics, the receive function is called
immediately if the receive buffer is not empty.  This caused certain
funny behavior in non-command (e.g. empty, a/) processing.

13 years agoofono.rules: Add udev rules for SpeedUp 7300
Bertrand Aygon [Mon, 11 Jul 2011 16:37:24 +0000 (18:37 +0200)]
ofono.rules: Add udev rules for SpeedUp 7300

13 years agoofono.rules: Add ofono rules for ZTE MF190
Nicolas Bertrand [Mon, 11 Jul 2011 12:16:56 +0000 (14:16 +0200)]
ofono.rules: Add ofono rules for ZTE MF190

13 years agohuawei: Use correct command for setting offline mode
Marcel Holtmann [Mon, 11 Jul 2011 13:06:02 +0000 (15:06 +0200)]
huawei: Use correct command for setting offline mode

According to some Huawei related documentation it is better to use
AT+CFUN=7 for offline mode instead of AT+CFUN=5.

13 years agoatmodem: Request device capabilities from devinfo driver
Marcel Holtmann [Mon, 11 Jul 2011 13:03:38 +0000 (15:03 +0200)]
atmodem: Request device capabilities from devinfo driver

The result of the capabilities command is currently not used to identify
GSM support or not. However for debugging purposes the information are
part of the AT command debug log now.

13 years agobtio: Fix the return value of bt_io functions
Vinicius Costa Gomes [Tue, 5 Jul 2011 17:00:00 +0000 (14:00 -0300)]
btio: Fix the return value of bt_io functions

Some bt_io methods were ignoring the value stored in errno when
reporting the error to the caller.

13 years agophonesim: add support of +CBC
Frédéric Danis [Fri, 8 Jul 2011 13:29:20 +0000 (15:29 +0200)]
phonesim: add support of +CBC

PTS test TP/PSI/BV-03-I [Transfer Battery Level Indication] needs to
change battery level and check that the battery level indication is
received at the HF.
So add support for +CBC in phonesim plugin, and force update of the
battery indicator on HFP AG Emulator registration.

13 years agozte: Create gprs & gc in post_sim
Bertrand Aygon [Thu, 7 Jul 2011 16:41:20 +0000 (18:41 +0200)]
zte: Create gprs & gc in post_sim

13 years agozte: Use decode_at_error instead
Bertrand Aygon [Thu, 7 Jul 2011 16:39:03 +0000 (18:39 +0200)]
zte: Use decode_at_error instead

13 years agoemulator: Make the logic a bit more readable
Denis Kenzior [Fri, 1 Jul 2011 16:18:56 +0000 (11:18 -0500)]
emulator: Make the logic a bit more readable

13 years agoemulator: fix CCWA for PTS
Frédéric Danis [Thu, 30 Jun 2011 14:52:54 +0000 (16:52 +0200)]
emulator: fix CCWA for PTS

During test TP/TCA/BV-05-I [Terminate Ongoing Call – While Call Waiting]
PTS fails if multiple +CCWA are sent (waiting for 1st phone number when
waiting one becomes incoming, intead of 2nd phone number).
So, send only 1 +CCWA.

Update RING timer management to be started as soon as an incoming call
exists, and retrieve +CLIP info for incoming or waiting call (in case
of waiting call becoming incoming call, call indicator changes before
internal call status is updated)

Force to send +CCWA (if needed) on reception of AT+CCWA=1

13 years agostk: Use the right command pointer
Andrzej Zaborowski [Wed, 6 Jul 2011 08:40:00 +0000 (10:40 +0200)]
stk: Use the right command pointer

13 years agoudev: Add udev rules for SpeedUp modems
Bertrand Aygon [Wed, 6 Jul 2011 17:25:59 +0000 (19:25 +0200)]
udev: Add udev rules for SpeedUp modems

13 years agoplugins: add speedup driver
Bertrand Aygon [Wed, 6 Jul 2011 17:25:58 +0000 (19:25 +0200)]
plugins: add speedup driver

13 years agobluetooth: Remove data in all situations
Luiz Augusto von Dentz [Mon, 4 Jul 2011 07:32:16 +0000 (10:32 +0300)]
bluetooth: Remove data in all situations

If an adapter or device is removed any data associate should be removed,
otherwise the next time they appear/are created the drivers may not
asssociate again.

13 years agorules: Add ofono rule for Huwaei modem E173
Guillaume Zajac [Tue, 5 Jul 2011 15:16:56 +0000 (17:16 +0200)]
rules: Add ofono rule for Huwaei modem E173

13 years agorules: Add ofono rule for ZTE modem MF668
Guillaume Zajac [Tue, 5 Jul 2011 08:47:13 +0000 (10:47 +0200)]
rules: Add ofono rule for ZTE modem MF668

13 years agorules: Add ofono rule for ZTE modem MF180
Guillaume Zajac [Tue, 5 Jul 2011 08:47:12 +0000 (10:47 +0200)]
rules: Add ofono rule for ZTE modem MF180

13 years agomain: Move signalfd setup in its own function
Marcel Holtmann [Sat, 2 Jul 2011 04:33:16 +0000 (21:33 -0700)]
main: Move signalfd setup in its own function

13 years agoAUTHORS: Mention Luiz's contributions
Denis Kenzior [Fri, 1 Jul 2011 08:14:07 +0000 (03:14 -0500)]
AUTHORS: Mention Luiz's contributions

13 years agobluetooth: make uuid profile detection more generic
Luiz Augusto von Dentz [Fri, 1 Jul 2011 07:12:23 +0000 (10:12 +0300)]
bluetooth: make uuid profile detection more generic

13 years agobluetooth: use lower case for UUIDs
Luiz Augusto von Dentz [Fri, 1 Jul 2011 07:12:22 +0000 (10:12 +0300)]
bluetooth: use lower case for UUIDs

BlueZ also uses lower case

13 years agoRelease 0.51 0.51
Marcel Holtmann [Fri, 1 Jul 2011 03:15:56 +0000 (20:15 -0700)]
Release 0.51

13 years agostkutil: Fix alignment issue with channel data length
Marcel Holtmann [Fri, 1 Jul 2011 02:32:46 +0000 (19:32 -0700)]
stkutil: Fix alignment issue with channel data length

13 years agostkutil: Fix alignment issue with building event list
Marcel Holtmann [Fri, 1 Jul 2011 02:32:11 +0000 (19:32 -0700)]
stkutil: Fix alignment issue with building event list

13 years agostkutil: Add missing call to va_end()
Marcel Holtmann [Fri, 1 Jul 2011 00:33:59 +0000 (17:33 -0700)]
stkutil: Add missing call to va_end()

13 years agobuild: Split non-root unit tests to have make check succeed
Marcel Holtmann [Thu, 30 Jun 2011 23:19:24 +0000 (16:19 -0700)]
build: Split non-root unit tests to have make check succeed

13 years agobuild: Add unit test cases to make check funtionality
Marcel Holtmann [Thu, 30 Jun 2011 23:04:12 +0000 (16:04 -0700)]
build: Add unit test cases to make check funtionality

13 years agoAUTHORS: Mention Michael's contributions
Denis Kenzior [Thu, 30 Jun 2011 05:42:48 +0000 (00:42 -0500)]
AUTHORS: Mention Michael's contributions

13 years agoudev: fix detection of HP HS2330 (3607gw)
Michael Schloh von Bennewitz [Thu, 30 Jun 2011 05:39:44 +0000 (00:39 -0500)]
udev: fix detection of HP HS2330 (3607gw)

commit 6a2847f7aba5d84b06940ee29300d4b6fd31d682 introduced basic
detection of HP HS2330 based on OEM Ericsson F3607gw modems.

Because some (or all?) HS2330 modems contain flawed text identifiers
containing strange (probably erroneous) binary sequences in place of
the ASCII space '\x20' character, the previous commit is incomplete.
The following logic detects the modem properly, by comparing binary
data as well as ASCII text values.

13 years agoTODO: Mark ACFC task as done
Denis Kenzior [Wed, 29 Jun 2011 10:07:53 +0000 (05:07 -0500)]
TODO: Mark ACFC task as done

13 years agoTODO: Mark PFC support as done
Denis Kenzior [Wed, 29 Jun 2011 10:05:11 +0000 (05:05 -0500)]
TODO: Mark PFC support as done

13 years agoppp: Add basic length sanity checks
Denis Kenzior [Wed, 29 Jun 2011 10:00:56 +0000 (05:00 -0500)]
ppp: Add basic length sanity checks

13 years agogsmdial: Add pfc & acfc options to gsmdial
Denis Kenzior [Wed, 29 Jun 2011 09:03:57 +0000 (04:03 -0500)]
gsmdial: Add pfc & acfc options to gsmdial

13 years agoppp: Don't regenerate options when unchanged
Denis Kenzior [Wed, 29 Jun 2011 09:03:25 +0000 (04:03 -0500)]
ppp: Don't regenerate options when unchanged

13 years agogatppp: Refactor tx path
Denis Kenzior [Wed, 29 Jun 2011 08:46:54 +0000 (03:46 -0500)]
gatppp: Refactor tx path

13 years agogatppp: Refactor rx path
Denis Kenzior [Wed, 29 Jun 2011 08:32:51 +0000 (03:32 -0500)]
gatppp: Refactor rx path

13 years agogatppp: Re-format & re-word comments
Denis Kenzior [Wed, 29 Jun 2011 08:32:27 +0000 (03:32 -0500)]
gatppp: Re-format & re-word comments

13 years agogsmdial: Use ACFC and PFC by default
Guillaume Zajac [Wed, 29 Jun 2011 08:20:26 +0000 (10:20 +0200)]
gsmdial: Use ACFC and PFC by default

13 years agoemulator: Use ACFC and PFC by default
Guillaume Zajac [Wed, 29 Jun 2011 08:20:25 +0000 (10:20 +0200)]
emulator: Use ACFC and PFC by default

13 years agoGAtPPP: Add PFC option support
Guillaume Zajac [Wed, 29 Jun 2011 08:20:24 +0000 (10:20 +0200)]
GAtPPP: Add PFC option support

13 years agoGAtPPP: Add ACFC option support
Guillaume Zajac [Wed, 29 Jun 2011 08:20:23 +0000 (10:20 +0200)]
GAtPPP: Add ACFC option support

13 years agostk: Remove deprecated structure
Philippe Nunes [Wed, 29 Jun 2011 12:59:54 +0000 (14:59 +0200)]
stk: Remove deprecated structure

13 years agoudev: Tweak detection rules for HP HS2330 cards
Denis Kenzior [Mon, 27 Jun 2011 17:17:22 +0000 (12:17 -0500)]
udev: Tweak detection rules for HP HS2330 cards

13 years agoudev: changed linktop device strings
Amit Mendapara [Mon, 27 Jun 2011 06:22:15 +0000 (11:52 +0530)]
udev: changed linktop device strings

13 years agolinktop: reimplemented with minimum features
Amit Mendapara [Mon, 27 Jun 2011 06:22:14 +0000 (11:52 +0530)]
linktop: reimplemented with minimum features

The device supports subset of ST-Ericsson AT command
extensions but nither STE nor the MBM plugin works with
these devices.

Fixes MeeGo bug #14784

13 years agombm: Use decode_error from atutil
Denis Kenzior [Mon, 27 Jun 2011 14:58:02 +0000 (09:58 -0500)]
mbm: Use decode_error from atutil

13 years agovoicecall: add ATD> support for HFP emulator
Frédéric Danis [Tue, 21 Jun 2011 16:48:34 +0000 (18:48 +0200)]
voicecall: add ATD> support for HFP emulator

13 years agomessage-waiting: API to retrieve voicemail number
Frédéric Danis [Tue, 21 Jun 2011 16:48:33 +0000 (18:48 +0200)]
message-waiting: API to retrieve voicemail number

13 years agoemulator: fix local HFP AG features
Frédéric Danis [Tue, 21 Jun 2011 12:49:49 +0000 (14:49 +0200)]
emulator: fix local HFP AG features

13 years agohfpmodem: remove previous HFP defines
Frédéric Danis [Tue, 21 Jun 2011 12:49:48 +0000 (14:49 +0200)]
hfpmodem: remove previous HFP defines

13 years agohfp_hf: update to use new HFP enums
Frédéric Danis [Tue, 21 Jun 2011 12:49:47 +0000 (14:49 +0200)]
hfp_hf: update to use new HFP enums

13 years agoinclude: add HFP features types for HF and AG
Frédéric Danis [Tue, 21 Jun 2011 12:49:46 +0000 (14:49 +0200)]
include: add HFP features types for HF and AG

13 years agohfp_ag: fix SDP record
Frédéric Danis [Mon, 20 Jun 2011 15:13:47 +0000 (17:13 +0200)]
hfp_ag: fix SDP record

HFP AG supports 3 way calls

13 years agovoicecall: add +BLDN support for HFP emulator
Frédéric Danis [Wed, 8 Jun 2011 13:47:25 +0000 (15:47 +0200)]
voicecall: add +BLDN support for HFP emulator

13 years agovoicecall: add ATD support for HFP emulator
Frédéric Danis [Wed, 8 Jun 2011 13:47:24 +0000 (15:47 +0200)]
voicecall: add ATD support for HFP emulator

13 years agocall-settings: fix typo
Nicolas Bertrand [Fri, 17 Jun 2011 13:09:12 +0000 (15:09 +0200)]
call-settings: fix typo

13 years agou8500: Use new UICC SIM driver
Aki Niemi [Thu, 16 Jun 2011 11:48:13 +0000 (14:48 +0300)]
u8500: Use new UICC SIM driver

13 years agobuild: Add UICC driver to build
Aki Niemi [Thu, 16 Jun 2011 11:48:04 +0000 (14:48 +0300)]
build: Add UICC driver to build

13 years agoisimodem: Add baseline for UICC driver
Aki Niemi [Thu, 16 Jun 2011 11:47:50 +0000 (14:47 +0300)]
isimodem: Add baseline for UICC driver

13 years agoisimodem: Add missing codepoints and debugs
Aki Niemi [Fri, 17 Jun 2011 13:40:16 +0000 (16:40 +0300)]
isimodem: Add missing codepoints and debugs

13 years agoisimodem: Fix style in UICC definitions
Aki Niemi [Thu, 16 Jun 2011 11:45:46 +0000 (14:45 +0300)]
isimodem: Fix style in UICC definitions