media type in NDIS6 drivers - NdisMedium802_3 not supported for NDIS6

I’m having some problems with my ndis6 miniport driver in ndistest - it
won’t progress to the 2c tests even though my setup is the same as when
testing the ndis5 version of the drivers. Right at the end it says:

Variation #9 Check to see if the correct adapters are present
FAILED: [21843] No remote support adapter available!

Two other tests that are failing are:

Variation #19 Querying OID_GEN_MEDIA_SUPPORTED as Administrator
Unable to find matching instance or all its expected properties in class
MSNdis_MediaSupported
FAILED: [88888] Unable to query error = 0x80041008

Variation #27 Querying OID_GEN_MEDIA_IN_USE as Administrator
Unable to find matching instance or all its expected properties in class
MSNdis_MediaInUse
FAILED: [88888] Unable to query error = 0x80041008

The docs say I’m not supposed to support OID_GEN_MEDIA_SUPPORTED or
OID_GEN_MEDIA_IN_USE because I provide that information at init and NDIS
takes care of those OID’s for me. The docs for OID_GEN_MEDIA_SUPPORTED
explicitly state that “NdisMedium802_3 Ethernet (802.3) is not supported
for NDIS 6.0 and later and later drivers.”
(http://msdn.microsoft.com/en-us/library/ff569609(v=vs.85).aspx) and
I’m not quite sure what to make of that. At init I set MediaType =
NdisMedium802_3… what value should I be using???

Thanks

James

I think they mean wifi driver should declare native wifi instead of 802.3 as
it does in ndis5x.

Calvin

On Sat, Jul 2, 2011 at 10:38 PM, James Harper > wrote:

> I’m having some problems with my ndis6 miniport driver in ndistest - it
> won’t progress to the 2c tests even though my setup is the same as when
> testing the ndis5 version of the drivers. Right at the end it says:
>
> Variation #9 Check to see if the correct adapters are present
> FAILED: [21843] No remote support adapter available!
>
> Two other tests that are failing are:
>
> Variation #19 Querying OID_GEN_MEDIA_SUPPORTED as Administrator
> Unable to find matching instance or all its expected properties in class
> MSNdis_MediaSupported
> FAILED: [88888] Unable to query error = 0x80041008
>
>
> Variation #27 Querying OID_GEN_MEDIA_IN_USE as Administrator
> Unable to find matching instance or all its expected properties in class
> MSNdis_MediaInUse
> FAILED: [88888] Unable to query error = 0x80041008
>
> The docs say I’m not supposed to support OID_GEN_MEDIA_SUPPORTED or
> OID_GEN_MEDIA_IN_USE because I provide that information at init and NDIS
> takes care of those OID’s for me. The docs for OID_GEN_MEDIA_SUPPORTED
> explicitly state that “NdisMedium802_3 Ethernet (802.3) is not supported
> for NDIS 6.0 and later and later drivers.”
> (http://msdn.microsoft.com/en-us/library/ff569609(v=vs.85).aspx) and
> I’m not quite sure what to make of that. At init I set MediaType =
> NdisMedium802_3… what value should I be using???
>
> Thanks
>
> James
>
>
>
>
> —
> 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
>

>

I think they mean wifi driver should declare native wifi instead of
802.3 as
it does in ndis5x.

Thanks. That makes sense… although it really isn’t clear from anything
in the documentation even though there are a few notes about wifi.

James