wpa_supplicant and provision discovery (PD)

Jouni Malinen j at w1.fi
Sun Aug 30 11:21:03 EDT 2015


On Sun, Aug 30, 2015 at 01:18:09PM +0000, Atul Joshi wrote:
> 1.       If the local device has only one config method supported
> 
> 2.       If peer sends Provision Discovery Request with some other valid but not supported config method
> 
> 3.       The local device still sends Response with config method in provision discovery request
> 
> From the supplicant code I can see that, In function p2p_process_prov_disc_req
> We check the config methods in PD request with all valid config method than just the supported ones.
> 
> if (!(msg.wps_config_methods &
>                       (WPS_CONFIG_DISPLAY | WPS_CONFIG_KEYPAD |
>                        WPS_CONFIG_PUSHBUTTON | WPS_CONFIG_P2PS))) {
>                                 p2p_dbg(p2p, "Unsupported Config Methods in Provision Discovery Request");
>                                 goto out;
>                 }
> This is against the P2P spec.

Could you please point to the exact text in the P2P spec that this would
be in conflict with?

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list