AW: wpa_supplicant ndiswrapper

Gerhard Schaden ges
Thu Aug 7 11:34:45 PDT 2008

Card is a

00:08.0 Network controller: VIA Technologies, Inc. Unknown device 3253
00:08.0 0280: 1106:3253

Drivers I tested are from different sources VIA homepage, ..

DriverVer   = 03/31/2006,

DriverVer   = 01/18/2005,

The strange thing, it worked with

ubuntu-2-6-22-14-386, ndiswrapper-utils-1.49, wpasupplicant-0.5.4 and VIA Driver 03/31/2006,

I already recompiled the old version of ndiswrapper and wpasupplicant, but this didn't help

Can you think of the parts in wpa_supplicant, which may have race conditions? Is this new packet which looks like the 3/4 handshake, queued somewhere in wpa_supplicant or rather in the driver, ndiswrapper, kernel?


-----Urspr?ngliche Nachricht-----
Von: hostap-bounces at [mailto:hostap-bounces at] Im Auftrag von Jouni Malinen
Gesendet: Donnerstag, 07. August 2008 20:21
An: hostap at
Betreff: Re: wpa_supplicant ndiswrapper

On Thu, Aug 07, 2008 at 07:50:57PM +0200, Gerhard Schaden wrote:

> I'm struggling with a very strange behavior of wpa_supplicant. Updating
> to ubuntu 8.04 with kernel 2.6.24-16 may be related, because I didn't
> face these problems with 2.6.22. 
> Using different versions of ndiswrapper, xpdrivers, wpa_supplicant lead
> always to the same issue. 

Which WLAN card and which NDIS driver are you using?

> the connection is never finished, here is some output of the debug. It
> looks like a packet from the wpa headshake is seen twice.

Well, the connection is "finished", but something triggers the handshake
to be started again.

> And now the strange part, if I  trace wpa_supplicant which strace it
> works.

I would guess that this slows down something enough to avoid timing
related race condition in sending out msg 4/4 and configuring the
encryption keys..

Jouni Malinen                                            PGP id EFC895FA
HostAP mailing list
HostAP at

More information about the Hostap mailing list