[PATCH] WPA Supplicant hidden ssid support

Jouni Malinen jkmaline
Mon Nov 29 22:15:41 PST 2004

On Sun, Nov 28, 2004 at 12:22:17PM +0100, Sascha Sommer wrote:

> just tryed out ndiswrapper + wpa supplicant with an linksys wrt54g and an 
> acx111 wlan card. Unfortunatelly wpa supplicant had problems with the 
> authentication due to the hidden ssid.

In general, wpa_supplicant supports hidden SSIDs, but ndiswrapper
interface does not yet..

> I attached a trivial patch against 0.2.5 to fix this. I'm not sure if it will 
> work with all configuration, but I think you will get the idea.

This is not suitable for cases where there are multiple APs configured
with hidden SSIDs and/or multiple security policies in wpa_supplicant
networks. driver_ndiswrapper will need to do something more complex to
handle this case. It looks like NDIS driver will need to at least be
configured with the correct SSID (i.e., make them try to associate with
the AP using hidden SSID) before scan results include these APs.
However, this might not be enough, since there are number of different
security policies..

One simple test case would be to add set_ssid call to scan request in
driver_ndiswrapper.c and then go through all the possible security
policies and verify whether the AP is found or not. If not, one would
need to uset set_ssid and in addition, go through all security policies
to match the scanning capability expected by wpa_supplicant.. Alas, this
cannot be done cleanly in driver_ndiswrapper.c and would thus require
changes that make the core implementation more complex.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list