NDIS_STATUS_DOT11_DISASSOCIATION (Compact 2013)
3/26/2014
A miniport driver must make a NDIS_STATUS_DOT11_DISASSOCIATION indication if the 802.11 station performs a disassociation operation with either an access point (AP) (for infrastructure BSS networks) or peer station (for independent BSS (IBSS) networks).
The data type for this indication is the DOT11_DISASSOCIATION_PARAMETERS structure.
The miniport driver calls NdisMIndicateStatusEx to make an NDIS_STATUS_DOT11_DISASSOCIATION indication, and must pass a pointer to an NDIS_STATUS_INDICATION structure through the StatusIndication parameter. When it makes this indication, the driver must set the following members of the NDIS_STATUS_INDICATION structure:
- StatusCode must be set to NDIS_STATUS_DOT11_DISASSOCIATION
- StatusBuffer must be set to the address of a DOT11_DISASSOCIATION_PARAMETERS structure
- StatusBufferSize must be set to sizeof(DOT11_DISASSOCIATION_PARAMETERS)
The miniport driver can make the NDIS_STATUS_DOT11_DISASSOCIATION indication only after it has completed an association operation with an AP or peer station that is identified by the MacAddr member. The miniport driver indicates the completion of an association operation through the NDIS_STATUS_DOT11_ASSOCIATION_COMPLETION indication.
After the miniport driver makes the NDIS_STATUS_DOT11_DISASSOCIATION indication and if the IEEE 802.11 dot11DesiredBssType MIB object is set to dot11_BSS_type_infrastucture, the 802.11 station must do the following:
- If the uReason member was set to DOT11_DISASSOC_REASON_OS, the 802.11 station must not try to roam or associate with any AP in the BSS. The miniport driver must transition to the ExtSTA INIT operation mode. The 802.11 station must also wait until the next set request of OID_DOT11_CONNECT_REQUEST before it tries an association operation.
- If the uReason member was not set to DOT11_DISASSOC_REASON_OS, the 802.11 station must try to roam to other APs within the basic service set (BSS) with which the station was previously associated.
For more information about the dot11DesiredBssType MIB object, see OID_DOT11_DESIRED_BSS_TYPE.
See Also
Reference
Native 802.11 Extensible Station Status Indications
DOT11_DISASSOCIATION_PARAMETERS
NdisMIndicateStatusEx
NDIS_STATUS_INDICATION
NDIS_STATUS_DOT11_ASSOCIATION_COMPLETION
OID_DOT11_CONNECT_REQUEST
OID_DOT11_DESIRED_BSS_TYPE
Native 802.11 Wireless LAN Status Indications