A miniport driver must make an NDIS_STATUS_DOT11_CAN_SUSTAIN_AP status indication after the NIC stops an 802.11 access point (AP).
The data type for this indication is the DOT11_CAN_SUSTAIN_AP_PARAMETERS structure.
While the NIC is in the Extensible Station AP (ExtAP) mode, it could determine that it can no longer operate the AP on the current PHY. For example, if a PHY is operating in orthogonal frequency division multiplexing (OFDM) mode, radar signals might interfere with how the PHY changes frequency.
If, because of these or similar circumstances, the NIC determines that it must stop AP operations, the miniport driver should perform the following operations:
Disassociate all peer stations from the AP.
Drop all pending frames.
Send all appropriate NDIS status indications to the operating system, which include NDIS_STATUS_DOT11_STOP_AP.
If the miniport driver receives an OID_DOT11_START_AP_REQUEST set request after it has indicated NDIS_STATUS_DOT11_STOP_AP but before it has indicated NDIS_STATUS_DOT11_CAN_SUSTAIN_AP, the driver should fail the OID request with a failure code of NDIS_STATUS_INVALID_STATE.
The miniport driver calls NdisMIndicateStatusEx to make an NDIS_STATUS_DOT11_CAN_SUSTAIN_AP indication, and must pass a pointer to an NDIS_STATUS_INDICATION structure by using the StatusIndication parameter. When the driver makes this indication, it must set the following members of the NDIS_STATUS_INDICATION structure:
StatusCode must be set to NDIS_STATUS_DOT11_CAN_SUSTAIN_AP.
StatusBuffer must be set to the address of a DOT11_CAN_SUSTAIN_AP_PARAMETERS structure.
StatusBufferSize must be set to sizeof(DOT11_CAN_SUSTAIN_AP_PARAMETERS).
|Available in Windows 7 and later versions of the Windows operating systems.|