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

13 years agoisimodem: Fix call-forwarding driver
Aki Niemi [Thu, 3 Mar 2011 16:35:28 +0000 (18:35 +0200)]
isimodem: Fix call-forwarding driver

Message length was incorrectly calculated. Also some cleanups.

13 years agoisimodem: Add missing codepoints
Aki Niemi [Thu, 3 Mar 2011 16:34:41 +0000 (18:34 +0200)]
isimodem: Add missing codepoints

Not used; mostly for debugging purposes.

13 years agou8500: Create wgmodem2.5 drivers
Aki Niemi [Thu, 3 Mar 2011 13:39:06 +0000 (15:39 +0200)]
u8500: Create wgmodem2.5 drivers

13 years agoisimodem: Refactor SSN driver
Aki Niemi [Thu, 3 Mar 2011 13:37:52 +0000 (15:37 +0200)]
isimodem: Refactor SSN driver

13 years agoisimodem: Move SS related codepoints to ss.h
Aki Niemi [Thu, 3 Mar 2011 13:37:38 +0000 (15:37 +0200)]
isimodem: Move SS related codepoints to ss.h

13 years agoisimodem: Use existing call SS codepoints
Aki Niemi [Thu, 3 Mar 2011 15:30:25 +0000 (17:30 +0200)]
isimodem: Use existing call SS codepoints

13 years agoisimodem: wgmodem2.5 added to ssn
Jessica Nilsson [Wed, 23 Feb 2011 11:43:25 +0000 (12:43 +0100)]
isimodem: wgmodem2.5 added to ssn

13 years agoisimodem: Refactor call-forwarding driver
Aki Niemi [Thu, 3 Mar 2011 11:25:25 +0000 (13:25 +0200)]
isimodem: Refactor call-forwarding driver

13 years agoisimodem: Fix nit in call-barring
Aki Niemi [Thu, 3 Mar 2011 11:25:10 +0000 (13:25 +0200)]
isimodem: Fix nit in call-barring

13 years agoisimodem: wgmodem2.5 added to call-forwarding
Jessica Nilsson [Wed, 23 Feb 2011 11:43:24 +0000 (12:43 +0100)]
isimodem: wgmodem2.5 added to call-forwarding

13 years agoisimodem: Refactor call barring driver
Aki Niemi [Thu, 3 Mar 2011 08:46:23 +0000 (10:46 +0200)]
isimodem: Refactor call barring driver

13 years agoisimodem: Change type for BSC argument
Aki Niemi [Thu, 3 Mar 2011 08:45:21 +0000 (10:45 +0200)]
isimodem: Change type for BSC argument

13 years agoisimodem: SS_GSM_BARRING_INFO added
Jessica Nilsson [Wed, 23 Feb 2011 11:43:23 +0000 (12:43 +0100)]
isimodem: SS_GSM_BARRING_INFO added

SS_GSM_BSC_INFO added.

13 years agoisimodem: Remove empty line in voicecall driver
Aki Niemi [Thu, 3 Mar 2011 08:14:32 +0000 (10:14 +0200)]
isimodem: Remove empty line in voicecall driver

13 years agoisiusb: Create wgmodem2.5 driver as well
Aki Niemi [Thu, 3 Mar 2011 08:08:45 +0000 (10:08 +0200)]
isiusb: Create wgmodem2.5 driver as well

13 years agoisimodem: Split voicecall into two drivers
Aki Niemi [Thu, 3 Mar 2011 07:39:29 +0000 (09:39 +0200)]
isimodem: Split voicecall into two drivers

These drivers share most of the modem ops, though, so they are still
in the same source file.

13 years agoisimodem: wgmodem2.5 added to voicecall
Jessica Nilsson [Wed, 23 Feb 2011 11:43:21 +0000 (12:43 +0100)]
isimodem: wgmodem2.5 added to voicecall

13 years agoisimodem: Refactor USSD driver
Aki Niemi [Wed, 2 Mar 2011 15:36:35 +0000 (17:36 +0200)]
isimodem: Refactor USSD driver

Clean up, and fix padding to be used always (does no harm).

13 years agoisimodem: Refactor and fix GPRS alignment
Aki Niemi [Wed, 2 Mar 2011 15:34:00 +0000 (17:34 +0200)]
isimodem: Refactor and fix GPRS alignment

13 years agoisimodem: Add helper macro for 32bit alignment
Aki Niemi [Wed, 2 Mar 2011 15:33:39 +0000 (17:33 +0200)]
isimodem: Add helper macro for 32bit alignment

13 years agoisimodem: wgmodem2.5 support in USSD
Jessica Nilsson [Wed, 23 Feb 2011 11:43:22 +0000 (12:43 +0100)]
isimodem: wgmodem2.5 support in USSD

13 years agoisimodem: Add CLIP/COLP/COLR support
Aki Niemi [Wed, 2 Mar 2011 14:53:15 +0000 (16:53 +0200)]
isimodem: Add CLIP/COLP/COLR support

Based on patches from:
Jessica Nilsson <jessica.j.nilsson@stericsson.com>

