bluetooth plugin

2010-10-27 Thread zhangwen363
Hi Marcel >From the bluetooth plugin for PAN on connman, I know that connman can watch >bluetooth information And I want to know can we expand the bluetooth plugin to watch the all blueZ change like as adapter change or device change or other profile change. So when we develop bluetooth applicati

RE: [PATCH] Start wpa_supplican is service not running.

2010-10-27 Thread leena.gunda
Below is the modified patch to invoke the Introspect method with autostart enabled in non-blocking mode and enable wifi plugin if we get the Introspect data successfully. Please note that I cannot use the existing supplicant_dbus_method_call API to invoke the Introspect method since the autosta

Re: [PATCH] Fix string array memory leaks during plugin loading

2010-10-27 Thread Samuel Ortiz
Hi Johan, On Wed, Oct 27, 2010 at 04:23:10PM -0400, johan.hedb...@gmail.com wrote: > From: Johan Hedberg Patch applied, thanks for spotting that. Cheers, Samuel. > --- > src/plugin.c |3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/src/plugin.c b/src/plugin.c >

Re: [PATCH 1/1] Fix deadlock when disassociate while associating.

2010-10-27 Thread mohamed abbas
Hi Kalle On Thu, 2010-10-28 at 00:39 +0300, Kalle Valo wrote: > Hi Mohamed, > > Mohamed Abbas writes: > > > while associating then the user disconnect the network this will > > cause the following: > > 1- __connman_service_disconnect() which will call > > 2- __connman_network_disconnect() whic

[PATCH] Fix deadlock when disassociate while associating.

