Rediger

Del via


OID_GEN_MAX_LINK_SPEED

As a query, NDIS and overlying drivers use the OID_GEN_MAX_LINK_SPEED OID to determine the maximum supported transmit and receive link speeds of a miniport adapter.

Version Information

Windows Vista and later versions of Windows
Supported.

NDIS 6.0 and later miniport drivers
Not requested. (see Remarks section)

Remarks

The miniport driver supplies the maximum link speed during initialization.

To specify the maximum link speeds, set the MaxXmitLinkSpeed and MaxRcvLinkSpeed members of the NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES structure that the miniport driver passes to the NdisMSetMiniportAttributes function. If a miniport driver does not support this OID, the driver should return NDIS_STATUS_NOT_SUPPORTED. If the miniport driver supports this OID, it returns the maximum link speeds in an NDIS_LINK_SPEED structure.

Requirements

Header

Ntddndis.h (include Ndis.h)

See also

NDIS_LINK_SPEED

NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES

NdisMSetMiniportAttributes