platform/upstream/ofono.git
13 years agognss: Minor style tweak
Denis Kenzior [Fri, 25 Mar 2011 19:49:27 +0000 (14:49 -0500)]
gnss: Minor style tweak

13 years agognss: block send_element if we have no agent
Denis Kenzior [Fri, 25 Mar 2011 19:48:44 +0000 (14:48 -0500)]
gnss: block send_element if we have no agent

13 years agoofono.conf: add positioning agent interface
Jarko Poutiainen [Thu, 24 Mar 2011 13:46:35 +0000 (15:46 +0200)]
ofono.conf: add positioning agent interface

13 years agognssagent: Unify sending functions
Denis Kenzior [Fri, 25 Mar 2011 19:10:53 +0000 (14:10 -0500)]
gnssagent: Unify sending functions

13 years agognssagent: Minor style tweaks
Denis Kenzior [Fri, 25 Mar 2011 19:04:40 +0000 (14:04 -0500)]
gnssagent: Minor style tweaks

13 years agognss: Remove unneeded parameter to gnss_agent_new
Denis Kenzior [Fri, 25 Mar 2011 18:24:47 +0000 (13:24 -0500)]
gnss: Remove unneeded parameter to gnss_agent_new

13 years agosrc: add gnss atom and agent implementation
Jarko Poutiainen [Thu, 24 Mar 2011 13:46:28 +0000 (15:46 +0200)]
src: add gnss atom and agent implementation

13 years agosrc: add atom type for gnss
Jarko Poutiainen [Thu, 24 Mar 2011 13:46:27 +0000 (15:46 +0200)]
src: add atom type for gnss

13 years agoinclude: add gnss.h file
Jarko Poutiainen [Thu, 24 Mar 2011 13:46:26 +0000 (15:46 +0200)]
include: add gnss.h file

13 years agodbus: add gnss interface definition
Jarko Poutiainen [Thu, 24 Mar 2011 13:46:25 +0000 (15:46 +0200)]
dbus: add gnss interface definition

13 years agogatsyntax: Support echo of empty lines
Denis Kenzior [Fri, 25 Mar 2011 22:26:31 +0000 (17:26 -0500)]
gatsyntax: Support echo of empty lines

13 years agogatsyntax: Re-name enum a proper way
Denis Kenzior [Fri, 25 Mar 2011 22:04:33 +0000 (17:04 -0500)]
gatsyntax: Re-name enum a proper way

13 years agobuild: Improve D-Bus checks for cross-compilation
Marcel Holtmann [Mon, 28 Mar 2011 17:21:12 +0000 (19:21 +0200)]
build: Improve D-Bus checks for cross-compilation

13 years agodoc: Mark sim retry counters as done
Bertrand Aygon [Mon, 28 Mar 2011 13:54:21 +0000 (15:54 +0200)]
doc: Mark sim retry counters as done

Update overview.txt: add SIM retry counter support information.

13 years agodoc: update overview.txt: mark ipv6 as wip
Bertrand Aygon [Mon, 28 Mar 2011 13:47:01 +0000 (15:47 +0200)]
doc: update overview.txt: mark ipv6 as wip

update GPRS features with IPv6 context support in progress

13 years agodoc: Update overview.txt: move USSD to implemented
Bertrand Aygon [Mon, 28 Mar 2011 13:37:55 +0000 (15:37 +0200)]
doc: Update overview.txt: move USSD to implemented

move USSD from work in progress section to implemented section.

13 years agoRevert dun: Add ATX command in emulator (X0 only)
Denis Kenzior [Mon, 28 Mar 2011 16:18:25 +0000 (11:18 -0500)]
Revert dun: Add ATX command in emulator (X0 only)

This reverts commit 420ec0146a3757a013478337cf3aede6d04de730.

ATX is already implemented in gatchat/gatserver.c

13 years agogatserver: add v250 ATL and ATM commands
Olivier Guiter [Fri, 25 Mar 2011 10:07:00 +0000 (11:07 +0100)]
gatserver: add v250 ATL and ATM commands

