Bewerken

Delen via


DOT11_MAC_PARAMETERS structure (windot11.h)

Important

WiFiCx is the new Wi-Fi driver model released in Windows 11. We recommend that you use WiFiCx to take advantage of the latest features. The WDI driver model is now in maintenance mode and will only receive high priority fixes.

The DOT11_MAC_PARAMETERS is the optional input for an OID_DOT11_CREATE_MAC request. The device role is defined in an operation mode bitmask included in this structure.

Syntax

typedef struct _DOT11_MAC_PARAMETERS {
  NDIS_OBJECT_HEADER Header;
  ULONG              uOpmodeMask;
} DOT11_MAC_PARAMETERS, *PDOT11_MAC_PARAMETERS;

Members

Header

The object header identifying the type and revision of this structure. The required member settings of NDIS_OBJECT_HEADER are the following:

Type

Must be set to NDIS_OBJECT_TYPE_DEFAULT

Revision

Must be set to DOT11_MAC_PARAMETERS_REVISION_1

Size

Must be set to DOT11_SIZEOF_MAC_PARAMETERS_REVISION_1

uOpmodeMask

A bitwise OR value of the operation modes Windows may set for the created port. This bitmask is defined through the following:

DOT11_OPERATION_MODE_WFD_DEVICE

Specifies that the miniport driver supports the Wi-Fi Direct Device operation mode.

DOT11_OPERATION_MODE_WFD_GROUP_OWNER

Specifies that the miniport driver supports the Wi-Fi Direct Group Owner operation mode.

DOT11_OPERATION_MODE_WFD_CLIENT

Specifies that the miniport driver supports the Wi-Fi Direct Client operation mode.

Requirements

Requirement Value
Minimum supported client Versions:_Supported in Windows 8
Header windot11.h (include Windot11.h)

See also

OID_DOT11_CREATE_MAC

NDIS_OBJECT_HEADER