WPS : Configuration methods attribute in WPS M2

Atul Joshi jatul
Mon Oct 12 05:06:59 PDT 2015


Jouni,
thanks for the response.
Here are the excerpts from the hostapd 2.4 logs (this is the one we are using with our driver and use internal registrar)

1444078095.270264: CTRL_IFACE SET 'config_methods'='display pbc label keypad physical_display virtual_display physical_pbc virtual_pbc'

1444078095.313828: WPS: Build Probe Response IEs
1444078095.313868: WPS:  * Config Methods (610c) --->  push button removed

After starting registration
1444078212.592295: WPS:  * Selected Registrar Config Methods (658c) -> pushbutton (physical,virtual) present

1444078217.749624: WPS: Building Message M2
1444078217.773580: WPS:  * Config Methods (610c) --->  push button removed

As we agree to ensure that all methods are listed, I will try to find out any specific scenario where this is seen and then will try to fix.

thanks
atul

On Fri, Oct 09, 2015 at 08:44:19PM +0000, Atul Joshi wrote:
> we are using hostapd 2.4 for WPS testing.
>
> We observed that, if we configure "label virtual_display virtual_push_button keypad"
>
> We don't see pushbutton/virtual push button in the M2 message sent by the AP.
>
> I understand from WPS spec that in probe responses, we need to mask it off but for M2 there is no such requirement. Then why the hostapd is masking the bits off?

It shouldn't be masking config_methods bits from M2. I cannot reproduce
this with the current snapshot. With config_methods="label
virtual_display virtual_push_button keypad", M2 from hostapd goes out
with Config Methods 0x238c (i.e., Label, Display, Virtual Display, Push
Button, Virtual Push Button, and Keypad bits set to 1).

I'm not sure how you are testing this, but please keep in mind that if
the AP has UPnP enabled, the M2 could be from an external Registrar and
hostapd is just proxying it to the Enrollee.

--
Jouni Malinen                                            PGP id EFC895FA


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

_______________________________________________
HostAP mailing list
HostAP at lists.shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap


End of HostAP Digest, Vol 150, Issue 28
***************************************


 To report this email as spam click https://www.mailcontrol.com/sr/YpOGs9LBzWnGX2PQPOmvUkyXKmclf+CP5GsKHn+U64ea8mleTSWqGbiKRI3kYtw1xxT5SjJYG1Nzr!jqbv!p6A== .



More information about the Hostap mailing list