wpa_supplicant does not work properly with some USB adapters on WinXP
Adrian Nistor
anistor
Wed Aug 30 00:07:23 PDT 2006
Hi,
I tested version 0.5.5 and it worked fine with my USB adapters. Thank you!
Bye
On 8/27/06, Jouni Malinen <jkmaline at cc.hut.fi> wrote:
>
> On Tue, Aug 22, 2006 at 07:38:20PM -0700, Jouni Malinen wrote:
> > On Tue, Aug 22, 2006 at 05:55:40PM +0300, Adrian Nistor wrote:
> > > 2. Register for async events on MSNdis_StatusMediaConnect,
> > > MSNdis_StatusMediaDisconnect, ... WITHOUT using a filter. The event
> will be
> > > filtered later when it is received.
> >
> > I think this needs to be done at least for adapter arrival/removal, but
> > I would prefer to use proper filter for other events.
>
> Well, not anymore.. ;-) It was easier to just drop the WMI filtering for
> these and do filtering in ndis_events.c to allow the filter string to
> change.
>
> > > 3. When the event is received, look for the Win32_PnPEntity with the
> Name
> > > equal to the InstanceName of the event, get its PNPDeviceId, get the
> > > Win32_NetworkAdapter which has this PNPDeviceId. Compare the Index
> attribute
> > > of the found Win32_NetworkAdapter with the index obtained in step 1.
> If they
> > > match, the event is for the right adapter, otherwise drop it.
> > > This works because the Index of an adapter is assigned to it when its
> driver
> > > is first installed on the system and it never changes, even if the
> device is
> > > unplugged/plugged or disabled/enabled.
> >
> > I would like to move this to happen at startup and whenever a new
> > adapter is added and not when a new media connect/disconnect is
> > received.
>
> I added this to the development branch. Win32_PnPEntity::Name is now
> used as the string to match with InstanceName in received events. The
> local copy of Win32_PnPEntity::Name is updated whenever a new adapter is
> added (e.g., when re-plugging a USB adapter). Could you please test
> whether the today's snapshot (or anything newer from devel branch) works
> for you?
>
> --
> Jouni Malinen PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20060830/693ffe6c/attachment.htm
More information about the Hostap
mailing list