DOT11_DISASSOCIATE_PEER_REQUEST 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_DISASSOCIATE_PEER_REQUEST structure specifies a disassociation operation in which the NIC disassociates from a peer station.

Syntax


typedef struct _DOT11_DISASSOCIATE_PEER_REQUEST {
  NDIS_OBJECT_HEADER Header;
  DOT11_MAC_ADDRESS  PeerMacAddr;
  USHORT             usReason;
} DOT11_DISASSOCIATE_PEER_REQUEST, *PDOT11_DISASSOCIATE_PEER_REQUEST;

Members

Header

The type, revision, and size of the DOT11_DISASSOCIATE_PEER_REQUEST 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_DISASSOCIATE_PEER_REQUEST_REVISION_1.

Size

This member must be set to sizeof(DOT11_DISASSOCIATE_PEER_REQUEST).

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 is to disassociate from. If PeerMacAddr has a value of 0xFF, the 802.11 station must disassociate from all associated stations. When PeerMacAddr is a unicast address, the 802.11 station must disassociate from a specific station.

usReason

A USHORT value that specifies the reason code field in the disassociation frame that is sent by the 802.11 miniport driver.

Remarks

This structure is used with OID_DOT11_DISASSOCIATE_PEER_REQUEST.

Requirements

Version

Available in Windows 7 and later versions of the Windows operating system.

Header

Windot11.h (include Ndis.h)

See also

NDIS_OBJECT_HEADER
OID_DOT11_DISASSOCIATE_PEER_REQUEST

 

 

Send comments about this topic to Microsoft

Show: