RE: [PATCH 1/3] technology: Set default offlinemode as FALSE

2011-08-29 Thread Wang, Yu A
Hi Alok, >-Original Message- >From: connman-boun...@connman.net >[mailto:connman-boun...@connman.net] On Behalf Of alok barsode >Sent: Monday, August 29, 2011 4:07 PM >To: connman@connman.net >Subject: Re: [PATCH 1/3] technology: Set default offlinemode as FALSE > >Hi, > >On Mon, Aug 29, 2

RE: [PATCH 2/3] technology: Remove technology when this type devices are unplugged

2011-08-29 Thread Wang, Yu A
Hi Alok, >-Original Message- >From: connman-boun...@connman.net >[mailto:connman-boun...@connman.net] On Behalf Of alok barsode >Sent: Monday, August 29, 2011 4:11 PM >To: connman@connman.net >Subject: Re: [PATCH 2/3] technology: Remove technology when this type devices >are unplugged > >H

[PATCH 11/11] todo: removed wispr task.

2011-08-29 Thread Tomasz Bursztyka
--- TODO | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/TODO b/TODO index ef7f31b..69dde48 100644 --- a/TODO +++ b/TODO @@ -26,16 +26,6 @@ Core See http://www.mail-archive.com/connman@connman.net/msg01653.html -- WiSPR support - - Priority: Medium -

[PATCH 10/11] test: added Username/Password input support in simple-agent.

