Поделиться через


NDIS_STATUS_DOT11_CAN_SUSTAIN_AP

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.

 

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).

Requirements

Version

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

Header

Windot11.h (include Ndis.h)

See also

DOT11_CAN_SUSTAIN_AP_PARAMETERS

NDIS_STATUS_DOT11_STOP_AP

NDIS_STATUS_INDICATION

NdisMIndicateStatusEx

OID_DOT11_START_AP_REQUEST