DOT11_DISASSOCIATE_PEER_REQUEST 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_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
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 7 and later versions of the Windows operating system. |
Header | windot11.h (include Ndis.h) |