platform/upstream/ofono.git
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

13 years agoemulator: fix request tests
Frédéric Danis [Thu, 16 Jun 2011 13:27:48 +0000 (15:27 +0200)]
emulator: fix request tests

13 years agoRelease 0.50 0.50
Marcel Holtmann [Thu, 16 Jun 2011 02:24:43 +0000 (19:24 -0700)]
Release 0.50

13 years agoudev: add initial Telit support
Bernhard Guillon [Wed, 15 Jun 2011 07:17:27 +0000 (09:17 +0200)]
udev: add initial Telit support

13 years agoisimodem: Improper handling of missed call
Arun Ravindran [Mon, 23 May 2011 15:20:11 +0000 (18:20 +0300)]
isimodem: Improper handling of missed call

13 years agombmmodem: Fix not setting IPv4 Gateway
Denis Kenzior [Sun, 12 Jun 2011 22:47:48 +0000 (17:47 -0500)]
mbmmodem: Fix not setting IPv4 Gateway

13 years agocdma-voicecall: Fix for crash when unregistering atom
Dara Spieker-Doyle [Mon, 13 Jun 2011 23:01:31 +0000 (16:01 -0700)]
cdma-voicecall: Fix for crash when unregistering atom

13 years agotelit: Use more generic error decoding
Denis Kenzior [Wed, 8 Jun 2011 09:26:22 +0000 (04:26 -0500)]
telit: Use more generic error decoding

13 years agotelit: Make sure to clean up the source
Denis Kenzior [Wed, 8 Jun 2011 09:23:07 +0000 (04:23 -0500)]
telit: Make sure to clean up the source

13 years agotelit: Update copyright
Denis Kenzior [Wed, 8 Jun 2011 09:19:56 +0000 (04:19 -0500)]
telit: Update copyright

13 years agoplugins: Add initial telit UC864-G support
Bernhard Guillon [Wed, 8 Jun 2011 15:18:35 +0000 (17:18 +0200)]
plugins: Add initial telit UC864-G support

13 years agoifxmodem: Remove unneeded code
Denis Kenzior [Mon, 6 Jun 2011 23:06:10 +0000 (18:06 -0500)]
ifxmodem: Remove unneeded code

13 years agoifxmodem: Fix minor style issue
Denis Kenzior [Mon, 6 Jun 2011 23:04:26 +0000 (18:04 -0500)]
ifxmodem: Fix minor style issue

13 years agoifxmodem: emergency number list support
Jeevaka Badrappan [Wed, 8 Jun 2011 15:44:47 +0000 (08:44 -0700)]
ifxmodem: emergency number list support

13 years agoAUTHORS: Mention Bernhard's contributions
Denis Kenzior [Mon, 6 Jun 2011 22:51:09 +0000 (17:51 -0500)]
AUTHORS: Mention Bernhard's contributions

13 years agonetwork-registration.c: add telit support
Bernhard Guillon [Wed, 8 Jun 2011 15:18:34 +0000 (17:18 +0200)]
network-registration.c: add telit support

*add support for CIND=? tokens like ("signal",(0-7,99))
*add telit quirk for token encapsulation e.g.
    (("one",(0-7,99)),("two",(0-7,99)))

13 years agoatmodem/vendor.h: add OFONO_VENDOR_TELIT
Bernhard Guillon [Wed, 8 Jun 2011 15:18:36 +0000 (17:18 +0200)]
atmodem/vendor.h: add OFONO_VENDOR_TELIT

13 years agotest: Add modem argument to initiate-ussd
Bertrand Aygon [Wed, 8 Jun 2011 14:18:57 +0000 (16:18 +0200)]
test: Add modem argument to initiate-ussd

13 years agotest: Add modem argument to cancel-ussd
Bertrand Aygon [Wed, 8 Jun 2011 13:56:28 +0000 (15:56 +0200)]
test: Add modem argument to cancel-ussd

13 years agotest: Add modem argument to test-ussd
Bertrand Aygon [Wed, 8 Jun 2011 13:50:39 +0000 (15:50 +0200)]
test: Add modem argument to test-ussd

13 years agobluetooth: Remove usage of ofono.h
Denis Kenzior [Mon, 6 Jun 2011 06:03:32 +0000 (01:03 -0500)]
bluetooth: Remove usage of ofono.h

