Calvin,
Yep I checked and I am returning the right link speed - 11Mbps. I
selected only the OID test this time around and I’ve copied the log. The
one thing I did notice on my debugger was that my SetInformation Handler
is being invoked a few times. Also Ndistest uses IOcontrol and I see
something that says PENDING. Do I have to do anything in the
MiniportSetInformation handler right away for this to work?
Here’s the log:
Variation #1 Loading scripts…
This script performs a series of NdisRequest calls to the driver, to
verify
that it supports the querying of all required information OIDS. This
will query
OID_GEN_SUPPORTED_OIDS, verify that all required oids are present and
query them.
The Ndis Tester is not able to verify the values returned by most
of these OIDs. The user should check this log carefully for problems.
*****************************************************************
Date/Time: 3/3/2005 5:08:24 AM
Script: C:\NdisTester\scripts\lan\1c_OidsNdisRequest.wsf
NDIS Test: 4.03.0044
OS Type: Microsoft Windows XP Professional (Desktop)
OS Version: 5.1 Build 2600 (Service Pack 2) Multiprocessor Free
2600.xpsp_sp2_rtm.040803-2158
BIOS Date: 07/27/04
BIOS Name: IntelR - 42302e31
CPU Type: x86 Family 15 Model 2 Stepping 7, GenuineIntel
Processors: 2
Loop Count: 1
Driver Verifier Selection: Enabled
WHQL Test Mode: No
ndis.sys: 182912 8/4/2004 8:14:30 5.1.2600.2180 Free
Driver Verifier Level: Disabled
Test Device
MYDRIVER-LAB: Intel MyDriver Prototype Adapter #2
C:\WINDOWS\system32\DRIVERS\MyDriver.sys
50944 3/2/2005 19:45:56 1.5.0.0 Checked
Driver Verifier Level: Disabled
Ethernet Wireless Lan PCI
{60DBB6B9-DB6A-4859-9AC1-C0C32C1F6496}
pci\ven_8086&dev_2642
MAXIMUM_TOTAL_SIZE = 1514
MAC_ADDRESS = B-A-9-8-7-6
LINK_SPEED = 11 Mbps
OID_PNP_CAPABILITIES Flags = 0x0
Magic\Pattern\Link Wake Unspecified\D3\Unspecified
MAC_OPTIONS = 0xCD
Copy Lookahead Data
Receives are not Serialized
Transfers never Pend
NDIS handles Loopback
Transmit’s must be serialized with other requests
802.1p Priority is supported
Mac Address can be Overwritten
802.1q VLAN is not supported
MINIPORT_INFO = 0xAE38A15
Bus Master
Not a WDM Driver
Uses Scatter Gather List
Indicates Packets
Outstanding packets cannot cause reset to be called
Outstanding requests cannot cause reset to be called
Do not Ignore Token Ring Errors
Not an IM Driver
Ndis 5 driver
Is not Connection Oriented
Deserialized
Does not require Media Polling
Is not a NetBoot Card
Power Management is supported
Supports Mac Address Overwrite
Uses Safe Buffer Apis
Is not Hidden
Is not Software Enumerated
Surprise Remove is not OK
Do not Halt on Suspend
Hardware Device
Supports Cancel Send Packets
Does not do 64 Bit DMA
*****************************************************************
Variation #2 Binding/Unbinding Protocols
CreateBindCtrl
GetProtocolInfo
Get the list of supported protocols
-
NDIS Usermode I/O Protocol
-
Point to Point Protocol Over Ethernet
-
Point to Point Tunneling Protocol
-
Layer 2 Tunneling Protocol
-
Remote Access NDIS WAN Driver
-
Message-oriented TCP/IP Protocol (SMB session)
-
WINS Client(TCP/IP) Protocol
-
Internet Protocol (TCP/IP)
Variation #3 Verifying wireless lan configuration …
vbCreateAdapter
- Connection ID = 1
CreateAdapter
- GUID = {60DBB6B9-DB6A-4859-9AC1-C0C32C1F6496}
- ConnectionID = 0
- Description = Intel MyDriver Prototype Adapter #2
- MachineName = MYDRIVER-LAB
NdisIoControl
Card = {60DBB6B9-DB6A-4859-9AC1-C0C32C1F6496}
- QueryMode = 0
- OID = OID_GEN_MEDIA_IN_USE
Media Types In Use are:
NdisMedium
802_3 (Ethernet).
CreateOpen
Card = {60DBB6B9-DB6A-4859-9AC1-C0C32C1F6496}
OpenId = 0x01010001
NdisOpen
- OpenId = 0x01010001
- MediaType = NdisMedium802_3
- ForceNdis30Flag = FALSE
NdisRequest
- OpenId = 0x01010001
- OID = OID_802_3_CURRENT_ADDRESS
Current Station Address =
0B-0A-09-08-07-06
vbIsWPASupported
vbAuthenticationSE
Authentication Mode = Ndis802_11AuthModeWPA(3)
NdisRequest2
- OpenId = 0x01010001
- OID = OID_802_11_AUTHENTICATION_MODE
- RequestType = 1
STATUS = NDIS_STATUS_SUCCESS
vbAuthenticationGE
NdisRequest2
- OpenId = 0x01010001
- OID = OID_802_11_AUTHENTICATION_MODE
- RequestType = 0
Authentication Mode = Ndis802_11AuthModeOpen(0)
STATUS = NDIS_STATUS_SUCCESS
vbIsWPAAdhocSupported
vbAuthenticationSE
Authentication Mode = Ndis802_11AuthModeWPANone(5)
NdisRequest2
- OpenId = 0x01010001
- OID = OID_802_11_AUTHENTICATION_MODE
- RequestType = 1
STATUS = NDIS_STATUS_SUCCESS
vbAuthenticationGE
NdisRequest2
- OpenId = 0x01010001
- OID = OID_802_11_AUTHENTICATION_MODE
- RequestType = 0
NdisClose
- OpenId = 0x01010001
FAILED: [22775] A VBScript run-time error has occured!
Variation #4 Verifing script completed successfully…
FAILED: [0] Script was terminated abnormally!
THIS COULD BE THE RESULT OF AN INTERNAL ERROR,
DELIBERATE TERMINATION OF THE WSCRIPT PROCESS OR
STOPPING THE SCRIPT WITH THE UI!
#################### END OF LOG ####################
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Calvin Guan
Sent: Wednesday, March 02, 2005 12:36 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Why doesn’t my MiniportSendPackets get called?
Ravi,
You can pick up individual test (instead of the full WHQL) to perform.
You
definitely want to fix the failure. The NDIStest log should have
explained
why it’s failing, e.g. which OID. Did you return the correct link speed?
Can
you post the full log for oidtest?
You could compare your code with any of your WHQL’ed drivers. I’ve never
written an 802.11 driver myself. I don’t know what special OIDs need to
be
handled. You may contact Mitesh Desai (MSFT) who had helped me on
ndistest
issues before.
HTH,
Calvin
Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com
-----Original Message-----
From: Murty, Ravi [mailto:xxxxx@intel.com]
Sent: March 2, 2005 3:07 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Why doesn’t my MiniportSendPackets get called?
Calvin,
Thanks, I installed it and ran it and I see a load of messages when I
run the tests on the right panel (WHQL probably). It runs this one
test
called OidsNdisRequest.
- Is this the right test 'cause it says “Total 3”, “Passed 2”,
“Failed
1”…
2.How do I interpret the results. I think I am implementing all
required
OIDs. Do I need to support additional OIDs if I declare myself a
NdisWirelessLAN device for PHYSICAL_MEDIUM type?
Thanks for your help,
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Calvin Guan
Sent: Wednesday, March 02, 2005 10:43 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Why doesn’t my MiniportSendPackets get called?
I would suggest you run ndistest against you driver, pay attention to
the
“mandatory OID” test.
NDIS won’t call MPSendPackets unless ALL mandatory OIDs are handled
properly.
Good luck,
Calvin
Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com
-----Original Message-----
From: Murty, Ravi [mailto:xxxxx@intel.com]
Sent: March 2, 2005 1:34 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Why doesn’t my MiniportSendPackets get called?
Hello All,
I just finished writing a very basic NDIS miniport. It installs okay
and
I
respond to a bunch of OIDs that come down my QueryHandler, but my
MiniportSendPackets handler doesn’t get called? What else do I need to
do to
make this happen. I want to start debugging my sendpackets routine.
Thanks,
Ravi
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag
argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag
argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to xxxxx@lists.osr.com