[PATCH] Convert device->scan_interval to uint32.

2010-09-22 Thread lucio . maciel
From: Lucio Maciel Dbus-glib doesn't have a uint16 type, so a client written with it couldn't set the ScanInterval. --- doc/device-lowlevel-api.txt |2 +- include/types.h |1 + src/device.c|8 3 files changed, 6 insertions(+), 5 deletions(-) diff

Re: [PATCH v2] Support multiple interfaces on -i and -I cmdline option.

2010-09-22 Thread Samuel Ortiz
Hi Lucio, On Wed, Sep 22, 2010 at 02:54:32PM -0300, lucio.mac...@hp.com wrote: > From: Lucio Maciel > > Support multiple comma-separeted interfaces for -i and -I > command line option. E.g.: > -i eth*,wlan*,ppp* or -I virbr*,usb*,ppp* Looks good, thanks. Patch applied. Cheers, Samuel. -- Inte

[PATCH v2] Support multiple interfaces on -i and -I cmdline option.

2010-09-22 Thread lucio . maciel
From: Lucio Maciel Support multiple comma-separeted interfaces for -i and -I command line option. E.g.: -i eth*,wlan*,ppp* or -I virbr*,usb*,ppp* --- src/element.c | 33 + 1 files changed, 21 insertions(+), 12 deletions(-) diff --git a/src/element.c b/src/eleme

Re: [PATCH] Fix bug to remove vpn services when user turn offline.

2010-09-22 Thread Samuel Ortiz
Hi Mohamed, On Wed, Sep 22, 2010 at 04:35:35AM -0700, Mohamed Abbas wrote: > This patch will remove all vpn services on offline mode. It also > make sure it exit after releasing all resources like service ref. Patch applied, many thanks. Cheers, Samuel. -- Intel Open Source Technology Centre ht

Re: [PATCH v8 2/2] Add statistics ring buffer analyze tool

2010-09-22 Thread Samuel Ortiz
Hi Daniel, On Wed, Sep 22, 2010 at 01:19:15PM +0200, Daniel Wagner wrote: > From: Daniel Wagner > > This tool prints the statistic ring buffer. All your stats patches applied now. Thanks a lot for your work. Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/

Re: connmand scanning too much?

2010-09-22 Thread Lucio Maciel
Hi, On Wed, Sep 22, 2010 at 10:24, Gustavo Sverzut Barbieri wrote: > > got some time to try it now and it does not help. > > As I just rebooted the machine I know i did not disconnect from the > service and the router did not change wpa<->wpa2 meanwhile. But my > router does provide wpa+wpa2 for

Re: connmand scanning too much?

2010-09-22 Thread Gustavo Sverzut Barbieri
On Wed, Sep 22, 2010 at 9:53 AM, Gustavo Sverzut Barbieri wrote: > On Tue, Sep 21, 2010 at 11:28 AM, Lucio Maciel wrote: >> Hi, >> >> On 09/20/2010 11:51 AM, Samuel Ortiz wrote: this repeats forever... and I'm already connected to wifi on eth1 (broadcom-sta, "wl" driver). >>> >>> T

Re: connmand scanning too much?

2010-09-22 Thread Gustavo Sverzut Barbieri
On Tue, Sep 21, 2010 at 11:28 AM, Lucio Maciel wrote: > Hi, > > On 09/20/2010 11:51 AM, Samuel Ortiz wrote: >>> >>> this repeats forever... and I'm already connected to wifi on eth1 >>> (broadcom-sta, "wl" driver). >> >> That shouldn't happen, and I'm suspecting connmand is not triggering those >>

[PATCH v8 2/2] Add statistics ring buffer analyze tool

2010-09-22 Thread Daniel Wagner
From: Daniel Wagner This tool prints the statistic ring buffer. --- v8: - typo fixed - remove of unused max_len v7: - rename to stats-ringbuffer-dump - fix size_t printfs platform dependence - remove unnecesary remap functionality Makefile.am |3 +- tools/sta

Re: [PATCH 1/1] Fix ConnMan crashed while disable wifi device.

2010-09-22 Thread Samuel Ortiz
Hi Mohamed, On Mon, Sep 20, 2010 at 09:14:49PM -0700, Mohamed Abbas wrote: > This bug only happen at places where you have two or more AP with > same essid like if you are at school or work so you can roam > without loosing your connection. In this case in ConnMan will create > a network structur

Re: [PATCH v7 2/2] Add statistics ring buffer analyze tool

2010-09-22 Thread Daniel Wagner
On Wed, Sep 22, 2010 at 09:47:40AM +0200, Daniel Wagner wrote: > +struct stats_file { > + int fd; > + char *name; > + char *addr; > + size_t len; > + size_t max_len; > + > + /* cached values */ > + int max_nr; > + int nr; > + struct stats_record *first; > + s

Re: [PATCH v7 2/2] Add statistics ring buffer analyze tool

2010-09-22 Thread Daniel Wagner
On Wed, Sep 22, 2010 at 09:47:40AM +0200, Daniel Wagner wrote: > + if (get_hdr(file)->magic != MAGIC) { > + /* not fatal */ > + printf("No valied magic found\n"); > + } next round includes a typo fix... ___ connman mailing

Re: [PATCH] Update service security when changing from wpa -> wpa2.

2010-09-22 Thread Kalle Valo
Samuel Ortiz writes: > Hi Lucio, Hi Samuel and Lucio, > On Tue, Sep 21, 2010 at 04:01:17PM -0300, Lucio Maciel wrote: >> From: Lucio Maciel >> >> If the user changes the security of the AP from wpa to wpa2 >> or vice-versa, connman correctly updates the network sctruct >> but don't reflect it

[PATCH v7 2/2] Add statistics ring buffer analyze tool

2010-09-22 Thread Daniel Wagner
From: Daniel Wagner This tool prints the statistic ring buffer. --- v7: - rename to stats-ringbuffer-dump - fix size_t printfs platform dependence - remove unnecesary remap functionality Makefile.am |3 +- tools/stats-ringbuffer-dump.c | 340

[PATCH] Fix bug to remove vpn services when user turn offline.

2010-09-22 Thread Mohamed Abbas
This patch will remove all vpn services on offline mode. It also make sure it exit after releasing all resources like service ref. --- plugins/openconnect.c |5 +++-- src/provider.c| 23 --- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/plugins/