[PATCH v3 0/2] USB tethering

2011-02-04 Thread Lucas, GuillaumeX
Hi, Following patch fix issues for USB tethering. Those patches was successfully tested in HW with latest version of connman and latest version of ofono. Patch Call __connman_technology_add_interface() after rtnl-newlink() from Martin is no more necessary with those patches. Regards,

[PATCH v3 1/2] technology: trigger technology creation by new interface

2011-02-04 Thread Lucas, GuillaumeX
From: Guillaume Lucas guillaumex.lu...@intel.com --- src/technology.c | 154 -- 1 files changed, 79 insertions(+), 75 deletions(-) diff --git a/src/technology.c b/src/technology.c index 7d89b2e..5ef3d10 100644 --- a/src/technology.c +++

ConnMan relicensing

2011-02-04 Thread Russell Dill
Has ConnMan every been relicensed (eg, distributed under a license other than the GPL) and/or does Intel have any plans to relicense ConnMan? Thanks. ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman

Re: [PATCH v3 1/2] technology: trigger technology creation by new interface

2011-02-04 Thread alok barsode
Hi Guillaume, On Fri, Feb 4, 2011 at 10:04 AM, Lucas, GuillaumeX guillaumex.lu...@intel.com wrote: From: Guillaume Lucas guillaumex.lu...@intel.com --- src/technology.c | 154 -- 1 files changed, 79 insertions(+), 75 deletions(-)

Re: [RFC 1/2] doc: Add service provisioning method in Manager API

2011-02-04 Thread Bragge Henri
Hi Samuel, On Thu, 2011-02-03 at 18:19 +0100, Samuel Ortiz wrote: --- doc/manager-api.txt | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/doc/manager-api.txt b/doc/manager-api.txt index 743ba18..430dec9 100644 --- a/doc/manager-api.txt

Re: [RFC 1/2] doc: Add service provisioning method in Manager API

2011-02-04 Thread Patrik Flykt
On Fri, 2011-02-04 at 11:41 +0200, ext Bragge Henri wrote: + same format as configuration files, see + config-format.txt. I think we talked about an XML file instead. In my opinion XML is overkill, and I'm afraid I wouldn't have time to implement it.

Re: [PATCH 1/3 v4] Allow to get the service for a location.

2011-02-04 Thread Samuel Ortiz
Hi Mohamed, On Thu, Feb 03, 2011 at 03:46:27PM -0800, Mohamed Abbas wrote: Add new function to return the service for a location. Ok, all 3 patches applied. Many thanks. Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/

Re: [PATCH v3 0/2] USB tethering

2011-02-04 Thread Samuel Ortiz
Hi Guillaume, On Fri, Feb 04, 2011 at 08:04:02AM +, Lucas, GuillaumeX wrote: Hi, Following patch fix issues for USB tethering. Those patches was successfully tested in HW with latest version of connman and latest version of ofono. Patch Call __connman_technology_add_interface()

Re: [RFC 1/2] doc: Add service provisioning method in Manager API

2011-02-04 Thread Samuel Ortiz
On Fri, Feb 04, 2011 at 12:00:36PM +0200, Patrik Flykt wrote: On Fri, 2011-02-04 at 11:41 +0200, ext Bragge Henri wrote: + same format as configuration files, see + config-format.txt. I think we talked about an XML file instead. In my

Re: ConnMan relicensing

2011-02-04 Thread Kalle Valo
Russell Dill ru...@asu.edu writes: Has ConnMan every been relicensed (eg, distributed under a license other than the GPL) and/or does Intel have any plans to relicense ConnMan? Relicensing connman would be difficult because there are so many contributors and you would need approval from all

Re: [RFC] doc: Add EAP login support in Agent API

2011-02-04 Thread Samuel Ortiz
Hi Henri, On Fri, Feb 04, 2011 at 11:40:00AM +0200, Bragge Henri wrote: I've seen such customizations for example in Nokia N900, where user is asked for Username Password in the former case and Response in the latter. Maybe instead of the literal phase2 method, additional Passphrase types

Re: ConnMan relicensing

2011-02-04 Thread Samuel Ortiz
Hi Russell, On Fri, Feb 04, 2011 at 01:11:08AM -0700, Russell Dill wrote: Has ConnMan every been relicensed (eg, distributed under a license other than the GPL) and/or does Intel have any plans to relicense ConnMan? Intel has no plans to relicense ConnMan. Cheers, Samuel. -- Intel Open

Re: [RFC 1/2] doc: Add service provisioning method in Manager API

2011-02-04 Thread Patrik Flykt
On Fri, 2011-02-04 at 11:49 +0100, ext Samuel Ortiz wrote: No, it was either config-format or an XML file. So let's go with config-format.txt then. Yes, I know. But I had to comment :-). In my view, an XML file would be simpler to distribute from a sysadmin point of view. But here again,