2010-10-27 Thread Mohamed Abbas
while associating then the user disconnect the network this will cause the following: 1- __connman_service_disconnect() which will call 2- __connman_network_disconnect() which call 3 err = network->driver->disconnect(network); 4- connman_network_set_connected(network

Re: [PATCH 1/1] Fix deadlock when disassociate while associating.

2010-10-27 Thread Kalle Valo
Hi Mohamed, Mohamed Abbas writes: > while associating then the user disconnect the network this will > cause the following: > 1- __connman_service_disconnect() which will call > 2-__connman_network_disconnect() which call > 3 err = network->driver->disconnect(network); > 4-

[PATCH 5/5] Add proxy API support.

2010-10-27 Thread mabbas
From: Mohamed Abbas Add the API needed to support proxy when request a page. --- gweb/gweb.c |5 - gweb/gweb.h |2 +- tools/web-test.c |2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gweb/gweb.c b/gweb/gweb.c index eea6276..004f33a 100644 --- a/gwe

[PATCH 4/5] Add support new gweb in web_test.

2010-10-27 Thread mabbas
From: Mohamed Abbas Support new GWeb format. --- tools/web-test.c | 21 - 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/tools/web-test.c b/tools/web-test.c index 253948f..3f88a2d 100644 --- a/tools/web-test.c +++ b/tools/web-test.c @@ -34,6 +34,8 @@ static

[PATCH 3/5] Change header files to support gweb.

2010-10-27 Thread mabbas
From: Mohamed Abbas Add new API to support http download. --- gweb/gweb.h | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/gweb/gweb.h b/gweb/gweb.h index 1ab2a9f..61e488c 100644 --- a/gweb/gweb.h +++ b/gweb/gweb.h @@ -38,10 +38,19 @@ typedef enum { G_

[PATCH 1/5] Extract content from HTTP response basic.

2010-10-27 Thread mabbas
From: Mohamed Abbas Add basic http response parsing, iclude header and basic body. It also add user to receive notification on header line and body arrival. --- gweb/gweb.c | 208 ++- 1 files changed, 206 insertions(+), 2 deletions(-) dif

[PATCH 2/5] Support chunk encoding in http response body.

2010-10-27 Thread mabbas
From: Mohamed Abbas Add support to handle chunk encoding in response data. --- gweb/gweb.c | 152 +++ 1 files changed, 152 insertions(+), 0 deletions(-) diff --git a/gweb/gweb.c b/gweb/gweb.c index 6280c89..eea6276 100644 --- a/gweb/gweb.

[PATCH] Fix string array memory leaks during plugin loading

2010-10-27 Thread johan . hedberg
From: Johan Hedberg --- src/plugin.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/plugin.c b/src/plugin.c index 6aa8278..fa861ec 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -190,6 +190,9 @@ int __connman_plugin_init(const char *pattern, const char *exclude)

[PATCH 2/2] gsupplicant: remove network from wpa_s when disconnecting

2010-10-27 Thread Kalle Valo
gsupplicant adds networks to wpasupplicant but never removes them. So after a time wpasupplicant will contain a lot of disabled networks. This doesn't seem to create any problems, but it's still better to make sure that wpasupplicant configuration is clean. --- gsupplicant/supplicant.c | 38

[PATCH 0/2] gsupplicant: remove disconnected networks from wpa_s

2010-10-27 Thread Kalle Valo
Here are two simple patches to remove disconnected networks from wpasupplicant. I had few patches on top of master branch, but rebasing to master should be easy. Please comment. Kalle Valo (2): gsupplicant: store network path gsupplicant: remove network from wpa_s when disconnecting gsuppli

[PATCH 1/2] gsupplicant: store network path

2010-10-27 Thread Kalle Valo
Store wpasupplicant network path so that it can be removed later. --- gsupplicant/supplicant.c | 31 +++ 1 files changed, 23 insertions(+), 8 deletions(-) diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c index 4b62ad3..0954e27 100644 --- a/gsupplicant

Re: [PATCH 1/2] wifi: add a disconnected timer

2010-10-27 Thread Kalle Valo
Samuel Ortiz writes: > Hi Kalle, Hi Samuel, > On Tue, Oct 26, 2010 at 07:30:53PM +0300, Kalle Valo wrote: >> In a big network, for example at Ubuntu Developer Summit which has >10 APs, >> connman and wpasupplicant got out of sync very easily. connman claimed it >> was connected even though wpas

Re: [PATCH] Start wpa_supplican is service not running.

2010-10-27 Thread Kalle Valo
writes: > Hi Kalle, > >>> + reply = dbus_connection_send_with_reply_and_block(connection, >>> + message, -1, &error); > >> connman must never block, instead we need to use async interfaces. > > I intentionally made the call blocking since the system_available will

Re: Add OpenVPN Support

2010-10-27 Thread Daniel Wagner
Hi Samuel, On Wed, Oct 27, 2010 at 02:05:49AM +0200, Samuel Ortiz wrote: > Hi Daniel, > > On Tue, Oct 26, 2010 at 03:54:23PM +0200, Daniel Wagner wrote: > > Hi, > > > > yet another update on this patch. OpenVPN is now running, but I'm > > struggling with the settings. The OpenVPN server settings

Re: [PATCH] Fix BMC 8075 AP list gone when turning hotkey on and off

2010-10-27 Thread Samuel Ortiz
Hi Ying, On Thu, Oct 28, 2010 at 01:10:33PM +0800, ying.an.d...@intel.com wrote: > From: DengYingAn > > With wireless on booting, APs list is gone after turnning off and on. Back > ported from upstream with commit id 57536b8359c5c99f015cd97c597e2de82ce9144f > Patch applied to connman-stable, ag

Re: [PATCH] Fix BMC7915 Connman stucks by few rfkill key pressing

2010-10-27 Thread Samuel Ortiz
On Wed, Oct 27, 2010 at 11:09:47AM +0200, Samuel Ortiz wrote: > Hi Ying, > > On Thu, Oct 28, 2010 at 11:07:03AM +0800, ying.an.d...@intel.com wrote: > > From: DengYingAn > > > > Connman will be stuck after press few times of hotkey for wireless. > So this one applies against connman-stable, and

Re: [PATCH] Fix BMC7915 Connman stucks by few rfkill key pressing

2010-10-27 Thread Samuel Ortiz
Hi Ying, On Thu, Oct 28, 2010 at 11:07:03AM +0800, ying.an.d...@intel.com wrote: > From: DengYingAn > > Connman will be stuck after press few times of hotkey for wireless. So this one applies against connman-stable, and I applied it. If you want it to be applied against connman-stable-0.60, you'

Re: [PATCH] Add vpn.h into Makefile.plugin

2010-10-27 Thread Samuel Ortiz
Hi Martin, On Wed, Oct 27, 2010 at 11:00:36AM +0800, martin...@intel.com wrote: > From: Martin Xu > > So the file can be included into dist tarball, otherwise, the file > can not be found, and will block the building. Thanks, patch applied. Cheers, Samuel. -- Intel Open Source Technology Cent

[PATCH] Fix BMC 8074 fail to enable technology after rfkill

2010-10-27 Thread ying . an . deng
From: DengYingAn Fix the issue cannot enable technologies if devices are rfkilled. The unregistered device should not be powered down. --- src/device.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/device.c b/src/device.c index 4ea24d1..9d34079 100644 --- a/src/