For P2P connection the WPS topic is completely separated because it relies on Peer.Connect
(that uses its WPS current code) while the methods below belong to Technology. But the P2P
interface, when not connected, may also support to be a STA or AP and if it is not the
only one WiFi interface in the system very probably the user doesn't want connman
starts WPS (AP or STA) on it if by chance it is the first coming in its hands :), so
connman will consider it only as last chance.
We are working with Marvell chipsets and they expose three separated interfaces for STA,
AP and P2P (capable of concurrent connections): then we need to distinguish STA WPS and AP
WPS. Anyway the same would happen if you have a laptop with embedded WiFi capable of STA
WPS and then you plug an usb dongle you want to use as AP WPS, for instance..
We would also add the event Technology.WPSEvent(string event) to signal at least
"success" or "pwd-auth-fail" (we can also add
Da: Patrik Flykt [mailto:Patrik.Flykt@linux.intel.com]
Inviato: giovedì 16 giugno 2016 15:00
A: MANIEZZO Marco (MM); Tomasz Bursztyka; connman(a)lists.01.org
Cc: Blanquicet-Melendez Jose (MM)
Oggetto: Re: R: R: [RFC] Wi-Fi Protected Setup (WPS) connection
On Thu, 2016-06-16 at 12:24 +0000, MANIEZZO Marco (MM) wrote:
void Start_STA_WPS(string authentication)
When this is needed for P2P, then this should be part of the P2P technology API, right?
With that modification no guessing is done, P2P is used when when StartWPS() is called for
the P2P technology. Same for WiFi technology.
void Start_AP_WPS(string authentication)
For AP one needs tethering turned on. So starting and stopping of AP WPS should follow
whether tethering is enabled for WiFi and again only a call to to StartWPS() is needed. Or
is there a situation where tethering is enabled but another WiFi device is idle and one
actually wants the other WiFi device to activate STA WPS?
The role selection should by default go as enrollee for non-tethering WiFi and registrar
when tethering if the role is something one cares about?
VISITA IL NOSTRO NUOVO SITO WEB! - VISIT OUR NEW 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.