NDISTest 6.5 - LWF Logo test
This automated test targets LWF by validating that the all the requirements specified for the light weight filter driver are satisfied, and that they comply with NDIS specification on MSDN.
The test installs two of the NDISTest virtual miniports - “NDISTest 6.30 - CL - Default w/TCPIP”, which would be used as the test and support adapters for running the LWF logo test. These virtual miniports are uninstalled in the cleanup phase of the test.
Windows 8 has a requirement that all NDIS LWF drivers are NDIS 6.30. This is validated by ConfigCheck test, which will fail the filter logo test if the Filter driver is not NDIS 6.30.
ConfigCheck test also validates that the Filter driver selected as the target, is actually bound to the test adapter, and an error is thrown if the filter is not bound to the test adapter.
It is also validated that the filter driver is able to process packets that are larger than miniport's MTU size.
This also runs a filter stress test which is designed to stress the datapath and PnP paths of NDIS filter drivers. The test will limit the test virtual miniport's receive descriptors such that a significant number of receive indications will happen with the receive resources flag. This test performs the following actions in a multi-threaded way:
Stress traffic from the support miniport directed to the test miniport
Stress traffic from the test miniport directed to the support miniport
Stop/start the test miniport (which triggers a pause and subsequent restart operations)
Test adapter indicating media disconnected/connected
Test adapter resetting
Finally, basic send and receive connectivity will be tested between the test/support adapters.
Test details
Associated requirements |
Filter.Driver.Network.LWF.Base Filter.Driver.Network.LWF.MTUSize |
Platforms |
Windows RT (ARM-based) Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86 Windows Server 2012 R2 |
Expected run time |
~2 minutes |
Categories |
Certification Functional |
Type |
Automated |
Running the test
Before you run the test, you need to manually install your filter driver on the test machine.
Follow these steps to run the test:
Configure the HCK Server and HCK Client machines. Filter Logo tests need just the one client machine.
Install the Light Weight Filter driver on the Client machine.
Restart the Client machine.
From the HCK Server, add the client on which the LWF is installed to a new machine pool, and change the machine status to ‘Ready’.
From HCK studio, create a new project under the Project tab in HCK Studio.
In the Selection tab of the HCK studio, select the machine pool that was created in the previous steps from the dropdown.
Select software device, and select the LightWeightFilter driver that was installed and needs to be tested (see the following figure).
Run all of the tests listed in the Tests tab against the filter driver.
Troubleshooting
For troubleshooting information, see Troubleshooting the Windows HCK Environment.