RE: wpa_supplicant automatically re-connect to previous AP in networks list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jouni,

> > > On most of test we have done so far, at the end of the WPS operations there is
> > only one network profile created. Although it's true that during the process one
> > more network profile is created but it is automatically deleted by
> > wpa_supplicant itself. So I just would have to remember that one, which is the
> > same I will receive in Interface.PropertyChanged as "CurrentNetwork". Do you
> > also agree here?
> >
> > No. While most use cases of WPS are probably provisioning a single
> > credential, the WPS protocol itself has support for arbitrary number of
> > credentials and as such, you may get multiple network profiles added
> > from a single provisioning step. As such, the current network after
> > successful connection is not necessarily the only network profile that
> > was added. That's why I pointed at tracking the signals indicating when
> > a new network profile is added during the WPS operation; there may be
> > more than one of those signals.

We have been working to implement this, after some research we have not found how to simulate such use case where we can receive multiple credentials and then multiple network profiles added after a single provisioning. Therefore, we have not been able to test what we are implementing against that use case. Could you please illustrate us on how it would be?

What we have been trying to do is to catch all Interface.NetworkAdded signals that arrived after WPS.Start until a WPS.Event("success") signal and then remove them if there is a WPS.Event("fail") instead of "success" or after an user disconnection. We think that should work, do you agree?

Regards,

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.

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux