Minor issue with hidden essid + wpa_supplicant + ndiswrapper

Jouni Malinen j
Sat May 19 09:44:09 PDT 2007


On Sat, May 19, 2007 at 11:41:26AM +0000, Stian Skjelstad wrote:

> I'm a lucky owner of a usb wlan dongle with only a windows drivers, so
> I'm forced to use ndiswrapper which works quite well.

> ndiswrapper completely ignores the IW_SCAN_THIS_ESSID flag, which breaks
> things a bit.

NDIS drivers do not support scan for a specific SSID operation and as
such, ndiswrapper cannot really do much here.

> wpa_supplicant however is not very smart either, as it depends on the
> wlan driver to support IW_SCAN_THIS_ESSID when used in surtain modes,
> which again gives interesting boring results.

There are two ways of using hidden SSIDs. The ap_scan=1 and scan_ssid=1
option is available _if_ the driver supports this; NDIS/ndiswrapper does
not. The other option is to use ap_scan=2 to allow the driver select the
network; this works with NDIS drivers.

> Please see bellow for sugestion of patches.
> 
> http://bugs.gentoo.org/show_bug.cgi?id=179061

The proposed change is not acceptable. Scan operation must not break the
current association and as such, SSID must not be set at this point. The
proper solution for this is to use ap_scan=2 mode.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list