fi.w1.wpa_supplicant1.BSS.WPS always blank

Floris Bos bos at je-eigen-domein.nl
Mon May 4 02:04:12 EDT 2015


Hi Eric,

On 05/04/2015 03:39 AM, Eric Schultz wrote:
> I've been trying to add support for WPS to GNOME Network Manager. As 
> part of this process, I'm trying to access the WPS property on all of 
> the fi.w1.wpa_supplicant1.BSS D-Bus objects. As I understand it, the 
> WPS property should indicate which types of WPS methods a BSS 
> supports. In my case though, all of the BSS's WPS Type dictionary 
> entries are empty, indicating that the device does not support either 
> PIN or PBC WPS methods. I've verified this from both inside my 
> NetworkManager code and using the d-feet D-Bus object explorer.
>
> Am I correctly understanding what the WPS property should contain? If 
> so, why would the property be empty for routers I know support WPS? If 
> not, what's the proper way of getting this information?
>
> Any help you could provide would be much appreciated. In case you're 
> wondering, I'm running Fedora 21 workstation, with the built in 
> version of wpa_supplicant. Thanks for any help you can provide.

It will only have pin, pbc when WPS is currently being used. E.g. the 
user pressed the button.

It isn't possible in older wpa_supplicant versions to see if WPS is 
supported but not actively used through Dbus.
Fixed that recently with this patch: 
http://w1.fi/cgit/hostap/commit/?id=8e2c5f1a2049bf2cd76f04977b52ca7f7f7ea4ec


Yours sincerely,

Floris Bos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20150504/84c7955a/attachment.htm>


More information about the HostAP mailing list