[WPS] responding with WPS_NACK to M7 from AP

Jouni Malinen j at w1.fi
Wed May 23 00:53:03 EDT 2012

On Sat, May 19, 2012 at 11:54:37AM +0530, Kiran Divekar wrote:
> Function wps_process_ap_settings_r returns non-zero value, if STA does not
> want to re-configure AP. In this case, STA responds to AP by sending
> WSC_NACK message.
> But, as per WSC 2.0 specification,  WSC_NACK is to be sent to indicate a
> authenticating or processing error. Is sending WSC_NACK ok in this case?

Yes, this is quite common use case for WPS and it is mentioned in the
Table 34 in WSC 2.0 specification (in the description of "No Error"
Configuration Error).

Jouni Malinen                                            PGP id EFC895FA

More information about the HostAP mailing list