2011-08-29 Thread Tomasz Bursztyka
--- test/simple-agent | 61 ++--- 1 files changed, 53 insertions(+), 8 deletions(-) diff --git a/test/simple-agent b/test/simple-agent index b0990de..cda9693 100755 --- a/test/simple-agent +++ b/test/simple-agent @@ -14,6 +14,8 @@ class Agent(dbus

[PATCH 09/11] wispr: requesting login input through the agent.

2011-08-29 Thread Tomasz Bursztyka
--- src/wispr.c | 76 +++ 1 files changed, 76 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index dd093bc..05c3ec6 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -65,6 +65,10 @@ struct connman_wispr_portal_context {

[PATCH 07/11] wispr: handle WISPr messages and apply relevant states.

2011-08-29 Thread Tomasz Bursztyka
--- src/wispr.c | 157 --- 1 files changed, 139 insertions(+), 18 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index 4cda5ed..dd093bc 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -45,6 +45,13 @@ struct connman_wispr_message {

[PATCH 08/11] agent: added Username/Password request input logic.

2011-08-29 Thread Tomasz Bursztyka
--- src/agent.c | 132 - src/connman.h |4 +- src/service.c |2 +- 3 files changed, 135 insertions(+), 3 deletions(-) diff --git a/src/agent.c b/src/agent.c index 56217ef..1c982ed 100644 --- a/src/agent.c +++ b/src/agent.c @@ -257

[PATCH 06/11] wispr: added WISPr XML content parser.

2011-08-29 Thread Tomasz Bursztyka
--- src/wispr.c | 220 +++ 1 files changed, 220 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index 9e3b0e3..4cda5ed 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -32,6 +32,19 @@ #define STATUS_URL "http://www.con

[PATCH 04/11] wispr: proxy lookup and web context setup.

2011-08-29 Thread Tomasz Bursztyka
--- src/wispr.c | 97 +++ 1 files changed, 97 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index fe3c77c..9d056bc 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -24,12 +24,21 @@ #endif #include +#include + +#in

[PATCH 05/11] wispr: added portal web request and result handling logic.

2011-08-29 Thread Tomasz Bursztyka
--- src/wispr.c | 91 +++ 1 files changed, 91 insertions(+), 0 deletions(-) diff --git a/src/wispr.c b/src/wispr.c index 9d056bc..9e3b0e3 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -39,6 +39,7 @@ struct connman_wispr_portal_context {

[PATCH 03/11] wispr: adding wispr logic entries in service and wpad.

2011-08-29 Thread Tomasz Bursztyka
--- src/service.c | 13 +++-- src/wpad.c|6 ++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/service.c b/src/service.c index 5624dcd..ae9a09f 100644 --- a/src/service.c +++ b/src/service.c @@ -4078,6 +4078,8 @@ static int __connman_service_indicate_state

[PATCH 01/11] location: deleted location support and portal plugin.

2011-08-29 Thread Tomasz Bursztyka
--- Makefile.am|6 +- Makefile.plugins | 12 -- configure.ac |6 - include/location.h | 78 -- plugins/portal.c | 239 -- src/connman.h | 11 -- src/location.c | 294 -

[PATCH 02/11] wispr: adding structures and start/stop functions.

2011-08-29 Thread Tomasz Bursztyka
--- src/connman.h |3 ++ src/wispr.c | 113 + 2 files changed, 116 insertions(+), 0 deletions(-) diff --git a/src/connman.h b/src/connman.h index 302da84..b2ae057 100644 --- a/src/connman.h +++ b/src/connman.h @@ -289,6 +289,9 @@ void

[PATCH 00/11] WISPr support - version 6

2011-08-29 Thread Tomasz Bursztyka
Hi, Still same patchset, according to latest master HEAD. One small indentation fix in patch 8. Tomasz Bursztyka (11): location: deleted location support and portal plugin. wispr: adding structures and start/stop functions. wispr: adding wispr logic entries in service and wpad. wispr: pr

[PATCH] resolver: Do not overwrite existing entries in /etc/resolv.conf

2011-08-29 Thread Jukka Rissanen
--- Hi, it is very annoying when connman clears /etc/resolv.conf and removes users own settings there. This patch remembers user settings (if dnsproxy is not in use i.e., -r option is being used) and does not remove them unnecessarily. Jukka src/resolver.c | 60 ++

[PATCH] resolver: Fix memory leak when resolver is stopped.

2011-08-29 Thread Jukka Rissanen
--- Hi, I noticed that resolver memory is not released when using -r connman option (dnsproxy is disabled). Jukka src/resolver.c | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/src/resolver.c b/src/resolver.c index 59defd4..7d15c14 10064

[PATCH_v2 5/7] ippool: Add API to notify when IP is externally assigned

2011-08-29 Thread Guillaume Zajac
--- src/connman.h |6 src/ippool.c| 76 +++ src/tethering.c |9 +++--- 3 files changed, 87 insertions(+), 4 deletions(-) diff --git a/src/connman.h b/src/connman.h index 47f29b7..7f113f9 100644 --- a/src/connman.h +++ b/src/

[PATCH_v2 7/7] ipconfig: Add IP pool notifier call

2011-08-29 Thread Guillaume Zajac
--- src/ipconfig.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/src/ipconfig.c b/src/ipconfig.c index aa8274c..f025956 100644 --- a/src/ipconfig.c +++ b/src/ipconfig.c @@ -55,6 +55,8 @@ struct connman_ipconfig { int ipv6_privacy_config;

[PATCH_v2 4/7] tethering: Use IP pool API with DHCP

2011-08-29 Thread Guillaume Zajac
--- src/tethering.c | 43 +-- 1 files changed, 29 insertions(+), 14 deletions(-) diff --git a/src/tethering.c b/src/tethering.c index e310cf0..75dcce2 100644 --- a/src/tethering.c +++ b/src/tethering.c @@ -49,11 +49,6 @@ #define BRIDGE_PROC_DIR "/proc/sy

[PATCH_v2 3/7] tethering: Use IP pool API with private network

2011-08-29 Thread Guillaume Zajac
--- src/tethering.c | 16 ++-- 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/tethering.c b/src/tethering.c index 0357530..e310cf0 100644 --- a/src/tethering.c +++ b/src/tethering.c @@ -58,9 +58,6 @@ #define DEFAULT_MTU1500 -#define PRIVATE_NETWORK_IP "1

[PATCH_v2 6/7] tethering: Add notification callback implementation

2011-08-29 Thread Guillaume Zajac
--- src/tethering.c | 25 + 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/src/tethering.c b/src/tethering.c index c1a10ee..8940528 100644 --- a/src/tethering.c +++ b/src/tethering.c @@ -329,6 +329,12 @@ static void disable_nat(const char *interface)

[PATCH_v2 2/7] ippool-test: Add binary to test ippool

2011-08-29 Thread Guillaume Zajac
--- Makefile.am |5 +- tools/ippool-test.c | 311 +++ 2 files changed, 315 insertions(+), 1 deletions(-) create mode 100644 tools/ippool-test.c diff --git a/Makefile.am b/Makefile.am index 12c8237..f5aa4f7 100644 --- a/Makefile.am +++

[PATCH_v2 1/7] ippool: Add IP pool layer

2011-08-29 Thread Guillaume Zajac
--- Makefile.am |3 +- src/connman.h | 14 src/ippool.c | 218 + src/main.c|2 + 4 files changed, 236 insertions(+), 1 deletions(-) create mode 100644 src/ippool.c diff --git a/Makefile.am b/Makefile.am index de634c6.

[PATCH_v2 0/7] IP pool implementation

2011-08-29 Thread Guillaume Zajac
Hi, Change log from v1: - Add notifier implementation. - Add notification callback for DHCP and private network. - A static and dynamic range can be specififed while allocating IP blocks. TODO: Add management of bigger than 254 addresses blocks. Guillaume Zajac

Re: [PATCH 2/3] technology: Remove technology when this type devices are unplugged

2011-08-29 Thread alok barsode
Hi, On Mon, Aug 29, 2011 at 10:48 AM, Yu A Wang wrote: > Fix unable to enable/disable 3G service after unplug/plug in again > > Fix BMC#13547 > --- > src/technology.c |5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/src/technology.c b/src/technology.c > index a0

Re: [PATCH 1/3] technology: Set default offlinemode as FALSE

2011-08-29 Thread Marcel Holtmann
Hi Alok, > > If user forget to turnoff offlinmode, all device will be always offline > > after restart connmand or reboot, it may confuse the user. > > --- > > src/technology.c |2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/src/technology.c b/src/technology.c

Re: [PATCH 1/3] technology: Set default offlinemode as FALSE

2011-08-29 Thread alok barsode
Hi, On Mon, Aug 29, 2011 at 10:48 AM, Yu A Wang wrote: > If user forget to turnoff offlinmode, all device will be always offline > after restart connmand or reboot, it may confuse the user. > --- > src/technology.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/s

[PATCH 3/3] ofono: Remove 3G network after disable 3G modem

2011-08-29 Thread Yu A Wang
Fix BMC#22745 still see 3G service after disable cellular --- plugins/ofono.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/plugins/ofono.c b/plugins/ofono.c index 060cd8e..5c32a3d 100644 --- a/plugins/ofono.c +++ b/plugins/ofono.c @@ -317,11 +317,14 @@ static int mode

[PATCH 2/3] technology: Remove technology when this type devices are unplugged

2011-08-29 Thread Yu A Wang
Fix unable to enable/disable 3G service after unplug/plug in again Fix BMC#13547 --- src/technology.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/technology.c b/src/technology.c index a067d68..187d2f0 100644 --- a/src/technology.c +++ b/src/technology.c @@ -75

[PATCH 1/3] technology: Set default offlinemode as FALSE

2011-08-29 Thread Yu A Wang
If user forget to turnoff offlinmode, all device will be always offline after restart connmand or reboot, it may confuse the user. --- src/technology.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/technology.c b/src/technology.c index 96d64af..a067d68 100644 --- a/