_DOT11_INCOMING_ASSOC_DECISION structure

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.
The DOT11_INCOMING_ASSOC_DECISION structure specifies the miniport driver's decision whether to accept an incoming association request from a peer station on an infrastructure BSS.

Syntax

typedef struct _DOT11_INCOMING_ASSOC_DECISION {
  NDIS_OBJECT_HEADER Header;
  DOT11_MAC_ADDRESS  PeerMacAddr;
  BOOLEAN            bAccept;
  USHORT             usReasonCode;
  ULONG              uAssocResponseIEsOffset;
  ULONG              uAssocResponseIEsLength;
} DOT11_INCOMING_ASSOC_DECISION, *PDOT11_INCOMING_ASSOC_DECISION;

Members

bAccept

A Boolean value that indicates whether the miniport driver accepts the incoming association request. If TRUE, the driver instructs the NIC to accept the association request. Otherwise, the NIC should reject the request.

Header

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

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

Value Meaning
Type
This member must be set to NDIS_OBJECT_TYPE_DEFAULT.
Revision
This member must be set to DOT11_INCOMING_ASSOC_DECISION_REVISION_1.
Size
This member must be set to sizeof(DOT11_INCOMING_ASSOC_DECISION).

For more information about these members, see NDIS_OBJECT_HEADER.

PeerMacAddr

The media access control (MAC) address of the peer station that the 802.11 station attempted to connect to.

uAssocResponseIEsLength

The length of the additional information elements (IEs), in bytes, which the NIC must add to the probe response frame that it sends to the peer station that seeks association. The default value is zero.

uAssocResponseIEsOffset

The offset of the additional information elements (IEs), in bytes, which the NIC must add to the association response frame that it sends to the peer station that seeks association. This offset is relative to the start of the buffer that contains the DOT11_INCOMING_ASSOC_DECISION structure. The default value is zero.

usReasonCode

A USHORT value that represents a reason code to include in the NIC's association response if bAccept is FALSE.

Remarks

This structure is used with OID_DOT11_INCOMING_ASSOCIATION_DECISION.

Requirements

   
Windows version Available in Windows 7 and later versions of the Windows operating systems. Available in Windows 7 and later versions of the Windows operating systems.
Header windot11.h (include Ndis.h)

See Also

OID_DOT11_INCOMING_ASSOCIATION_DECISION

NDIS_OBJECT_HEADER

Send comments about this topic to Microsoft