13 years agocdma-smsutil: Fix uninitialized var on gcc >= 4.5
Denis Kenzior [Mon, 6 Jun 2011 03:17:15 +0000 (22:17 -0500)]
cdma-smsutil: Fix uninitialized var on gcc >= 4.5

13 years agoTODO: Set owner on ACFC and PFC PPP options
Guillaume Zajac [Mon, 6 Jun 2011 14:45:13 +0000 (16:45 +0200)]
TODO: Set owner on ACFC and PFC PPP options

13 years agohuawei: NDIS port doesn't depend on modem port
Caiwen Zhang [Fri, 3 Jun 2011 09:14:07 +0000 (17:14 +0800)]
huawei: NDIS port doesn't depend on modem port

When creating the NDIS gprs context, do not check the existence of the
modem port.

13 years agohuawei: Minor tweaks to debug messages
Denis Kenzior [Thu, 2 Jun 2011 21:02:04 +0000 (16:02 -0500)]
huawei: Minor tweaks to debug messages

13 years agohuawei: reopen once if open device failed
Caiwen Zhang [Fri, 3 Jun 2011 09:00:10 +0000 (17:00 +0800)]
huawei: reopen once if open device failed

Sometimes when we try to open the modem (PPP) device, it may fail.
If opening the tty failed, retry once one second later.

13 years agosim: Make sure only PINs can be sent to EnterPin
Denis Kenzior [Thu, 2 Jun 2011 20:55:26 +0000 (15:55 -0500)]
sim: Make sure only PINs can be sent to EnterPin

13 years agogprs: Unify logic inside registration_status_cb
Denis Kenzior [Thu, 2 Jun 2011 07:35:39 +0000 (02:35 -0500)]
gprs: Unify logic inside registration_status_cb

And delay reseting the ATTACHING flag until we had a chance to query the
CGREG status.

13 years agotools: Use mobile-broadband-provider-info database location if present
Marcel Holtmann [Fri, 3 Jun 2011 06:49:03 +0000 (08:49 +0200)]
tools: Use mobile-broadband-provider-info database location if present

13 years agobuild: Check for mobile-broadband-provider-info database
Marcel Holtmann [Fri, 3 Jun 2011 06:48:49 +0000 (08:48 +0200)]
build: Check for mobile-broadband-provider-info database

13 years agoemulator: Don't try to release in case of error
Denis Kenzior [Thu, 2 Jun 2011 02:50:02 +0000 (21:50 -0500)]
emulator: Don't try to release in case of error

13 years agovoicecall: save last dialed number
Frédéric Danis [Wed, 1 Jun 2011 11:24:22 +0000 (13:24 +0200)]
voicecall: save last dialed number

13 years agovoicecall: create generic dial function
Frédéric Danis [Wed, 1 Jun 2011 11:24:20 +0000 (13:24 +0200)]
voicecall: create generic dial function

split manager_dial between generic and dbus parts

13 years agostk: Cancel pending DTMF tones if session is ended
Denis Kenzior [Wed, 1 Jun 2011 04:31:41 +0000 (23:31 -0500)]
stk: Cancel pending DTMF tones if session is ended

The Send DTMF command is special in its use of DisplayAction method of
STK agent.  This allows the user to send a 'User Terminated Session'
response to the SIM.  If the user performs this action, then any pending
DTMFs should also be canceled as soon as possible.

13 years agostk: simplify respond_on_exit flag handling
Philippe Nunes [Fri, 20 May 2011 16:26:14 +0000 (18:26 +0200)]
stk: simplify respond_on_exit flag handling

respond_on_exit flag is set by commands which are dispatched to the
agent, so that if the agent exits prematurely, a 'User Terminated
Session' response is sent to the SIM.

There were a couple of corner cases not quite handled correctly:

- During Set Up Call, if the user confirmation phase succeeded and the
  call was dispatched to voicecall atom successfully, and the agent
  exited at this point, then no terminal response would be sent until
  the call succeeded / failed.  Now the agent termination results in an
  'User Terminated Session' response being sent immediately, but the
  call setup proceeding.

13 years agoTODO: set owner of call forwarding state handling
Nicolas Bertrand [Tue, 31 May 2011 16:21:25 +0000 (18:21 +0200)]
TODO: set owner of call forwarding state handling