[PATCH v2 4/4] wifi: Check invalid key/passphrase in gsupplicant connect callback

2011-02-04 Thread patrik . flykt
From: Patrik Flykt patrik.fl...@nokia.com Use network struct as connect callback user data and set network error to CONNMAN_NETWORK_ERROR_INVALID_KEY if gsupplicant indicates key/passphrase error. For other errors 0 set network error to CONNMAN_NETWORK_ERROR_CONFIGURE_FAIL. --- plugins/wifi.c |

[PATCH v2 0/4] Handle gsupplicant invalid key/passphrase

2011-02-04 Thread patrik . flykt
From: Patrik Flykt patrik.fl...@nokia.com Hi, v2 rebases the patch set, uses 'strncmp' and removes single quotes (''). This patch set adds invalid key/passphrase detection in gsupplicant AddNetwork and SelectNetwork D-Bus method call return handling. The patches check for

Re: [PATCH ipv6 v1 04/14] service: Split service state to IPv4 and IPv6 parts.

2011-02-04 Thread Samuel Ortiz
Hi Jukka, On Mon, Jan 24, 2011 at 02:12:05PM +0200, Jukka Rissanen wrote: +static enum connman_service_state combine_state( + enum connman_service_state state_a, + enum connman_service_state state_b) { - switch

Re: [PATCH ipv6 v1 07/14] network: Enable IPv6 autoconf to change the service state to ready.

2011-02-04 Thread Samuel Ortiz
Hi Jukka, On Mon, Jan 24, 2011 at 02:12:08PM +0200, Jukka Rissanen wrote: --- src/network.c | 35 +++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/src/network.c b/src/network.c index 05ee0c1..0d620a2 100644 --- a/src/network.c +++

Re: [PATCH ipv6 v1 06/14] service: Only disconnect the service if both IPv4 and IPv6 states agree.

2011-02-04 Thread Samuel Ortiz
Hi Jukka, On Mon, Jan 24, 2011 at 02:12:07PM +0200, Jukka Rissanen wrote: @@ -3298,6 +3300,8 @@ int __connman_service_indicate_state(struct connman_service *service, if (state == CONNMAN_SERVICE_STATE_READY) { enum connman_service_proxy_method proxy_config; +

Re: [PATCH ipv6 v1 09/14] service: Set service state correctly when ipconfig is cleared.

2011-02-04 Thread Samuel Ortiz
Hi Jukka, On Mon, Jan 24, 2011 at 02:12:10PM +0200, Jukka Rissanen wrote: --- src/network.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/network.c b/src/network.c index d21f7b6..f1a6e38 100644 --- a/src/network.c +++ b/src/network.c @@ -1057,12

Re: [PATCH ipv6 v1 11/14] service: Check service state properly if user changes method.

2011-02-04 Thread Samuel Ortiz
Hi Jukka, On Mon, Jan 24, 2011 at 02:12:12PM +0200, Jukka Rissanen wrote: --- src/service.c | 30 -- 1 files changed, 28 insertions(+), 2 deletions(-) diff --git a/src/service.c b/src/service.c index b775d44..38f8f2f 100644 --- a/src/service.c +++

Re: [PATCH v2 1/4] gsupplicant: Report AddNetwork and SelectNetwork errors to caller

2011-02-04 Thread Samuel Ortiz
Hi Patrik, On Fri, Feb 04, 2011 at 03:14:19PM +0200, patrik.fl...@nokia.com wrote: From: Patrik Flykt patrik.fl...@nokia.com Call interface_connect_data callback when an error is reported for wpa_supplicant AddNetwork and SelectNetwork method calls. In the case of WPA-PSK or WEP key being

service API changes

2011-02-04 Thread Samuel Ortiz
Hi folks, Just a heads up for UI and apps developers working on top of ConnMan: As of ConnMan 0.69 (soon to be released), the service security property is no longer a string but an array of strings. For WiFi services, one of the string will contain the actual security protocol (none, wep, psk or

Connman Faults When Loading Bogus, Empty Profiles

2011-02-04 Thread Grant Erickson
I recently found a case in which: 1) Connman seems to create empty, strange profiles. 2) When start-up up on a subsequent occasion, connman faults when attempting to load and add these profiles. In the post-mortem, I found: drwxr-xr-x 3 root root 0Feb 4 12:00 .

[PATCH] Connman Faults When Loading Bogus, Empty Profiles

2011-02-04 Thread Grant Erickson
Ignore malformed profiles. That is, if there is no non-extension portion to the file (i.e. it is precisely named .profile), then ignore it. Passing such files to create_profile will result in a SIGABRT. Regards, Grant --- diff -aruN a/src/profile.c b/src/profile.c --- a/src/profile.c