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

13 years agodoc: typo in radio-settings-api
Bertrand Aygon [Tue, 8 Mar 2011 13:10:12 +0000 (14:10 +0100)]
doc: typo in radio-settings-api

13 years agotest: Add missing properties to test-call-settings
Bertrand Aygon [Fri, 4 Mar 2011 10:25:28 +0000 (11:25 +0100)]
test: Add missing properties to test-call-settings

13 years agotest: Allow specifiying the modem
Bertrand Aygon [Fri, 4 Mar 2011 10:22:53 +0000 (11:22 +0100)]
test: Allow specifiying the modem

in test/test-call-settings

13 years agoAUTHORS: Mention Bertrand's contributions
Denis Kenzior [Tue, 8 Mar 2011 19:18:34 +0000 (13:18 -0600)]
AUTHORS: Mention Bertrand's contributions

13 years agotest: Allow test/test-call-settings to exit
Bertrand Aygon [Fri, 4 Mar 2011 09:53:36 +0000 (10:53 +0100)]
test: Allow test/test-call-settings to exit

if new value is equal to actual value

13 years agohuawei: do not check for NULL pointer
Lucas De Marchi [Fri, 4 Mar 2011 13:10:13 +0000 (10:10 -0300)]
huawei: do not check for NULL pointer

cb_data_new() uses g_new0(), hence there's no need to check the return
value being NULL.

13 years agombmmodem: do not check for NULL pointer
Lucas De Marchi [Fri, 4 Mar 2011 13:10:14 +0000 (10:10 -0300)]
mbmmodem: do not check for NULL pointer

cb_data_new() uses g_new0(), hence there's no need to check the return
value being NULL.

13 years agogisi: M6 coding style violation corrections
Antti Paila [Fri, 4 Mar 2011 08:28:44 +0000 (10:28 +0200)]
gisi: M6 coding style violation corrections

13 years agombmmodem: don't let chat open after fd is sent
Lucas De Marchi [Thu, 3 Mar 2011 22:23:27 +0000 (19:23 -0300)]
mbmmodem: don't let chat open after fd is sent

Instead of using a GAtChat, just use a GIOChannel and close it as soon
as its fd is sent to core.

13 years agodoc: Add basic information about hardware support
Marcel Holtmann [Thu, 3 Mar 2011 22:46:57 +0000 (14:46 -0800)]
doc: Add basic information about hardware support

13 years agoste: Add support for multiple AT channels
Lasse Kunnasluoto [Thu, 3 Mar 2011 11:21:51 +0000 (13:21 +0200)]
ste: Add support for multiple AT channels

13 years agoste: Minor style fixes
Denis Kenzior [Thu, 3 Mar 2011 19:38:32 +0000 (13:38 -0600)]
ste: Minor style fixes

13 years agoste: Reset have_sim appropriately
Jussi Kangas [Thu, 3 Mar 2011 11:45:12 +0000 (13:45 +0200)]
ste: Reset have_sim appropriately

13 years agoisimodem: removed unused NETWORK_TIMEOUT
George Matveev [Tue, 1 Mar 2011 15:44:41 +0000 (16:44 +0100)]
isimodem: removed unused NETWORK_TIMEOUT

13 years agoisimodem: Use alignment helper macro
Aki Niemi [Thu, 3 Mar 2011 19:34:41 +0000 (21:34 +0200)]
isimodem: Use alignment helper macro

13 years agoisiusb: add message-waiting
Jukka Saunamaki [Thu, 3 Mar 2011 08:47:24 +0000 (10:47 +0200)]
isiusb: add message-waiting

13 years agogisi: Make cursor a 16bit unsigned
Aki Niemi [Thu, 3 Mar 2011 17:05:10 +0000 (19:05 +0200)]
gisi: Make cursor a 16bit unsigned

This is to match subblock length when long header format is in use.

13 years agogisi: Consumer functions for ISI message iterator
Antti Paila [Thu, 3 Mar 2011 07:22:39 +0000 (09:22 +0200)]
gisi: Consumer functions for ISI message iterator