13 years agodun: Add ATX command in emulator (X0 only)
Olivier Guiter [Thu, 24 Mar 2011 15:29:51 +0000 (16:29 +0100)]
dun: Add ATX command in emulator (X0 only)

13 years agovoicecall: fix voicecalls_release_queue
Frédéric Danis [Thu, 24 Mar 2011 17:43:22 +0000 (18:43 +0100)]
voicecall: fix voicecalls_release_queue

voicecalls_release_queue uses struct ofono_call instead of
struct voicecall (which is used in "calls" list parameter and
function voicecalls_release_next)

13 years agogatserver: add AT&F command
Olivier Guiter [Thu, 24 Mar 2011 10:03:14 +0000 (11:03 +0100)]
gatserver: add AT&F command

13 years agoTODO: remove me from ofono_sim_ready_notify()
Pekka Pessi [Thu, 24 Mar 2011 11:45:15 +0000 (13:45 +0200)]
TODO: remove me from ofono_sim_ready_notify()

__ofono_sim_recheck_pin() is fine by me

13 years agotest: Don't go over 80 characters per line
Denis Kenzior [Thu, 24 Mar 2011 18:24:38 +0000 (13:24 -0500)]
test: Don't go over 80 characters per line

13 years agotest: add a script to set any GPRS context property
Mika Liljeberg [Thu, 24 Mar 2011 12:32:24 +0000 (14:32 +0200)]
test: add a script to set any GPRS context property

13 years agogprs: fix memory leak
Mika Liljeberg [Thu, 24 Mar 2011 12:32:23 +0000 (14:32 +0200)]
gprs: fix memory leak

13 years agoAUTHORS: Mention Philippe's contributions
Denis Kenzior [Thu, 24 Mar 2011 16:52:25 +0000 (11:52 -0500)]
AUTHORS: Mention Philippe's contributions

13 years agodoc: Complete possible errors for stk
Philippe Nunes [Thu, 24 Mar 2011 16:42:49 +0000 (17:42 +0100)]
doc: Complete possible errors for stk

13 years agoisimodem: Fix indentation in SIM driver
Aki Niemi [Thu, 24 Mar 2011 12:56:48 +0000 (14:56 +0200)]
isimodem: Fix indentation in SIM driver

13 years agoisimodem/sim: added PIN and SIM state handling
Pekka Pessi [Thu, 24 Mar 2011 11:45:14 +0000 (13:45 +0200)]
isimodem/sim: added PIN and SIM state handling

Using PN_SECURITY resource to obtain PIN statuses.

Using ofono_sim_ready_notify() aka __ofono_sim_recheck_pin() to report
the ready state.

13 years agoisimodem: fix network registration for older modems
Mika Liljeberg [Thu, 24 Mar 2011 12:14:09 +0000 (14:14 +0200)]
isimodem: fix network registration for older modems

13 years agocommon: fix buffer length in phone_number_to_string
Frédéric Danis [Wed, 23 Mar 2011 17:16:35 +0000 (18:16 +0100)]
common: fix buffer length in phone_number_to_string

update buffer length related to OFONO_MAX_PHONE_NUMBER_LENGTH change
78c1e96bf9601b5e5d31d04413baa1265a1c284f

13 years agogatserver: add ATZ command
Olivier Guiter [Wed, 23 Mar 2011 16:31:24 +0000 (17:31 +0100)]
gatserver: add ATZ command

13 years agoemulator: add support for +GCAP
Olivier Guiter [Wed, 23 Mar 2011 16:08:45 +0000 (17:08 +0100)]
emulator: add support for +GCAP

13 years agostk: Fix getenv failure case
Jeevaka Badrappan [Wed, 23 Mar 2011 11:42:04 +0000 (04:42 -0700)]
stk: Fix getenv failure case

13 years agounit: fix broken alpha id unit test cases
Jeevaka Badrappan [Sat, 19 Mar 2011 07:09:23 +0000 (00:09 -0700)]
unit: fix broken alpha id unit test cases

