[PATCH] WPA Supplicant hidden ssid support

Sascha Sommer saschasommer
Tue Nov 30 02:03:42 PST 2004


On Tuesday 30 November 2004 07:15, Jouni Malinen wrote:
> 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 don't understand how this is possible, because I think it is always using 
the broadcasted ssid for authentication, but then I didn't check the whole 
code, therefore I might have overseen something.

> > 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..

I already suspected something like this.

> 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.

No idea, I prefer the opensource acx100 driver, only tryed things out.
My patch will do it for me in my testcase.

Thanks for your answer.


Sascha




More information about the Hostap mailing list