13 years agobluetooth: Initialize GError properly
Denis Kenzior [Tue, 31 May 2011 16:41:42 +0000 (11:41 -0500)]
bluetooth: Initialize GError properly

13 years agonetreg: Remove unused variable
Denis Kenzior [Tue, 31 May 2011 16:32:56 +0000 (11:32 -0500)]
netreg: Remove unused variable

13 years agosmsutil: Mark variable properly as unused
Marcel Holtmann [Sun, 29 May 2011 18:55:48 +0000 (11:55 -0700)]
smsutil: Mark variable properly as unused

13 years agoRelease 0.49 0.49
Marcel Holtmann [Sun, 29 May 2011 00:44:22 +0000 (17:44 -0700)]
Release 0.49

13 years agoemulator: Fix make distcheck
Denis Kenzior [Wed, 25 May 2011 15:01:16 +0000 (10:01 -0500)]
emulator: Fix make distcheck

13 years agobtio: Add workaround for not defined BT_FLUSHABLE
Marcel Holtmann [Fri, 27 May 2011 17:21:16 +0000 (10:21 -0700)]
btio: Add workaround for not defined BT_FLUSHABLE

13 years agobtio: Fix unused variable warning
Johan Hedberg [Sat, 14 May 2011 22:55:16 +0000 (01:55 +0300)]
btio: Fix unused variable warning

13 years agobtio: Fix compilation warning
Anderson Briglia [Thu, 5 May 2011 18:55:24 +0000 (14:55 -0400)]
btio: Fix compilation warning

This patch fixes a compilation warning regarding btio/btio.c. Actually
this warning seems a false positive by Ubuntu Natty GCC version. A new
bug on Ubuntu bug system was opened but if you do not want to wait until
it is analyzed, just apply this minor fix.

btio/btio.c: In function 'bt_io_get':
btio/btio.c:803:11: warning: 'flushable' may be used uninitialized in
this function

13 years agobtio: Add BT_FLUSHABLE support to BtIO
Johan Hedberg [Thu, 21 Apr 2011 07:15:04 +0000 (10:15 +0300)]
btio: Add BT_FLUSHABLE support to BtIO

This patch adds support for the BT_FLUSHABLE L2CAP socket option through
BtIO. This can be used to mark data from specific L2CAP sockets to have
the flushable flag set in their corresponding ACL packets.

13 years agobtio: Fix error message when getting SCO connection handle
Luiz Augusto von Dentz [Thu, 24 Mar 2011 12:09:52 +0000 (14:09 +0200)]
btio: Fix error message when getting SCO connection handle

Error message should indicate the transport correctly which is SCO
not RFCOMM.

13 years agobluetooth: Remove usage of unused variable
Marcel Holtmann [Fri, 27 May 2011 17:10:04 +0000 (10:10 -0700)]
bluetooth: Remove usage of unused variable

13 years agosierra: Remove usage of unused gprs variable
Marcel Holtmann [Fri, 27 May 2011 17:08:59 +0000 (10:08 -0700)]
sierra: Remove usage of unused gprs variable

13 years agohuawei: Remove usage of unused netreg variable
Marcel Holtmann [Fri, 27 May 2011 17:08:16 +0000 (10:08 -0700)]
huawei: Remove usage of unused netreg variable

13 years agogisi: Remove unused code for PN netlink address handling
Marcel Holtmann [Fri, 27 May 2011 17:06:10 +0000 (10:06 -0700)]
gisi: Remove unused code for PN netlink address handling

13 years agotools: Fix missing handling of signalfd read results
Marcel Holtmann [Fri, 27 May 2011 17:01:30 +0000 (10:01 -0700)]
tools: Fix missing handling of signalfd read results

13 years agotools: Fix unused variable for Huawei audio settings
Marcel Holtmann [Fri, 27 May 2011 17:00:08 +0000 (10:00 -0700)]
tools: Fix unused variable for Huawei audio settings

13 years agogdbus: Remove unused result variable from g_dbus_pending_success
Szymon Janc [Tue, 10 May 2011 13:58:04 +0000 (15:58 +0200)]
gdbus: Remove unused result variable from g_dbus_pending_success

