Config Methods for Probe Response

Takashi Kawamoto tkawamoto
Sun Apr 1 17:45:38 PDT 2012


Dear Jouni,

> > I have a question for WPS implementation of hostapd.
> > 
> > I can't understand why hostapd gets rid of Push Button related 
> > attributes from Config Methods when building Probe Response.
> 
> That's explained in the comment there:
> 
> > [src/wps/wps_registrar.c]
> > static int wps_build_probe_config_methods(struct wps_registrar *reg,
> > 					  struct wpabuf *msg)
> > {
> > 	/*
> > 	 * These are the methods that the AP supports as an Enrollee for adding
> > 	 * external Registrars.
> > 	 */
> > 	methods = reg->wps->config_methods & ~WPS_CONFIG_PUSHBUTTON;
> 
> > Do anyone know which description in specification this implementation 
> > conforms to? There seems to be no description which says Probe Response 
> > should not include WPS IE with Config Methods without these attributes.
> 
> That comment is based on WSC v2.0 8.2.5 Probe Response table
> ("Configuration Methods corresponds to the methods the AP supports as an
> Enrollee for adding external Registrars") and PushButton is not allowed
> for that purpose as noted in 11.1 ("AP MUST NOT support using PBC to add
> an external Registrar").

I've got it, thank you.
Now my concern is just that this function seems to be called when adding 
Enrollee, not external Registrar. Isn't there any problem?


Best Regards,
Takashi Kawamoto

==================================================
 Takashi Kawamoto (E-Mail : tkawamoto at silex.jp)
 silex technology,Inc. 
 Software Engineering Division
 Phone:+81-774-98-3877 FAX:+81-774-98-3678
==================================================




More information about the Hostap mailing list