Native 802.11 Miniport Driver Reset

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.

 

For the most part, Native 802.11 miniport drivers follow the same guidelines for MiniportResetEx as other NDIS miniport drivers. For more information about these guidelines, see Adapter Check-for-Hang and Reset.

In addition, a Native 802.11 miniport driver must do the following when the MiniportResetEx function is called:

  • Reset the NIC, which would include a reset of both the media access control (MAC) and PHY layers on the 802.11 station.

  • Cancel any explicit scan operations in progress that were initiated through a set of OID_DOT11_SCAN_REQUEST. The miniport driver must also cancel any implicit scan operations initiated by the 802.11 station.

    The miniport driver must not clear the cached list of BSS networks that it detected during the previous scan operations.

    For more information about the scan operation, see Native 802.11 Scan Operations.

  • Cancel any explicit scan operations in progress.

  • Restore the MAC address used by the 802.11 station to the address previously used before the NIC reset. If the miniport driver was configured with a locally administered MAC address, the driver must configure the 802.11 station to use that address. Otherwise, the driver must configure the 802.11 station to use its permanent MAC address.

  • Retain the configuration settings and configure the 802.11 station with these settings following the NIC reset, including any cipher keys previously downloaded to the 802.11 station through set requests of Native 802.11 object identifiers (OIDs). The miniport driver must remain in the Native 802.11 operating state that it was in before the NIC reset.

If the miniport driver is operating in the Extensible Station (ExtSTA) mode, it must restore the connection if the 802.11 station becomes disconnected because of the reset. In this situation, the miniport driver must follow these guidelines:

  • If the 802.11 station is able to reconnect to the BSS, the miniport driver must issue indications defined for the roaming operation. For more information about the roaming operation, see Roaming Operations.

  • If the 802.11 station is unable to reconnect, the miniport driver must issue indications defined for the disconnection operation. For more information about the disconnection operation, see Disconnection Operations.

Adapter States of a Miniport Driver

Miniport Adapter States and Operations

Native 802.11 Reset, Halt, and Shutdown Operations