Compartilhar via


NDIS_STATUS_DOT11_MPDU_MAX_LENGTH_CHANGED

Important  The Native 802.11 Wireless LAN interface is deprecated in Windows 10 and later. Please use the WLAN Device Driver Interface (WDI) instead. For more information about WDI, see WLAN Universal Windows driver model.

 

A miniport driver must make an NDIS_STATUS_DOT11_MPDU_MAX_LENGTH_CHANGED indication after the maximum media access control (MAC) protocol data unit (MPDU) frame size is changed for a PHY on the 802.11 station.

The data type for this indication is the DOT11_MPDU_MAX_LENGTH_INDICATION structure:

    typedef struct _DOT11_MPDU_MAX_LENGTH_INDICATION {
         NDIS_OBJECT_HEADER Header;
         ULONG uPhyId;
         ULONG uMPDUMaxLength;
    } DOT11_MPDU_MAX_LENGTH_INDICATION,   *PDOT11_MPDU_MAX_LENGTH_INDICATION;
  

The DOT11_MPDU_MAX_LENGTH_INDICATION structure contains the following members:

Header
The type, revision, and size of the DOT11_MPDU_MAX_LENGTH_INDICATION structure. This member is formatted as an NDIS_OBJECT_HEADER structure.

The miniport driver must set the members of Header to the following values:

Type
This member must be set to NDIS_OBJECT_TYPE_DEFAULT.

Revision
This member must be set to DOT11_MPDU_MAX_LENGTH_INDICATION_REVISION_1.

Size
This member must be set to sizeof(DOT11_MPDU_MAX_LENGTH_INDICATION).

For more information about these members, see NDIS_OBJECT_HEADER.

uPhyId
The identifier (ID) of the PHY on which the maximum MPDU length was changed. The PHY ID is the index within the list of supported PHYs that are returned by the driver through a query of OID_DOT11_SUPPORTED_PHY_TYPES.

The uPhyId member is applicable only for miniport drivers that operate in Extensible Station (ExtSTA) mode.

uMPDUMaxLength
The new maximum length for MPDU frames that are supported by the PHY that is identified by the uPhyId member.

The uMPDUMaxLength member is applicable only for miniport drivers that operate in Extensible Station (ExtSTA) mode. For more information about the ExtSTA operation mode, see Extensible Station Operation Mode.

The miniport driver calls NdisMIndicateStatusEx to make an NDIS_STATUS_DOT11_MPDU_MAX_LENGTH_CHANGED indication, and must pass a pointer to an NDIS_STATUS_INDICATION structure through the StatusIndication parameter.

When making this indication, the miniport driver must set the members of the NDIS_STATUS_INDICATION structure to the following values:

StatusCode
This member must be set to NDIS_STATUS_DOT11_MPDU_MAX_LENGTH_CHANGED.

StatusBuffer
This memer must be set to the address of a DOT11_MPDU_MAX_LENGTH_INDICATION structure.

StatusBufferSize
This member must be set to sizeof(DOT11_MPDU_MAX_LENGTH_INDICATION).

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systemss.

Header

Windot11.h (include Ndis.h)