13 years agovoicecall: Fix pause character validation
Lucas De Marchi [Fri, 18 Mar 2011 23:39:47 +0000 (20:39 -0300)]
voicecall: Fix pause character validation

manager_tone() converts all tone chars to uppercase. Since everywhere we
check for both 'p' and 'P' for a pause, tone_queue() should also check
both before claiming the string is invalid.

13 years agosms: Rework tx_state logic
Denis Kenzior [Fri, 18 Mar 2011 23:29:42 +0000 (18:29 -0500)]
sms: Rework tx_state logic

Using the enum which has a value of zero (PENDING) by default created
some problems.  Use a slightly modified version of the logic and consume
less storage to boot.

13 years agodoc: Add Cancel method to Message API
Denis Kenzior [Fri, 18 Mar 2011 21:18:43 +0000 (16:18 -0500)]
doc: Add Cancel method to Message API

13 years agosms: Move CancelMessage(o) method
Denis Kenzior [Fri, 18 Mar 2011 21:12:40 +0000 (16:12 -0500)]
sms: Move CancelMessage(o) method

Move this method to the Message Cancel() method instead and introduce
new __ofono_sms_txq_cancel API

13 years agosms: remove check for impossible NULL condition
Lucas De Marchi [Fri, 4 Feb 2011 19:40:38 +0000 (17:40 -0200)]
sms: remove check for impossible NULL condition

tx_next() must never be called with entry == NULL and currently it
was already being dereferenced before making this check. Thus just
remove it.

13 years agoTODO: mark task 'cancel pending SMS' as done
Lucas De Marchi [Fri, 4 Feb 2011 19:40:37 +0000 (17:40 -0200)]
TODO: mark task 'cancel pending SMS' as done

13 years agosms: allow message submission to be cancelled
Lucas De Marchi [Fri, 4 Feb 2011 19:40:35 +0000 (17:40 -0200)]
sms: allow message submission to be cancelled

Based on patch from Yang Gu <gyagp0@gmail.com>

13 years agosms: Don't leak memory, even in bizarre conditions
Denis Kenzior [Fri, 18 Mar 2011 20:41:07 +0000 (15:41 -0500)]
sms: Don't leak memory, even in bizarre conditions

13 years agosms: factor out 'remove entry' from tx_finished()
Lucas De Marchi [Fri, 4 Feb 2011 19:40:34 +0000 (17:40 -0200)]
sms: factor out 'remove entry' from tx_finished()

Refactor tx_finished() and create a function to remove an entry from the
tx queue. This function will be used also when a message is cancelled.
Thus, handle the case in which state is MESSAGE_STATE_CANCELLED as well.

Based on patch from Yang Gu <gyagp0@gmail.com>

13 years agomessage: add cancelled state
Lucas De Marchi [Fri, 4 Feb 2011 19:40:33 +0000 (17:40 -0200)]
message: add cancelled state

Based on patch from Yang Gu <gyagp0@gmail.com>

13 years agoexamples: handle cancelled history status
Lucas De Marchi [Fri, 4 Feb 2011 19:40:32 +0000 (17:40 -0200)]
examples: handle cancelled history status

13 years agohistory: add cancelled status
Lucas De Marchi [Fri, 4 Feb 2011 19:40:31 +0000 (17:40 -0200)]
history: add cancelled status

Based on patch from Yang Gu <gyagp0@gmail.com>

13 years agoatmodem: fix issue in time reporting with ifx
Jeevaka Badrappan [Fri, 18 Mar 2011 16:48:48 +0000 (09:48 -0700)]
atmodem: fix issue in time reporting with ifx

13 years agosmsutil: fix a memory leak
Bertrand Aygon [Fri, 18 Mar 2011 13:18:02 +0000 (14:18 +0100)]
smsutil: fix a memory leak

This was reported by cppcheck.

13 years agogisi: Fix PN_SIM reachability check decoding
Aki Niemi [Thu, 17 Mar 2011 10:52:56 +0000 (12:52 +0200)]
gisi: Fix PN_SIM reachability check decoding

