<div>Hi,</div>
<div>&nbsp;</div>
<div>I tested version 0.5.5 and it worked fine with my USB adapters. Thank you!<br>&nbsp;</div>
<div>Bye<br>&nbsp;</div>
<div><span class="gmail_quote">On 8/27/06, <b class="gmail_sendername">Jouni Malinen</b> &lt;<a href="mailto:jkmaline@cc.hut.fi">jkmaline@cc.hut.fi</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Tue, Aug 22, 2006 at 07:38:20PM -0700, Jouni Malinen wrote:<br>&gt; On Tue, Aug 22, 2006 at 05:55:40PM +0300, Adrian Nistor wrote:
<br>&gt; &gt; 2. Register for async events on MSNdis_StatusMediaConnect,<br>&gt; &gt; MSNdis_StatusMediaDisconnect, ... WITHOUT using a filter. The event will be<br>&gt; &gt; filtered later when it is received.<br>&gt;<br>
&gt; I think this needs to be done at least for adapter arrival/removal, but<br>&gt; I would prefer to use proper filter for other events.<br><br>Well, not anymore.. ;-) It was easier to just drop the WMI filtering for<br>
these and do filtering in ndis_events.c to allow the filter string to<br>change.<br><br>&gt; &gt; 3. When the event is received, look for the Win32_PnPEntity with the Name<br>&gt; &gt; equal to the InstanceName of the event, get its PNPDeviceId, get the
<br>&gt; &gt; Win32_NetworkAdapter which has this PNPDeviceId. Compare the Index attribute<br>&gt; &gt; of the found Win32_NetworkAdapter with the index obtained in step 1. If they<br>&gt; &gt; match, the event is for the right adapter, otherwise drop it.
<br>&gt; &gt; This works because the Index of an adapter is assigned to it when its driver<br>&gt; &gt; is first installed on the system and it never changes, even if the device is<br>&gt; &gt; unplugged/plugged or disabled/enabled.
<br>&gt;<br>&gt; I would like to move this to happen at startup and whenever a new<br>&gt; adapter is added and not when a new media connect/disconnect is<br>&gt; received.<br><br>I added this to the development branch. Win32_PnPEntity::Name is now
<br>used as the string to match with InstanceName in received events. The<br>local copy of Win32_PnPEntity::Name is updated whenever a new adapter is<br>added (e.g., when re-plugging a USB adapter). Could you please test<br>
whether the today's snapshot (or anything newer from devel branch) works<br>for you?<br><br>--<br>Jouni Malinen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PGP id EFC895FA<br>_______________________________________________
<br>HostAP mailing list<br><a href="mailto:HostAP@shmoo.com">HostAP@shmoo.com</a><br><a href="http://lists.shmoo.com/mailman/listinfo/hostap">http://lists.shmoo.com/mailman/listinfo/hostap</a><br></blockquote></div><br>