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

13 years agostk: fix issue with null data object
Andrzej Zaborowski [Fri, 11 Mar 2011 09:39:59 +0000 (10:39 +0100)]
stk: fix issue with null data object

This will let the caller correctly detect NULL alpha id.

13 years agodun_gw: Set GIOChannel to not close on unref
Guillaume Zajac [Fri, 11 Mar 2011 13:39:59 +0000 (14:39 +0100)]
dun_gw: Set GIOChannel to not close on unref

This fixes automatic GIOChannel closing when a bluetooth
connection is attempted.

13 years agohfp_ag: Remove unneeded return statement
Denis Kenzior [Fri, 11 Mar 2011 20:03:54 +0000 (14:03 -0600)]
hfp_ag: Remove unneeded return statement

13 years agotest: Add test-message-waiting
Bertrand Aygon [Wed, 9 Mar 2011 13:31:35 +0000 (14:31 +0100)]
test: Add test-message-waiting

Add a new test file to validate org.ofono.MessageWaiting interface

13 years agoisimodem: Crash while setting SCA
Arun Ravindran [Fri, 11 Mar 2011 12:49:55 +0000 (14:49 +0200)]
isimodem: Crash while setting SCA

13 years agoatmodem: fix PB reading when fields are omitted
Paavo Leinonen [Fri, 11 Mar 2011 12:25:47 +0000 (14:25 +0200)]
atmodem: fix PB reading when fields are omitted

Fix SIM PB reading when numeric fields have been omitted.

13 years agovoicecall: Move notification_ind registration
Denis Kenzior [Fri, 11 Mar 2011 19:29:10 +0000 (13:29 -0600)]
voicecall: Move notification_ind registration

Should be before ofono_voicecall_register to be consistent

13 years agovoicecall: Remove pointless whitespace
Denis Kenzior [Fri, 11 Mar 2011 19:28:02 +0000 (13:28 -0600)]
voicecall: Remove pointless whitespace

13 years agoisimodem: implement SSN handling
Andras Domokos [Fri, 4 Mar 2011 17:12:56 +0000 (19:12 +0200)]
isimodem: implement SSN handling

13 years agovoicecall: Minor nitpicks to previous commit
Denis Kenzior [Fri, 11 Mar 2011 19:24:52 +0000 (13:24 -0600)]
voicecall: Minor nitpicks to previous commit

13 years agoatmodem: implement SSN handling
Andras Domokos [Fri, 4 Mar 2011 17:12:48 +0000 (19:12 +0200)]
atmodem: implement SSN handling

13 years agovoicecall: Refactor held and mpty notify logic
Denis Kenzior [Fri, 11 Mar 2011 19:19:34 +0000 (13:19 -0600)]
voicecall: Refactor held and mpty notify logic

13 years agovoicecall: Minor whitespace fix for previous commit
Denis Kenzior [Fri, 11 Mar 2011 19:18:36 +0000 (13:18 -0600)]
voicecall: Minor whitespace fix for previous commit

13 years agovoicecall: implement SSN handling functions
Andras Domokos [Fri, 4 Mar 2011 17:12:38 +0000 (19:12 +0200)]
voicecall: implement SSN handling functions

13 years agovoicecall: add SSN function declarations
Andras Domokos [Fri, 4 Mar 2011 17:12:31 +0000 (19:12 +0200)]
voicecall: add SSN function declarations

13 years agossn: remove SSN atom completely
Andras Domokos [Fri, 4 Mar 2011 17:12:21 +0000 (19:12 +0200)]
ssn: remove SSN atom completely

13 years agogdbus: Unconditionally remove D-Bus timeouts
Grant Erickson [Thu, 3 Mar 2011 18:45:06 +0000 (10:45 -0800)]
gdbus: Unconditionally remove D-Bus timeouts

Address an issue in which the daemon incorrectly handles D-Bus main
loop timeouts by only removing timeouts that are not enabled when
D-Bus requests a timeout removal.

13 years agotest: display more properties in test-modem
Bertrand Aygon [Tue, 8 Mar 2011 15:08:41 +0000 (16:08 +0100)]
test: display more properties in test-modem

This includes Name, Online, Lockdown, etc.

13 years agodoc: other typos in radio-settings-api
Bertrand Aygon [Tue, 8 Mar 2011 13:18:05 +0000 (14:18 +0100)]
doc: other typos in radio-settings-api