Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."


Today's Topics:

   1. Re: When BackgroundScanning = false, connman's Scan() dbus
      method is broken (Jose Blanquicet)
   2. Re: When BackgroundScanning = false, connman's Scan() dbus
      method is broken (Daniel Wagner)
   3. ?I want you inside my head (Cliff McDiarmid)


----------------------------------------------------------------------

Message: 1
Date: Wed, 6 Sep 2017 21:02:42 +0200
From: Jose Blanquicet <[email protected]>
To: Daniel Wagner <[email protected]>
Cc: Jonah Petri <[email protected]>, Patrik Flykt
        <[email protected]>, Sam Nazarko <[email protected]>,
        [email protected]
Subject: Re: When BackgroundScanning = false, connman's Scan() dbus
        method is broken
Message-ID:
        <cafc8ij+jfc+cdrx8ojqs2dxz5xzpgkuwpu+xvym59ar4hqj...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hi Daniel,

On Mon, Sep 4, 2017 at 9:31 AM, Daniel Wagner <[email protected]> wrote:
> On 08/27/2017 04:48 PM, Jose Blanquicet wrote:
>> On Thu, Aug 24, 2017 at 7:33 PM, Jonah Petri <[email protected]> wrote:
>> In my initial idea I proposed to perform passive scan, no matter the
>> BackgroundScanning value, when user performs a Scan() D-Bus call to
>> ensure all networks are found. However, while trying to implement it
>> and due to the reasons I explained before, I realized that it could
>> also increase the auto-connection procedure with the default ConnMan's
>> configuration, i.e. BackgroundScanning enabled. Therefore, I am now
>> limiting this change to users who manually disabled
>> BackgroundScanning.
>>
>> Patrik, Daniel, what do you think?
>
> This behavior is wpa_s specific, right? IIRC, iwd handles all this stuff on
> its own.

Yes, it is. And yes, AFAIK iwd does; in fact the wifi plugin is the
only one who implements scan function, that's why I could modify its
parameters without affecting any other plugin. Maybe we should avoid
to modify the connman_device_driver and keep this modifications inside
wifi plugin which makes the patch simpler and we must mention in
documentation that by disabling this feature it could increase the
auto-connection time by very few seconds (because active scanning
method will not be use). I am not sure whether we should include the
last part within parenthesis or not.

> Anyway it's sound reasonably to me with the assumption that
> BackgroundScanning is enabled on most system.

Yes, but unfortunately I have to say that this is not the "ideal"
solution (Which would be much more complex). To do so, we should let
the current management of active and passive scanning as it is and
launch a delayed passive scan after the active one when user asks for
scanning. The rough steps would be:

1. User asks for scanning through a Technology.Scan() D-Bus call
2. ConnMan performs an active scan looking for the knwon-services read
from {STOREDIR}/connman/wifi_*
3. Give enough time to ConnMan in order to start auto-connect
procedure in case any of the knwon-services it was looking for is in
range. This step is the most important one because if we launch a new
scan right after then the previous scan is useless because its aim is
to perform a fast scan looking specifically for those knwon-services
and speed up the reconnection.
4. Otherwise, if ConnMan does not get connected (Any known-service is
in rage) then launch a passive scan.
6. Do not launch any additional scan until step (1) occurs again.

What do you suggest?

Best regards,

Jose Blanquicet


------------------------------

Message: 2
Date: Thu, 07 Sep 2017 10:53:18 +0200
From: Daniel Wagner <[email protected]>
To: Jose Blanquicet <[email protected]>
Cc: [email protected]
Subject: Re: When BackgroundScanning = false, connman's Scan() dbus
        method is broken
Message-ID: <[email protected]>
Content-Type: text/plain

Hi Jose,

Jose Blanquicet <[email protected]> writes:

> On Mon, Sep 4, 2017 at 9:31 AM, Daniel Wagner <[email protected]> wrote:
>> On 08/27/2017 04:48 PM, Jose Blanquicet wrote:
>>> On Thu, Aug 24, 2017 at 7:33 PM, Jonah Petri <[email protected]> wrote:
>>> In my initial idea I proposed to perform passive scan, no matter the
>>> BackgroundScanning value, when user performs a Scan() D-Bus call to
>>> ensure all networks are found. However, while trying to implement it
>>> and due to the reasons I explained before, I realized that it could
>>> also increase the auto-connection procedure with the default ConnMan's
>>> configuration, i.e. BackgroundScanning enabled. Therefore, I am now
>>> limiting this change to users who manually disabled
>>> BackgroundScanning.
>>>
>>> Patrik, Daniel, what do you think?
>>
>> This behavior is wpa_s specific, right? IIRC, iwd handles all this stuff on
>> its own.
>
> Yes, it is. And yes, AFAIK iwd does; in fact the wifi plugin is the
> only one who implements scan function, that's why I could modify its
> parameters without affecting any other plugin. Maybe we should avoid
> to modify the connman_device_driver and keep this modifications inside
> wifi plugin which makes the patch simpler and we must mention in
> documentation that by disabling this feature it could increase the
> auto-connection time by very few seconds (because active scanning
> method will not be use). I am not sure whether we should include the
> last part within parenthesis or not.

Agree, those wpa_s specific changes should not leak into the common code
of ConnMan.

>> Anyway it's sound reasonably to me with the assumption that
>> BackgroundScanning is enabled on most system.
>
> Yes, but unfortunately I have to say that this is not the "ideal"
> solution (Which would be much more complex). To do so, we should let
> the current management of active and passive scanning as it is and
> launch a delayed passive scan after the active one when user asks for
> scanning. The rough steps would be:
>
> 1. User asks for scanning through a Technology.Scan() D-Bus call
> 2. ConnMan performs an active scan looking for the knwon-services read
> from {STOREDIR}/connman/wifi_*
> 3. Give enough time to ConnMan in order to start auto-connect
> procedure in case any of the knwon-services it was looking for is in
> range. This step is the most important one because if we launch a new
> scan right after then the previous scan is useless because its aim is
> to perform a fast scan looking specifically for those knwon-services
> and speed up the reconnection.
> 4. Otherwise, if ConnMan does not get connected (Any known-service is
> in rage) then launch a passive scan.
> 6. Do not launch any additional scan until step (1) occurs again.
>
> What do you suggest?

It is a bit confusing with all the different strategies. Your
suggenstion makes sense since it should fix the initial bug report. The
tricky part will be step 3. How long is 'enough time' :)

Thanks,
Daniel


------------------------------

Message: 3
Date: Thu, 7 Sep 2017 13:20:10 +0100
From: "Cliff McDiarmid" <[email protected]>
To: "connman" <[email protected]>
Subject: ?I want you inside my head
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

Basically, I  want you to understand  my mindset.  Sure, this  is a bit of a 
?how-to? guide, but more importantly, I want you to really get an understanding 
of how  I think and why  I?ve built my  business the way I have.
If you can  start seeing  things from my perspective, the mysterious world of 
affiliate marketing will  start to open up to you.
Check it out 
http://www.meetprank.com/jobs_life_n2x.php?m=EY29ubm1hbkBjb25ubWFuLm5ldA--

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.01.org/pipermail/connman/attachments/20170907/146a79d3/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman


------------------------------

End of connman Digest, Vol 23, Issue 6
**************************************

Reply via email to