OID_GEN_MEDIA_SUPPORTED

As a query, the OID_GEN_MEDIA_SUPPORTED OID specifies the media types that a NIC can support but not necessarily the media types that the NIC currently uses.

Version Information

Windows Vista and later versions of Windows
Supported.

NDIS 6.0 and later miniport drivers
Obsolete.

The following media types were added for NDIS 6.0 and later drivers:

  • NdisMediumTunnel

  • NdisMediumLoopback

  • NdisMediumNative802_11

The following media types were added for NDIS 6.20 and later drivers:

  • NdisMediumIP

NDIS 5.1 miniport drivers
Mandatory. See OID_GEN_MEDIA_SUPPORTED (NDIS 5.1).

Windows XP
Supported.

NDIS 5.1 miniport drivers
Mandatory. See OID_GEN_MEDIA_SUPPORTED (NDIS 5.1).

Remarks

NDIS 6.0 and later miniport drivers do not receive this OID request. NDIS handles this OID with a cached value that miniport drivers supply during initialization.

These media types are listed as a proper subset of the following system-defined values:

NdisMedium802_3
Ethernet (802.3).

Note  NDIS 5.x miniport drivers that conform to the 802.11 interface must use this media type. For more information about the 802.11 interface, see 802.11 Wireless LAN Miniport Drivers.

NdisMedium802_5
Token Ring (802.5). This media type is not supported for NDIS 6.0 and later drivers.

Note  Starting with Windows 8, the operating system will not support this media type for any miniport drivers.

NdisMediumFddi
FDDI. This media type is not supported on Windows Vista and later versions of Windows.

NdisMediumWan
WAN

NdisMediumLocalTalk
LocalTalk

NdisMediumDix
DEC/Intel/Xerox (DIX) Ethernet

NdisMediumArcnetRaw
ARCNET (raw). This media type is not supported on Windows Vista and later versions of Windows.

NdisMediumArcnet878_2
ARCNET (878.2). This media type is not supported on Windows Vista and later versions of Windows.

NdisMediumAtm
ATM. This media type is not supported for NDIS 6.0 and later drivers.

NdisMediumNative802_11
Native 802.11. This media type is used by miniport drivers that conform to the Native 802.11 interface. For more information about this interface, see Native 802.11 Wireless LAN Miniport Drivers.

NdisMediumWirelessWan
Various types of NdisWirelessXxx media. This media type is not available for use beginning with Windows Vista and later versions of Windows.

NdisMediumIrda
Infrared (IrDA).

NdisMediumCoWan
Connection-oriented WAN.

NdisMedium1394
IEEE 1394 (firewire) bus. This media type is not supported on Windows Vista and later versions of Windows.

NdisMediumBpc
Broadcast PC network.

NdisMediumInfiniBand
InfiniBand network.

NdisMediumTunnel
Tunnel network.

NdisMediumLoopback
NDIS loopback network.

NdisMediumIP
A generic medium that is capable of sending and receiving raw IP packets.

NDIS 5. x miniport drivers that support wireless LAN (WLAN) or wireless WAN (WWAN) packets appear to the operating system and to NDIS as Ethernet packets. These NDIS drivers must provide support for WWAN or WLAN networks as Ethernet networks. Such drivers declare their medium as NdisMedium802_3 and emulate Ethernet to higher-level NDIS drivers. Such drivers must also declare in OID_GEN_PHYSICAL_MEDIUM the appropriate physical medium that they support..

For more information about NDIS 5.X WLAN miniport drivers, see 802.11 Wireless LAN Miniport Drivers.

NDIS 6.0 and later miniport drivers that support the WLAN media transfer packets that appear to the operating system and to NDIS as IEEE 802.11 packets. These NDIS drivers must provide support for WLAN networks as Native 802.11 miniport drivers. Such drivers declare their medium as NdisMediumNative802_11.

For more information about Native 802.11 miniport drivers, see Native 802.11 Wireless LAN Miniport Drivers.

If the underlying miniport driver returns NULL for this query, or if an experimental media type is used, the driver must indicate receive operations using the NdisMIndicateReceiveNetBufferLists function. Any protocol that is bound to such an underlying miniport driver receives all such indications, that is, the protocol driver cannot filter receive operations with OID_GEN_CURRENT_PACKET_FILTER.

Requirements

Header

Ntddndis.h (include Ndis.h)

See also

NdisMIndicateReceiveNetBufferLists

OID_GEN_CURRENT_PACKET_FILTER

OID_GEN_PHYSICAL_MEDIUM