Re: [PATCH 5/6] Implement service provisioning via dbus

2011-03-09 Thread Samuel Ortiz
Hi Henri, On Thu, Feb 24, 2011 at 04:03:19PM +0200, Henri Bragge wrote: > +static DBusMessage *provision_service(DBusConnection *conn, DBusMessage *msg, > + void *data) > +{ > + int err; > + > + DBG("conn %p", conn); > + > + err = __connman_service_p

Re: [PATCH 4/6] config: Export a function to load service configs

2011-03-09 Thread Samuel Ortiz
Hi Henri, On Thu, Feb 24, 2011 at 04:03:18PM +0200, Henri Bragge wrote: > __connman_config_load_service function can be used by other parts of > ConnMan core to load service configurations, which can later be used > for service provisioning. > > Within config.c, a special field (from_fs) will be

Re: [PATCH 2/6] config: Fix service configuration update

2011-03-09 Thread Samuel Ortiz
Hi Henri, On Thu, Feb 24, 2011 at 04:03:16PM +0200, Henri Bragge wrote: > Service config should not be replaced after update. > --- > src/config.c |7 ++- > 1 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/src/config.c b/src/config.c > index e4dfcd9..dcef4e5 100644 > ---

Re: [PATCH] Unconditionally Remove Timeouts When DBus Says to Do So

2011-03-09 Thread Marcel Holtmann
Hi Grant, > Address an issue in which connman incorrectly handles DBus main > loop timeouts by only removing timeouts that are not enabled when > DBus requests a timeout removal. > > Please see http://lists.connman.net/pipermail/connman/2011-March/004147.html > for more information. > --- > gdb

Re: dbus + eap support

2011-03-09 Thread Henri Bragge
Hi, On Wed, 2011-03-09 at 05:38 +0100, lynxis wrote: > hey, > > is connman supporting wpa1/2 eap (peap + mschap2) over dbus ? > what need to be done for it ? Currently EAP settings are provided via configuration files as described in doc/config-format.txt. However, I made a proposal to enable pr

RE: [PATCH 6to4 v3 7/7] 6to4: Check the connectivity via tunnel after creating it.

2011-03-09 Thread Jukka.Rissanen
Hi Samuel, ext Samuel Ortiz wrote: > Hi Jukka, > >> +PKG_CHECK_MODULES(GIO, gio-2.0 >= 2.22.2) >> +AC_SUBST(GIO_CFLAGS) >> +AC_SUBST(GIO_LIBS) >> + > So I think this patch should be rewritten to use the gweb APIs. It > would be a lot cleaner. It will take care of the resolving parts for > example

RE: [PATCH 6to4 v3 3/7] 6to4: Add 6to4 tunnel support.

2011-03-09 Thread Jukka.Rissanen
Hi Samuel, ext Samuel Ortiz wrote: > Hi Jukka, > > On Mon, Feb 21, 2011 at 03:38:20PM +0200, Jukka Rissanen wrote: > >> +/* Note that addattr32(), addattr_l(), rtnl_close(), rtnl_open() and >> + * rtnl_talk() are from libnetlink.c that is found in iproute2 >> +package + * and copyright by Alexey

RE: [PATCH 6to4 v3 1/7] doc: Add description about 6to4 tunnelling.

2011-03-09 Thread Jukka.Rissanen
Hi Samuel, ext Samuel Ortiz wrote: > Hi Jukka, > > On Mon, Feb 21, 2011 at 03:38:18PM +0200, Jukka Rissanen wrote: >> --- >> doc/service-api.txt | 11 +++ >> 1 files changed, 11 insertions(+), 0 deletions(-) >> >> diff --git a/doc/service-api.txt b/doc/service-api.txt index >> 9695059

[PATCH 2/2] tethering: Using /proc/sys/net/bridge to detect the support of bridge

2011-03-09 Thread martin . xu
From: Martin Xu If bridge is built in kernel, /sys/module/bridge can not be used to detect the support of bridge. --- src/tethering.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tethering.c b/src/tethering.c index 705f5ee..27f4b0d 100644 --- a/src/tethering.c

[PATCH 1/2] tethering: Add wifi interface to bridge after carrier on

2011-03-09 Thread martin . xu
From: Martin Xu When changing wifi from STA to AP the interface needs to be closed and then opened. Only after the interface is opened and detected carrier, the interface can be added to bridge. --- plugins/wifi.c | 42 +- 1 files changed, 33 insertions(