I just ran tests using a modifying NDIS 6 LWF attached to a Native 802.11
Wi-Fi adapter on Windows 7.
The test rig injects user-created 802.3 packets both up and down the adapter
stack without any problem.
Of course, the Wi-Fi adapter must be connected for this to work.
Like Dave, I don’t know of any reason why you shouldn’t be successful unless
you have screwed up some detail of the NB and NBL that you create.
Finally, comments like “if doesn’t work” aren’t helpful. Does some operation
fail? If so, what is the error code, etc. It there are no faults detected in
returns from calling NDIS APIs, how do you conclude “that it doesn’t work”?
Are these sends “down” to the network adapter or receive indications
directed “up” to the host?
Good luck!
Thomas F. Divine
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of David R. Cattley
Sent: Thursday, October 01, 2009 11:48 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] NdisFSendNetBufferLists
If you copied the NDISLWF sample then you ended up with:
- A modifying filter driver (FilterType=2)
- Bound above NativeWiFi - infact, at the layer called “compression”
(FilterClass=compression)
- As a ‘mandatory’ filter that must run if any protocols will be allowed to
bind (FilterRunType=1)
- Bound to only NICs that advertise “ethernet” as the frame-type
(FilterMediaTypes=“ethernet”)
I don’t have a definite answer as to why it does not work for WiFi if it
works as you say for wired Ethernet. Perhaps you need to pay more attention
to how you allocate your buffers to ensure that you allocate enough space
for NativeWiFi to retreat the head of the NB to do whatever it needs to do
to build the 802.11 frame.
Hopefully Thomas will note this thread and chime in.
Good Luck,
Dave Cattley
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@hotmail.com
Sent: Thursday, October 01, 2009 11:03 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] NdisFSendNetBufferLists
My driver sends NDIS buffers independently of other packets it receives via
normal IO.
It just generates “new” ones.
The packets I’m sending are valid Ethernet packets and my driver is adapted
from the DDK’s sample of a lightweight filter driver - “…ndis/filter” (and
I use the same inf).
Is there anything else I should check?
How can I ensure that my driver is installed above (or for that matter,
below) the Native WiFi filter?
I can’t understand why the behavior is different in both cases.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer