Re: Adapter failed to initialize query
- From: "tsindia" <tsindia@xxxxxxxxxxxxxxxxx>
- Date: Wed, 12 Jul 2006 12:20:14 +0530
Thanks Maxim....but I have another problem. I am porting from Windows to
WinCE where I use NDISRegisterAdapter to bind to NDIS.
This is obsolete in DDK but works in WinCE. The problem is that once I
choose 802.3 as a medium I am restricted to send only ethernet packet size
worth of data which would prove expensive as the IP packets I revceive can
be much larger in size.
In wince newsgroup I found the following discussion that looks like my
problem
http://groups.google.co.in/group/microsoft.public.windowsce.embedded/browse_thread/thread/227fab67a0222e18/6ee9c3c6e17a845b?lnk=st&q=mac+layer+driver+in+wince&rnum=5&hl=en#6ee9c3c6e17a845b
but unfortunately it doesn't provide a complete solution.
Can you please guide me on what I can do to avoid faking as an ethernet
driver so that I can send up my IP packets without fragmenting them and
making ethernet frames out of them.
Your help is most appreciated.
Regds.
Nitin
"Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx> wrote in message
news:uiJYOpQpGHA.4192@xxxxxxxxxxxxxxxxxxxxxxx
Use 803.3 media type, this will allow TCP/IP to bind to you and you
will
have the Ethernet frame format in your driver. Fake the MAC addressed
someway
in them, as also in "query MAC address" OID.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com
"tsindia" <tsindia@xxxxxxxxxxxxxxxxx> wrote in message
news:usbzYjOpGHA.2360@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have a usb function driver( its not RNDIS) which I am binding to NDIS
as
I need to pass IP packets to teh protocol layer. DiverEntry and
MiniportInitialize go through okay.
I choose the medium as NdisMediumDix as USB is not a defined as a medium.
I set my virtual NIC attributes as
NdisMSetAttributesEx(
MiniportAdapterHandle,
(NDIS_HANDLE) Adapter,
0,
NDIS_ATTRIBUTE_NO_HALT_ON_SUSPEND,
NdisInterfaceInternal);
I get Queries from NDIS to which I respond. The last query I get is for
OID_PNP_CAPABILITIES
which I succeed and then I get the error message
LanRegister: Adapter failed to initialize. Status = 0xc0010019
I have no idea why my adapter is failing to initialize.
Can anyone help me.
Thanks.
Nitin
.
- Follow-Ups:
- Re: Adapter failed to initialize query
- From: Maxim S. Shatskih
- Re: Adapter failed to initialize query
- References:
- Adapter failed to initialize query
- From: tsindia
- Re: Adapter failed to initialize query
- From: Maxim S. Shatskih
- Adapter failed to initialize query
- Prev by Date: Re: Microsecond delay in Windows
- Next by Date: Re: How to install driver automatically
- Previous by thread: Re: Adapter failed to initialize query
- Next by thread: Re: Adapter failed to initialize query
- Index(es):
Relevant Pages
|