Share via


General Roaming Operation Guidelines

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.

 

The miniport driver can perform any number of roaming operations while connected to a basic service set (BSS) network. When performing the roaming operation, the miniport driver and 802.11 station must follow these guidelines regardless of the type of BSS network the station is configured for:

The miniport driver successfully completes the roaming operation whenever any of the following happens:

  • The 802.11 station has successfully associated with an AP in an infrastructure BSS network.

  • The 802.11 station has successfully associated with at least one peer station in an IBSS network.

Note  If the 802.11 station successfully roams to a BSS network, the miniport driver must not make a status indication of NDIS_STATUS_MEDIA_CONNECT.

 

The miniport driver fails the roaming operation whenever any of the following happens:

  • The 802.11 station has failed to associate with any AP or peer station. Examples of roaming operation failures include:
    • The 802.11 station has exhausted its list of candidate BSS networks without a successful association.
    • All of the PHYs on the 802.11 station have been turned off during the roaming operation. For example, a PHY can be turned off through a set request of OID_DOT11_NIC_POWER_STATE.
  • The operating system makes a method request of OID_DOT11_RESET_REQUEST or a set request of OID_DOT11_DISCONNECT_REQUEST.

If the roaming operation fails, the miniport driver must remain in the OP operating state and must periodically perform other roaming operations while in that state.

The following figure shows the sequence of events during a roaming operation.

diagram illustrating the sequence of events during a roam operation