Condividi tramite


OID_DOT11_DESIRED_BSS_TYPE

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_DESIRED_BSS_TYPE object identifier (OID) requests that the miniport driver set the value of the IEEE 802.11 dot11DesiredBSSType management information base (MIB) object to the specified value.

When queried, OID_DOT11_DESIRED_BSS_TYPE requests that the miniport driver return the value of the dot11DesiredBSSType MIB object.

The dot11DesiredBSSType MIB object specifies the type of basic service set (BSS) that the 802.11 station can join or start. The 802.11 station uses the desired BSS type to determine the type of 802.11 BSS to join or start in the following way:

  • If the desired BSS type is dot11_BSS_type_infrastructure, the 802.11 station can only connect to infrastructure BSSs.

  • If the desired BSS type is dot11_BSS_type_independent, the 802.11 station can only connect to an existing independent BSS (IBSS) or start a new IBSS network.

The miniport driver cannot set the dot11DesiredBSSType MIB object to dot11_BSS_type_any. The miniport driver must fail a set request for this value by returning NDIS_STATUS_INVALID_DATA from its MiniportOidRequest function.

Regardless of whether the dot11DesiredBSSType MIB object changes when OID_DOT11_DESIRED_BSS_TYPE is set, the miniport driver must always reload the defaults values for the following:

The default for the dot11DesiredBSSType MIB object is dot11_BSS_type_infrastructure. The miniport driver must set this MIB object to its default if any of the following occur:

  • The miniport driver's MiniportInitializeEx function is called.

  • A method request of OID_DOT11_RESET_REQUEST is made to reset the MAC layer of the 802.11 station and the bSetDefaultMIB member of the DOT11_RESET_REQUEST structure is TRUE.

Requirements

Version

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

Header

Windot11.h (include Ndis.h)

See also

Native 802.11 Wireless LAN OIDs