Why these test cases Fail in Windows Hardware Test for my Virtual Network driver

Hi ,

I done windows hardware certificate test for my virtual network driver . unfortunately i got some test cases failed . I don’t know thsi may due to my configuration or driver coding mistakes . I am new in this field . I took some error log from the HCK . These are the following errors i found on log .

  1. Test Name : NDISTest 6.0 - 1 Machine -1c_64BitOID

The NdisRequest should have returned status NDIS_STATUS_SUCCESS.
error : The miniport should have set BytesWritten to 4 not 2048 .

  1. Test Name : NDISTest 6.0 - [1 machine] - 1c_FaultHandling

error : supported list does not contain required Oid
Error Type: NT_STATUS
Error Code: 0x53e6
Error Text: Error 0x000053e6

  1. Test Name : NDISTest6.0 - 1c_Mini6perfSend

error : Sends failed on open 1

Error Type: NT_STATUS
Error Code: 0x15b38
Error
Text: Error 0x00015b38

  1. Test Name : NDISTest6.0 - Mini6Send

error : Not all the Net Buffer Lists sent were completed successfully
Error Type: NT_STATUS
Error code: 0x15b38
Error Text: Error 0x00015b38

  1. Test Name: NDISTest6.0 ? NdisRequestCov

warning : Unable to bind TCPIP and LLDP from test adapter.
error : Unable to restore device settings at the end of the test
Error Type: NT_STATUS
Error Code: 0x15b38
Error Text: Error 0x00015b38

  1. Test Name : NDISTest 6.0 - 1c_WMICoverage

Querying OID_GEN_MAXIMUM_SEND_PACKETS as Administratorerror : Unable to query error = 0x80041008
Error Type: NT_STATUS
Error Code: 0x15b38
Error Text: Error 0x00015b38

  1. Test Name : NDISTest6.0 - 2c_Mini6Stress

Not a single NET_BUFFER_LIST/NET_BUFFER sent was received

Error Type: NT_STATUS
Error Code: 0x15b38
Error Text: Error 0x00015b38

  1. Test Name : NDISTest6.0 - 2c_priority

warning : Unable to determine driver NDIS version. Test will assume NDIS Version 6.0. This might cause false negatives

error : All drivers with NDIS Version greater than 5.1 must enable 802.1p by default and must report when queried for OID_GEN_MAC_OPTIONS

9 . NDIStest 6.5 - AddressChange

error : Test adapter received less than the expected percentage of packets sent.
Test adapter is expected to receive 237 packets, (95 percent of 250 packets sent from Support adapter)
Please check that your hardware has been programmed with the new network address it read from the registry.

How can i passs this test cases ? the common error i foun is “supported list does not contain required Oid” . Please help me …

thanks & regards

Hmmmm… No offense, but are you familiar with writing NDIS drivers? The test output that you’ve shown seems to be pretty descriptive.

Did you read it? Does the description of the various problems match what you’re seeing? For example:

“Not all the Net Buffer Lists sent were completed successfully”… Does this match what you’re seeing in your code, perhaps in the trace output? What are you failing? Why?

or

"The miniport should have set BytesWritten to 4 not 2048 . " – Well, did your driver set bytes written to 2048? Why? Because the test obviously things the number of bytes written should have been set to 4.

Peter
OSR
@OSRDrivers