Need clarification on WPS IE support

Jouni Malinen jkmaline
Thu Apr 13 18:58:46 PDT 2006


On Wed, Apr 12, 2006 at 05:20:04PM -0700, CHui wrote:
> Does wpa_supplicant support Wireless Provisioning Services Information
> Element (WPS IE)?   

No. Currently, it is assumed that the driver takes care of WPS IE
parsing. However, in most cases, this is not really needed if you
already know the SSID you want to use.

> When I configure the access point (Cisco 1200 series 1232AG) to support two
> SSIDs on the same radio, wpa_supplicant started to fail to connect to the
> second SSID which is not broadcast in the 802.11 beacon management frame.
> Connecting to the primary SSID has no problem.

This works fine in my tests when scan_ssid=1 or ap_scan=2 mode is used.
In general, I would recommend ap_scan=2 for cases of hidden SSID (which
the use of WPS IE without the IE being parsed really is) if the driver
supports this.

> Did I miss a configuration option for WPS IE support?  I am running
> wpa_supplicant v0.5.2 on FreeBSD 6.0.

I would expect this to work with ap_scan=2 configuration. However, like
you noticed, that was resulting in segmentation fault. It looks like
driver_bsd.c is not ready for ap_scan=2. I've modified driver_madwifi.c
to support this and since that driver is using similar 802.11 code to
FreeBSD, I would expect this to be doable on FreeBSD, too. Once I get
confirmation from Sam on how this should be done, I can try to fix
driver_bsd.c to do this properly.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list