13 years agogatchat: Fix unused variable cases
Marcel Holtmann [Fri, 27 May 2011 16:52:31 +0000 (09:52 -0700)]
gatchat: Fix unused variable cases

13 years agosmsutil: Fix missing error handling for strtol function
Marcel Holtmann [Fri, 27 May 2011 16:48:45 +0000 (09:48 -0700)]
smsutil: Fix missing error handling for strtol function

13 years agogsmdial: Send escape sequence followed by ATH/ATO
Denis Kenzior [Wed, 25 May 2011 10:32:05 +0000 (05:32 -0500)]
gsmdial: Send escape sequence followed by ATH/ATO

This functionality can be triggered by sending SIGUSR1 / SIGUSR2 to
gsmdial.  e.g. kill -10 <pid> and kill -12 <pid>

13 years agoppp_net: Keep valgrind happy
Denis Kenzior [Wed, 25 May 2011 10:30:38 +0000 (05:30 -0500)]
ppp_net: Keep valgrind happy

13 years agogathdlc: Fix memory leak
Denis Kenzior [Wed, 25 May 2011 10:30:17 +0000 (05:30 -0500)]
gathdlc: Fix memory leak

13 years agogatppp: Set the suspend function in open / listen
Denis Kenzior [Wed, 25 May 2011 10:22:58 +0000 (05:22 -0500)]
gatppp: Set the suspend function in open / listen

In case it was set before calling these functions

13 years agoemulator: Reflow ato implementation logic
Denis Kenzior [Wed, 25 May 2011 09:54:41 +0000 (04:54 -0500)]
emulator: Reflow ato implementation logic

13 years agoemulator: add ATO implementation
Guillaume Zajac [Fri, 20 May 2011 09:38:15 +0000 (11:38 +0200)]
emulator: add ATO implementation

13 years agoemulator: Make sure to cleanup on forceful exit
Denis Kenzior [Tue, 24 May 2011 18:45:36 +0000 (13:45 -0500)]
emulator: Make sure to cleanup on forceful exit

13 years agoemulator: simplify ath callback
Denis Kenzior [Tue, 24 May 2011 18:45:26 +0000 (13:45 -0500)]
emulator: simplify ath callback

13 years agoexamples: Add a simple private-network driver
Denis Kenzior [Tue, 24 May 2011 18:20:31 +0000 (13:20 -0500)]
examples: Add a simple private-network driver

13 years agoinclude: Declare typedef as a function pointer
Denis Kenzior [Tue, 24 May 2011 18:20:04 +0000 (13:20 -0500)]
include: Declare typedef as a function pointer

13 years agoemulator: Update to the new GAtPPP API
Denis Kenzior [Sun, 22 May 2011 13:10:09 +0000 (08:10 -0500)]
emulator: Update to the new GAtPPP API

13 years agotest-server: Update to the new GAtPPP API
Denis Kenzior [Tue, 24 May 2011 16:13:05 +0000 (11:13 -0500)]
test-server: Update to the new GAtPPP API

13 years agocdmamodem: Update to the new GAtPPP API
Denis Kenzior [Tue, 24 May 2011 16:12:38 +0000 (11:12 -0500)]
cdmamodem: Update to the new GAtPPP API

13 years agoatmodem: Update to new GAtPPP api
Denis Kenzior [Tue, 24 May 2011 16:12:13 +0000 (11:12 -0500)]
atmodem: Update to new GAtPPP api

13 years agogsmdial: Update to new API
Denis Kenzior [Tue, 24 May 2011 16:11:59 +0000 (11:11 -0500)]
gsmdial: Update to new API

13 years agogatppp: Refactor PPP API
Denis Kenzior [Tue, 24 May 2011 13:08:34 +0000 (08:08 -0500)]
gatppp: Refactor PPP API

Remove the series of constructors which take a GIOChannel directly.
These weren't used.

This change also allows the construction of the PPP object and filling
in various pertinent information without starting the HDLC processing.
The client must now use g_at_ppp_open() for the client side or
g_at_ppp_listen() for the server side to start the true PPP session.
The previous owner of the GAtIO object must be suspended beforehand.

13 years agogatppp: Make sure to clean up guard_timeout_source
Denis Kenzior [Sun, 22 May 2011 13:34:21 +0000 (08:34 -0500)]
gatppp: Make sure to clean up guard_timeout_source