ndislwf (NDIS 6.0 Sample Filter Driver) to monitor native wifi adapter

H

haideepu_2258

I have built sample Filter Driver (ndislwf) from WDK and trying to install it with INF settings
HKR, Ndi,FilterClass,, Custom
HKR, Ndi,FilterType,0x00010001,0x00000002
HKR, Ndi\Interfaces,UpperRange,,"noupper"
HKR, Ndi\Interfaces,LowerRange,,"nolower"
HKR, Ndi\Interfaces, FilterMediaTypes,,"wlan"
HKR, Ndi,FilterRunType, 0x00010001, 1 ;

In above INF settings FilterClass is specified as "custom", bcoz it'll have the lowest position in the stack. I've also modified FilterAttach to accept bindings with only native-WiFi adapters. With above settings/changes, I tried to install Filter-Driver.

The debug-prints in Filter-Attach show that all the adapters are of 802.3. This gives me a thought that Filter-Driver is not bound at right place to NDIS-stack.

Is there a way to find out the NDIS-stack layers, all through from Protocol to Miniport? How to identify the position of my Filter-Driver in NDIS-stack.?

Thanks
Deepu
 
Top