// windot11.h
typedef struct _DOT11_DISASSOCIATE_PEER_REQUEST {
NDIS_OBJECT_HEADER Header;
DOT11_MAC_ADDRESS PeerMacAddr;
USHORT usReason;
} DOT11_DISASSOCIATE_PEER_REQUEST, *PDOT11_DISASSOCIATE_PEER_REQUEST;
View the official Windows Driver Kit DDI referenceNo description available.
[!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.
HeaderThe 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:
This member must be set to NDIS_OBJECT_TYPE_DEFAULT.
This member must be set to DOT11_DISASSOCIATE_PEER_REQUEST_REVISION_1.
This member must be set to sizeof(DOT11_DISASSOCIATE_PEER_REQUEST).
For more information about these members, see NDIS_OBJECT_HEADER.
PeerMacAddrThe 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.
usReasonA USHORT value that specifies the reason code field in the disassociation frame that is sent by the 802.11 miniport driver.
typedef struct _DOT11_DISASSOCIATE_PEER_REQUEST {
NDIS_OBJECT_HEADER Header;
DOT11_MAC_ADDRESS PeerMacAddr;
USHORT usReason;
} DOT11_DISASSOCIATE_PEER_REQUEST, *PDOT11_DISASSOCIATE_PEER_REQUEST;
This structure is used with OID_DOT11_DISASSOCIATE_PEER_REQUEST.
OID_DOT11_DISASSOCIATE_PEER_REQUEST