13 years agohfp: Fix some whitespace issues
Denis Kenzior [Thu, 17 Mar 2011 21:11:02 +0000 (16:11 -0500)]
hfp: Fix some whitespace issues

13 years agoAUTHORS: Mention Christian's contributions
Denis Kenzior [Thu, 17 Mar 2011 19:27:44 +0000 (14:27 -0500)]
AUTHORS: Mention Christian's contributions

13 years agotest: add Settings dict parsing for CDMA ConnMan
Christian Lam [Fri, 21 Jan 2011 23:06:50 +0000 (15:06 -0800)]
test: add Settings dict parsing for CDMA ConnMan

13 years agotest: Rename cdma connman scripts and add to build
Denis Kenzior [Thu, 17 Mar 2011 19:18:56 +0000 (14:18 -0500)]
test: Rename cdma connman scripts and add to build

13 years agotest: add CDMA Connection Manager support scripts
Christian Lam [Fri, 21 Jan 2011 23:06:49 +0000 (15:06 -0800)]
test: add CDMA Connection Manager support scripts

13 years agocdmamodem: add CDMA Connection Manager support
Christian Lam [Fri, 21 Jan 2011 23:06:48 +0000 (15:06 -0800)]
cdmamodem: add CDMA Connection Manager support

13 years agonokiacdma: add CDMA Connection Manager support
Christian Lam [Fri, 21 Jan 2011 23:06:47 +0000 (15:06 -0800)]
nokiacdma: add CDMA Connection Manager support

13 years agosrc: add initial CDMA Connection Manager support
Christian Lam [Fri, 21 Jan 2011 23:06:46 +0000 (15:06 -0800)]
src: add initial CDMA Connection Manager support

13 years agocdma-connman: add CDMA Connection Manager support
Christian Lam [Fri, 21 Jan 2011 23:06:45 +0000 (15:06 -0800)]
cdma-connman: add CDMA Connection Manager support

13 years agodbus: add CDMA Connection Manager interface
Christian Lam [Fri, 21 Jan 2011 23:06:44 +0000 (15:06 -0800)]
dbus: add CDMA Connection Manager interface

13 years agosms: limit the sms sending retry
Jeevaka Badrappan [Thu, 17 Mar 2011 17:20:31 +0000 (10:20 -0700)]
sms: limit the sms sending retry

If sending of SMS fails, then oFono core will try to resend it after
n * 5 seconds(n = retry count). Due to this, conformance test case
27.22.8 sequence 1.4 fails(refer 31.124 spec). Plan is to limit the
failue codes for which the retry will be done. This patch allows the
retry if the failure is only due to network timeout. For all the
other failure cases, retry is not done.

13 years agostk: fix issue with Get Inkey variable timeout
Jeevaka Badrappan [Wed, 16 Mar 2011 17:57:30 +0000 (10:57 -0700)]
stk: fix issue with Get Inkey variable timeout

13 years agoringbuffer: Switch ringbuffer to g_slice allocator
Patrick Porlan [Wed, 16 Mar 2011 09:24:23 +0000 (10:24 +0100)]
ringbuffer: Switch ringbuffer to g_slice allocator

This should allow for more efficient handling of equally sized
buffers, in terms of alignment and recycling.

13 years agocbs: ignore any CBMs without a proper size
Bertrand Aygon [Wed, 16 Mar 2011 09:12:46 +0000 (10:12 +0100)]
cbs: ignore any CBMs without a proper size

Cell Broadcasts are always fixed size, so improve PDU length check

13 years agocall-forwarding: Don't update from sim if cached
Denis Kenzior [Wed, 16 Mar 2011 02:22:35 +0000 (21:22 -0500)]
call-forwarding: Don't update from sim if cached

If we have already cached the settings, then there's no need to update
them from the SIM, even if a SIM refresh was performed.

13 years agocall-forwarding: update EFs changed by SIM refresh
Andrzej Zaborowski [Sat, 19 Feb 2011 03:54:29 +0000 (04:54 +0100)]
call-forwarding: update EFs changed by SIM refresh

