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: [PATCH v2] technology: Deny P2P finding if technology is
disabled (Jose Blanquicet)
2. Re: [PATCH v2] technology: Deny P2P finding if technology is
disabled (Daniel Wagner)
3. RE: [PATCH v2] technology: Deny P2P finding if technology is
disabled (Blanquicet-Melendez Jose (MM))
4. Re: [PATCH v2] technology: Deny P2P finding if technology is
disabled (Daniel Wagner)
5. [PATCH] service: Allow removing service in idle state
(Harish Jenny K N)
----------------------------------------------------------------------
Message: 1
Date: Tue, 14 Mar 2017 20:04:00 +0100
From: Jose Blanquicet <[email protected]>
To: Daniel Wagner <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH v2] technology: Deny P2P finding if technology is
disabled
Message-ID:
<cafc8ijlvn4_j0ytlbbi0jgu1pkd-u3lk5vbvprqdmm54_-z...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi Daniel,
On Mar 14, 2017 19:28, "Daniel Wagner" wrote:
Forgot to ask and I don't have any hardware with p2p support: Can p2p be
enabled and wifi disabled at the same time? If so, the patch below would
also need the wifi part.
No, if WiFi Technology is disabled then you do not even see P2P Technology.
Regards,
Jose Blanquicet
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.01.org/pipermail/connman/attachments/20170314/ccc3fa63/attachment-0001.html>
------------------------------
Message: 2
Date: Wed, 15 Mar 2017 07:31:54 +0100
From: Daniel Wagner <[email protected]>
To: Jose Blanquicet <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH v2] technology: Deny P2P finding if technology is
disabled
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed
Good Morning Jose,
On 03/14/2017 08:04 PM, Jose Blanquicet wrote:
> On Mar 14, 2017 19:28, "Daniel Wagner" wrote:
>
> Forgot to ask and I don't have any hardware with p2p support: Can
> p2p be enabled and wifi disabled at the same time? If so, the patch
> below would also need the wifi part.
>
>
> No, if WiFi Technology is disabled then you do not even see P2P Technology.
Thanks for clarification. Patch applied.
Thanks,
Daniel
------------------------------
Message: 3
Date: Wed, 15 Mar 2017 08:27:55 +0000
From: "Blanquicet-Melendez Jose (MM)"
<[email protected]>
To: Daniel Wagner <[email protected]>
Cc: "[email protected]" <[email protected]>, Jose Blanquicet
<[email protected]>
Subject: RE: [PATCH v2] technology: Deny P2P finding if technology is
disabled
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
Good morning Daniel,
> -----Original Message-----
> From: connman [mailto:[email protected]] On Behalf Of Daniel
> Wagner
> Sent: mercoled? 15 marzo 2017 07:32
> To: Jose Blanquicet
> Cc: [email protected]
> Subject: Re: [PATCH v2] technology: Deny P2P finding if technology is disabled
>
> Good Morning Jose,
>
> On 03/14/2017 08:04 PM, Jose Blanquicet wrote:
> > On Mar 14, 2017 19:28, "Daniel Wagner" wrote:
> >
> > Forgot to ask and I don't have any hardware with p2p support: Can
> > p2p be enabled and wifi disabled at the same time? If so, the patch
> > below would also need the wifi part.
> >
> >
> > No, if WiFi Technology is disabled then you do not even see P2P Technology.
>
> Thanks for clarification. Patch applied.
To be precise, disabling WiFi Technology means to stop any WiFi operation: STA,
AP and P2P. That's why you will not even see P2P Technology.
One question, the outgoing release was stopped?
Cheers,
Jose Blanquicet
VISITA IL NOSTRO SITO WEB! - VISIT OUR WEB SITE! www.magnetimarelli.com
Confidential Notice: This message - including its attachments - may contain
proprietary, confidential and/or legally protected information and is intended
solely for the use of the designated addressee(s) above. If you are not the
intended recipient be aware that any downloading, copying, disclosure,
distribution or use of the contents of the above information is strictly
prohibited. If you have received this communication by mistake, please forward
the message back to the sender at the email address above, delete the message
from all mailboxes and any other electronic storage medium and destroy all
copies. Disclaimer Notice: Internet communications cannot be guaranteed to be
safe or error-free. Therefore we do not assure that this message is complete or
accurate and we do not accept liability for any errors or omissions in the
contents of this message.
------------------------------
Message: 4
Date: Wed, 15 Mar 2017 09:54:13 +0100
From: Daniel Wagner <[email protected]>
To: "Blanquicet-Melendez Jose (MM)"
<[email protected]>
Cc: "[email protected]" <[email protected]>, Jose Blanquicet
<[email protected]>
Subject: Re: [PATCH v2] technology: Deny P2P finding if technology is
disabled
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252
On 03/15/17 09:27, Blanquicet-Melendez Jose (MM) wrote:
> One question, the outgoing release was stopped?
Well, after not hearing anything back for one week I decided to keep
going again with applying patches. Let's see when Marcel starts screaming :)
Thanks,
Daniel
------------------------------
Message: 5
Date: Wed, 15 Mar 2017 17:34:23 +0530
From: Harish Jenny K N <[email protected]>
To: <[email protected]>
Subject: [PATCH] service: Allow removing service in idle state
Message-ID:
<[email protected]>
Content-Type: text/plain
Currently only if the service state is CONNMAN_SERVICE_STATE_FAILURE,
the service is allowed to be removed. This commit allows removing the
service when service state is CONNMAN_SERVICE_STATE_IDLE and
CONNMAN_SERVICE_STATE_DISCONNECT.
This is needed for the following usecase:
Connect to router with WEP encryption by issuing wrong passphrase
(exactly matching the length of WEP passphrase of 5 or 13.
Detected as wrong passphrase otherwise).
$ connmanctl> connect <service>
Passphrase = [ Type=wep, Requirement=mandatory ]
Passphrase? <Enter 5 digit passphrase>
$ connmanctl>
Agent ReportError <service>
connect-failed
Connection is unsuccessful as wrong key is entered(expected behaviour).
Again try to connect to the same router. But this time agent will not
ask for passphrase.
connman will never be able to connect to this router.
Try with config <service> --remove option to remove stored passphrase.
$ connmanctl> config <service> --remove
Error <service>: Not supported
In order to enter the right passphrase again while connecting we need
the option to remove the service during is_idle(service->state).
---
src/service.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/service.c b/src/service.c
index 0d08b5c..2289d54 100644
--- a/src/service.c
+++ b/src/service.c
@@ -4242,8 +4242,7 @@ bool __connman_service_remove(struct connman_service
*service)
__connman_provider_is_immutable(service->provider))
return false;
- if (!service->favorite && service->state !=
- CONNMAN_SERVICE_STATE_FAILURE)
+ if (!service->favorite && !is_idle(service->state))
return false;
__connman_service_disconnect(service);
--
1.9.1
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
End of connman Digest, Vol 17, Issue 15
***************************************