Share via


OID_DOT11_CURRENT_OPERATION_MODE

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.

 

When set, the OID_DOT11_CURRENT_OPERATION_MODE object identifier (OID) requests that the miniport driver set its Native 802.11 or Wi-Fi Direct (WFD) operation mode to the specified value.

When queried, this OID requests that the miniport driver return its Native 802.11 operation mode.

The data type for OID_DOT11_CURRENT_OPERATION_MODE is the DOT11_CURRENT_OPERATION_MODE structure.

When OID_DOT11_CURRENT_OPERATION_MODE is set, the miniport driver must do the following:

  • If the miniport driver does not support the specified operation mode, fail the set request by returning NDIS_STATUS_BAD_VERSION from its MiniportOidRequest function.

  • If the operation mode changes, configure the 802.11 station with the default settings defined for the operation mode. The miniport driver must also transition to the initialization (INIT) state for the operation mode.

The operation mode setting must persist through resets resulting from a call to the miniport driver's MiniportResetEx function or a method request of OID_DOT11_RESET_REQUEST.

If the miniport driver supports the functionality of multiple MAC entities through virtualization, the driver should not return NDIS_STATUS_DOT11_MEDIA_IN_USE if the medium is blocked by another MAC.

A Wi-Fi Direct–capable miniport must support all defined WFD operation modes.

Requirements

Version

Available starting with Windows Vista.

Header

Windot11.h (include Ndis.h)

See also

Native 802.11 Wireless LAN OIDs