13 years agomessage-waiting: Watch for sim file refreshes
Andrzej Zaborowski [Sat, 19 Feb 2011 03:54:28 +0000 (04:54 +0100)]
message-waiting: Watch for sim file refreshes

13 years agosim: Handle an error condition better
Denis Kenzior [Wed, 16 Mar 2011 01:51:28 +0000 (20:51 -0500)]
sim: Handle an error condition better

13 years agosim: Watch for changes to EFimg files and EFiidf
Andrzej Zaborowski [Sat, 19 Feb 2011 03:54:27 +0000 (04:54 +0100)]
sim: Watch for changes to EFimg files and EFiidf

13 years agosim: Watch for changes to EFmsisdn and EFsdn
Andrzej Zaborowski [Sat, 19 Feb 2011 03:54:27 +0000 (04:54 +0100)]
sim: Watch for changes to EFmsisdn and EFsdn

13 years agosim: Split out sim context into early and main
Andrzej Zaborowski [Sat, 19 Feb 2011 03:54:27 +0000 (04:54 +0100)]
sim: Split out sim context into early and main

And watch for relevant file changes on the early context.

13 years agophonesim: Add support for ipv6 / dual contexts
Denis Kenzior [Fri, 11 Mar 2011 17:15:04 +0000 (11:15 -0600)]
phonesim: Add support for ipv6 / dual contexts

13 years agogprs: Core changes for IPv6 support
Denis Kenzior [Fri, 11 Mar 2011 04:07:47 +0000 (22:07 -0600)]
gprs: Core changes for IPv6 support

13 years agotest: Update list-contexts to the new API
Denis Kenzior [Fri, 11 Mar 2011 04:07:21 +0000 (22:07 -0600)]
test: Update list-contexts to the new API

13 years agodoc: Add IPV6 settings to ConnectionContext API
Denis Kenzior [Fri, 11 Mar 2011 03:42:14 +0000 (21:42 -0600)]
doc: Add IPV6 settings to ConnectionContext API

13 years agophonesim: add IPv6 support
Mika Liljeberg [Mon, 7 Mar 2011 14:02:39 +0000 (16:02 +0200)]
phonesim: add IPv6 support

13 years agostemodem: update to new gprs context interface
Mika Liljeberg [Mon, 7 Mar 2011 14:02:38 +0000 (16:02 +0200)]
stemodem: update to new gprs context interface

13 years agoifxmodem: update to new gprs context interface
Mika Liljeberg [Mon, 7 Mar 2011 14:02:37 +0000 (16:02 +0200)]
ifxmodem: update to new gprs context interface

13 years agohsomodem: update to new gprs context interface
Mika Liljeberg [Mon, 7 Mar 2011 14:02:36 +0000 (16:02 +0200)]
hsomodem: update to new gprs context interface

13 years agombmmodem: update to new gprs context interface
Mika Liljeberg [Mon, 7 Mar 2011 14:02:35 +0000 (16:02 +0200)]
mbmmodem: update to new gprs context interface

13 years agohuaweimodem: update to new gprs context interface
Mika Liljeberg [Mon, 7 Mar 2011 14:02:34 +0000 (16:02 +0200)]
huaweimodem: update to new gprs context interface

13 years agoatmodem: update to new gprs context interface
Mika Liljeberg [Mon, 7 Mar 2011 14:02:33 +0000 (16:02 +0200)]
atmodem: update to new gprs context interface

13 years agoisimodem: IPv6 support
Mika Liljeberg [Mon, 7 Mar 2011 14:02:32 +0000 (16:02 +0200)]
isimodem: IPv6 support

13 years agoinclude: Add support for IPv6 context settings
Denis Kenzior [Fri, 11 Mar 2011 00:36:37 +0000 (18:36 -0600)]
include: Add support for IPv6 context settings

13 years agogprs: Move settings structure
Denis Kenzior [Fri, 11 Mar 2011 00:32:06 +0000 (18:32 -0600)]
gprs: Move settings structure

