Tech Support > Microsoft Windows > Drivers > How to capture the device response in NDIS miniport driver while using USB NIC?
How to capture the device response in NDIS miniport driver while using USB NIC?
Posted by Bell Kwong on May 11th, 2005


Hi,
I'm writing a wireless lan miniport driver for Intersil PRISM2 hfa3842.
Since the NIC is a USB device, I have no clear concept on how to capture the
internal events generated by the chip, though I've read tons of materials.
In NDIS-WDM architecture with USB, no interrupt, no register, and even no
document...
Could anybody show me a way leading to the dawn?

Thanks in advance!

bell



Posted by Calvin Guan on May 11th, 2005


As general USB client drivers, a NDIS_WDM driver use endpoints of different
pipes to communitcate with the HC.

Take a look at the NDIS-wdm sample at
WINDDK\3790.build#\src\network\ndis\ndiswdm, it's not a USB lower edge
sample but should get you started.

--
Calvin Guan DDK MVP
Staff SW Engineer (NDIS)
Network Business Unit
Broadcom Corporation


"Bell Kwong" <bell@79cn.com> wrote in message
news:uQeyvRgVFHA.628@tk2msftngp13.phx.gbl...


Posted by Pavel A. on May 11th, 2005


"Bell Kwong" <bell@79cn.com> wrote in message news:uQeyvRgVFHA.628@tk2msftngp13.phx.gbl...
Yes, there is no registers and interrupt. All communication
with the device is based on exchange of messages -
so you need to design some protocol.
Reading the USB guidelines on microsoft.com/whdc is absolutely
nesessary - no matter how much tons of stuff you read, don't miss
what is really important.

Good luck
-PA