13 years agoisimodem: Add missing SS codepoints
Aki Niemi [Wed, 2 Mar 2011 14:51:54 +0000 (16:51 +0200)]
isimodem: Add missing SS codepoints

13 years agostk: Handle Refresh if also performed by modem
Andrzej Zaborowski [Sat, 19 Feb 2011 10:00:37 +0000 (11:00 +0100)]
stk: Handle Refresh if also performed by modem

13 years agoAUTHORS: Mention Miia's contributions
Denis Kenzior [Thu, 3 Mar 2011 04:53:56 +0000 (22:53 -0600)]
AUTHORS: Mention Miia's contributions

13 years agoatmodem: Add MBM vendor quirk for SIM record update
Miia Leinonen [Wed, 2 Mar 2011 12:56:52 +0000 (14:56 +0200)]
atmodem: Add MBM vendor quirk for SIM record update

13 years agoTODO: Mark pin check status task as done
Jussi Kangas [Wed, 2 Mar 2011 15:20:22 +0000 (17:20 +0200)]
TODO: Mark pin check status task as done

13 years agoAUTHORS: Mention Patrick's contributions
Denis Kenzior [Thu, 3 Mar 2011 04:49:56 +0000 (22:49 -0600)]
AUTHORS: Mention Patrick's contributions

13 years agogatchat: Optimize ringbuffer modulo operations
Patrick Porlan [Wed, 2 Mar 2011 10:15:35 +0000 (11:15 +0100)]
gatchat: Optimize ringbuffer modulo operations

Replace modulo operations in ringbuffer.c by masking operations.  This
is possible because the size of the ring buffers is always a power of
two, and yields a small performance improvement.

The improvement should be mostly visible on processors that implement
division in microcode (Atom) or lack a division instruction (ARM).

13 years agoudev: Fix detection of mbm with GPS capabilities
Denis Kenzior [Thu, 3 Mar 2011 04:38:29 +0000 (22:38 -0600)]
udev: Fix detection of mbm with GPS capabilities

13 years agoRelease 0.44 0.44
Marcel Holtmann [Wed, 2 Mar 2011 07:21:35 +0000 (23:21 -0800)]
Release 0.44

13 years agobuild: Fix wrong include of public header
Marcel Holtmann [Wed, 2 Mar 2011 07:07:50 +0000 (23:07 -0800)]
build: Fix wrong include of public header

13 years agombm: Allow mbm modems that don't have GPS
Denis Kenzior [Tue, 1 Mar 2011 21:48:55 +0000 (15:48 -0600)]
mbm: Allow mbm modems that don't have GPS

13 years agolocation-reporting: don't add client-exit watch too early
Lucas De Marchi [Mon, 28 Feb 2011 13:43:53 +0000 (10:43 -0300)]
location-reporting: don't add client-exit watch too early

Wait until driver gives us a file descriptor to start watching for
client exit. This fixes a race when client exits before the driver
calls location_reporting_enable_cb().

13 years agoTODO: set owner of 'Dial strings' task
Lucas De Marchi [Tue, 1 Mar 2011 14:25:39 +0000 (11:25 -0300)]
TODO: set owner of 'Dial strings' task

13 years agostk: Make sure to reset respond_on_exit
Andrzej Zaborowski [Mon, 28 Feb 2011 00:58:55 +0000 (01:58 +0100)]
stk: Make sure to reset respond_on_exit

This fixes a crash spotted by Lasse Kunnasluoto documented at
http://lists.ofono.org/pipermail/ofono/2011-February/009211.html

13 years agogsmdial: Introduce data_mode
Denis Kenzior [Mon, 28 Feb 2011 22:10:43 +0000 (16:10 -0600)]
gsmdial: Introduce data_mode

If we're in PPP mode, then don't send unsolicited notifications.  Only a
NO CARRIER is really allowed.

13 years agogatserver: Tweak use of g_at_server_suspend/resume
Denis Kenzior [Mon, 28 Feb 2011 22:05:31 +0000 (16:05 -0600)]
gatserver: Tweak use of g_at_server_suspend/resume

13 years agotest-server: Make sure to send CONNECT
Denis Kenzior [Mon, 28 Feb 2011 22:04:21 +0000 (16:04 -0600)]
test-server: Make sure to send CONNECT

Before starting the ppp session we should make sure that the CONNECT
response has been sent on the wire.

13 years agogatserver: Exit garbage state on HDLC frame end
Denis Kenzior [Mon, 28 Feb 2011 20:29:07 +0000 (14:29 -0600)]
gatserver: Exit garbage state on HDLC frame end

13 years agogatppp: Try to detect no carrier conditions
Denis Kenzior [Mon, 28 Feb 2011 20:27:50 +0000 (14:27 -0600)]
gatppp: Try to detect no carrier conditions

13 years agogatppp: Delay signaling ppp_down
Denis Kenzior [Mon, 28 Feb 2011 20:26:26 +0000 (14:26 -0600)]
gatppp: Delay signaling ppp_down

Delay signaling of ppp_down until we exit the GAtHDLC read handler.
Otherwise exchanging the read handler on GAtIO might lead to funny
double consumption problems.