Move the settings structure from pri_context to ofono_gprs_context in
preparation for new IPv6 support APIs.

13 years agodoc: Update connman-api with dual stack contexts
Denis Kenzior [Thu, 10 Mar 2011 00:43:12 +0000 (18:43 -0600)]
doc: Update connman-api with dual stack contexts

13 years agogprs: Add support for dual stack contexts
Denis Kenzior [Thu, 10 Mar 2011 00:42:35 +0000 (18:42 -0600)]
gprs: Add support for dual stack contexts

13 years agoinclude: Add support for dual stack contexts
Denis Kenzior [Thu, 10 Mar 2011 00:42:06 +0000 (18:42 -0600)]
include: Add support for dual stack contexts

13 years agogprs: Also reset active in release_context
Denis Kenzior [Fri, 4 Mar 2011 04:07:21 +0000 (22:07 -0600)]
gprs: Also reset active in release_context

13 years agogprs: factor out common code
Mika Liljeberg [Mon, 7 Mar 2011 14:02:27 +0000 (16:02 +0200)]
gprs: factor out common code

13 years agoRelease 0.45 0.45
Marcel Holtmann [Tue, 15 Mar 2011 20:42:53 +0000 (13:42 -0700)]
Release 0.45

13 years agoPPP: Optimize write buffer management
Patrick Porlan [Tue, 8 Mar 2011 15:58:17 +0000 (16:58 +0100)]
PPP: Optimize write buffer management

Extend the write buffer handling in gathdlc.c to minimize stalling and
process switching during large PPP transfers. The single write buffer
is replaced by a queue of buffers, allowing for much larger emission
windows without hugely impacting memory consumption. This reduces the
time required to send 50 MB between a couple of local PPP interfaces on
my laptop from ~53s to ~3s.

13 years agohuawei: Fix huawei_disconnect function issue
Martin Xu [Wed, 9 Mar 2011 05:27:22 +0000 (13:27 +0800)]
huawei: Fix huawei_disconnect function issue

huawei_disconnect is used to recovery the io and gprs context when
io error happends, see commit 39382730d7758b093ca6271f4e9dea875fa04b3a
However, io error not only happends at PPP disconnect, in theory it
can happends at any situation. I also observed that it happens when modem
go into offline mode at my Huawei EM770W modem. in this case, gprs should
not be reopened.

13 years agoemulator: fix some indentation issues
Guillaume Zajac [Tue, 15 Mar 2011 13:10:46 +0000 (14:10 +0100)]
emulator: fix some indentation issues

13 years agotest: Fix up whitespace & indentation issues
Denis Kenzior [Mon, 14 Mar 2011 14:47:42 +0000 (09:47 -0500)]
test: Fix up whitespace & indentation issues

13 years agotest: Restructure CBS tests
Miia Leinonen [Mon, 7 Mar 2011 11:33:02 +0000 (13:33 +0200)]
test: Restructure CBS tests

Add new centralised and reinforced CBS test script.

13 years agotest: Add modem argument to hangup-all
Bertrand Aygon [Mon, 14 Mar 2011 13:07:32 +0000 (14:07 +0100)]
test: Add modem argument to hangup-all

Add the possibility to specify the modem to hangup on

13 years agotest: Add modem argument to dial-number
Bertrand Aygon [Mon, 14 Mar 2011 13:06:28 +0000 (14:06 +0100)]
test: Add modem argument to dial-number

Add the possibility to specify the modem to dial on

13 years agosimfs: fix GLib-CRITICAL warning
Guillaume Lucas [Wed, 9 Mar 2011 12:32:23 +0000 (12:32 +0000)]
simfs: fix GLib-CRITICAL warning

During modem release, when there is no SIM card, a GLib-CRITICAL
issue occurs during the free of the sim fs context.

13 years agoTODO: mark 'GPS power control atom' task as done
Lucas De Marchi [Fri, 11 Mar 2011 20:29:33 +0000 (17:29 -0300)]
TODO: mark 'GPS power control atom' task as done