[PATCH] Tethering: Add the hidden Access Point

2013-05-21 Thread Chengyi Zhao
From: Chengyi Zhao Sometimes users need create the hidden Wi-Fi Access Point Signed-off-by: Chengyi Zhao --- doc/technology-api.txt |5 + gsupplicant/gsupplicant.h |7 +++ gsupplicant/supplicant.c |4 include/technology.h |3 ++- plugins/bluetooth.c

[PATCH] timeserver: Periodically wake up to recheck used timeserver

2013-05-21 Thread Patrik Flykt
The current situation is that a failed timeserver name resolution removes the timeserver immediately from the list of used timeservers and a failure to connect to the nameserver IP address will remove the timeserver after a 2 second delay. Currently no mechanism exists to re-create the list of name

[PATCH] Tethering: Add the hidden Access Point

2013-05-21 Thread Chengyi Zhao
From: Chengyi Zhao Sometimes users need create the hidden Wi-Fi Access Point. Because wpa_supplicant 2.0 has already added this hidden DBus interface (the code "int ignore_broadcast_ssid;" of the file config_ssid.h, etc), it is recommended to use wpa_supplicant 2.0 or later. Signed-off-by: Chen

Re: [PATCH] Tethering: Add the hidden Access Point

2013-05-21 Thread Patrik Flykt
Hi, I'm not sure we want the capability of hiding the SSID when tethering, let's figure out that one as well. Just about the patch: On Tue, 2013-05-21 at 18:39 +0800, Chengyi Zhao wrote: > From: Chengyi Zhao > > Sometimes users need create the hidden Wi-Fi Access Point. > > Because w

Re: [PATCH] Tethering: Add the hidden Access Point

2013-05-21 Thread Jukka Rissanen
Hi, On 21.05.2013 13:39, Chengyi Zhao wrote: From: Chengyi Zhao Sometimes users need create the hidden Wi-Fi Access Point. Because wpa_supplicant 2.0 has already added this hidden DBus interface (the code "int ignore_broadcast_ssid;" of the file config_ssid.h, etc), it is recommended to use w

Re: [PATCH] Tethering: Add the hidden Access Point

2013-05-21 Thread Marcel Holtmann
Hi Patrik, > I'm not sure we want the capability of hiding the SSID when tethering, > let's figure out that one as well. I do not think this is a good idea in the first place. Hidden SSID is the most stupid concept invented. It does not provide any extra security. Especially not if you have act

[PATCH] session: Fix service2bearer to return correct match all rule

2013-05-21 Thread Daniel Wagner
From: Daniel Wagner --- src/session.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/session.c b/src/session.c index db5eb2a..b0dca62 100644 --- a/src/session.c +++ b/src/session.c @@ -231,6 +231,7 @@ static char *service2bearer(enum connman_service_type type) case CONNMAN_SERVI

Re: [PATCH] Tethering: Add the hidden Access Point

2013-05-21 Thread Julien Massot
Hi Patrick, > I do not think this is a good idea in the first place. Hidden SSID is the > most stupid concept invented. It does not provide any extra security. > Especially not if you have actual clients connected. The SSID will be > resolved eventually if you do an air trace. And if you do not

Re: [PATCH] Tethering: Add the hidden Access Point

2013-05-21 Thread Stefan Schmidt
Hello. On Tue, 2013-05-21 at 17:17, Chengyi Zhao wrote: > From: Chengyi Zhao > > Sometimes users need create the hidden Wi-Fi Access Point Can you be more specific then sometimes users need this? I see no valid reason for a user setting up a "hidden" AP for tethering. Everytime I read this op

[PATCH] doc: Remove documentation for Technology IdleTimeout property

2013-05-21 Thread Patrik Flykt
IdleTimeout hasn't so far been implemented in any release and will be handled by other means if needed. --- doc/technology-api.txt |8 1 file changed, 8 deletions(-) diff --git a/doc/technology-api.txt b/doc/technology-api.txt index 92886e1..81adcbc 100644 --- a/doc/technology-api.tx

Re: [PATCH] doc: Remove documentation for Technology IdleTimeout property

2013-05-21 Thread Patrik Flykt
On Tue, 2013-05-21 at 22:07 +0300, Patrik Flykt wrote: > IdleTimeout hasn't so far been implemented in any release and will be > handled by other means if needed. Applied, documentation is now fixed. Patrik ___ connman mailing list connman@conn

Re: [PATCH] Tethering: Add the hidden Access Point

2013-05-21 Thread Stefan Schmidt
On Tue, 2013-05-21 at 18:19, Stefan Schmidt wrote: > Hello. > > On Tue, 2013-05-21 at 17:17, Chengyi Zhao wrote: > > From: Chengyi Zhao > > > > Sometimes users need create the hidden Wi-Fi Access Point > > > Can you be more specific then sometimes users need this? I see no > valid reason for a

Re: [PATCH] Tethering: Add the hidden Access Point

2013-05-21 Thread Chengyi Zhao
git://w1.fi/srv/git/hostap.git commit e62f4ed0df72987f874b9bc5c9fa8bec938133ac Author: Vivek Natarajan Date: Mon Feb 27 16:28:45 2012 +0200 Add support for hidden SSID in wpa_supplicant AP mode This also disables WPS support if hidden SSID is enabled in AP mode. Signed-off-by: Vi

Re: [PATCH] Tethering: Add the hidden Access Point

2013-05-21 Thread Chengyi Zhao
Hi Marcel, Hi Patrik, > > > I'm not sure we want the capability of hiding the SSID when tethering, > > let's figure out that one as well. > > I do not think this is a good idea in the first place. Hidden SSID is the > most stupid concept invented. It does not provide any extra security. > Especial

Re: [PATCH] Tethering: Add the hidden Access Point

2013-05-21 Thread Patrik Flykt
Hi, On Tue, 2013-05-21 at 21:17 +0100, Stefan Schmidt wrote: > Reading through the whole connman folder would have saved me from > sending this. At least others are feeling the same way. :) It is much better that people raise the concerns they have than keep silent, even if they share t

Re: [PATCH] Tethering: Add the hidden Access Point

2013-05-21 Thread Jukka Rissanen
Hi, I indeed noticed that code earlier. Unfortunately that commit does not add support for passing the variable via dbus. So some additional patches are required for dbus support. Cheers, Jukka On 22.05.2013 03:42, Chengyi Zhao wrote: git://w1.fi/srv/git/hostap.git commit e62f4ed0df72987f

[RFC v0] session: Use service iterator instead of match/creation callbacks

2013-05-21 Thread Daniel Wagner
From: Daniel Wagner When a new session is created we need to get the initial list of services which match the session AllowedBearers criteria. As soon the session is running add or removed services are tracked via the notifier interface. We concluded that exposing all the services is not really