media disconnect event

Paresh Sawant paresh.sawant at
Fri Dec 14 23:32:05 EST 2007

I'm using NDIS 5.1 on Win XP.  I observe that after a successful association
station receives a connect event, and then if AP dissociates for some reason
before PMKSA or PTKSA finishes successfully, then the driver/card restarts
the association implicitly and station gets connect event  again, but there
is no disconnect event in between.

On Dec 15, 2007 8:23 AM, Jouni Malinen <j at> wrote:

> On Mon, Dec 10, 2007 at 07:52:44PM +0530, Paresh Sawant wrote:
> >           I'm running wpa_supplicant on Wind-XP with CONFIG_USE_NDISUIO
> > defined. Ihave complied code in VS 2005. I see that
> > "MSNdis_StatusMediaDisconnect" type of event is NOT notified to
> > wpa_supplicant by WMI. I notice that "MSNdis_StatusMediaConnect" is
> notified
> > by WMI and the event handler is invoked appropriately. But it fails for
> > media_disconnect type. So in case of AP dissociates for some reason how
> can
> > the wpa_supplicant know the state of the station is
> > un-authenticated(state-1)?
> Which NDIS driver are you using? I've seen Media Disconnect notification
> to work fine with many cards. Do you see any WMI notifications for
> disconnect (i.e., what exact do you mena with event handler failing)?
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the HostAP mailing list