Partager via


OID_DOT11_CURRENT_REG_DOMAIN

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 queried, the OID_DOT11_CURRENT_REG_DOMAIN object identifier (OID) requests that the miniport driver return the IEEE 802.11 dot11CurrentRegDomain management information base (MIB) object.

This MIB object defines the current regulatory domain used by the physical media dependent (PMD) sublayer of the current PHY type on the 802.11 station.

The data type for OID_DOT11_CURRENT_REG_DOMAIN is a ULONG value. The following table lists the values of the regulatory domains defined for the dot11CurrentRegDomain MIB object.

Name Value Regulatory domain

DOT11_REG_DOMAIN_OTHER

0x00000000

Defined by country code settings.

DOT11_REG_DOMAIN_FCC

0x00000010

United States

DOT11_REG_DOMAIN_DOC

0x00000020

Canada

DOT11_REG_DOMAIN_ETSI

0x00000030

Most of Europe

DOT11_REG_DOMAIN_SPAIN

0x00000031

Spain

DOT11_REG_DOMAIN_FRANCE

0x00000032

France

DOT11_REG_DOMAIN_MKK

0x00000040

Japan

 

The miniport driver, operating in Extensible Station (ExtSTA) mode, must support the OID_DOT11_CURRENT_REG_DOMAIN for query requests only. In this operating mode, the current regulatory domain is changed through a set request of OID_DOT11_DESIRED_COUNTRY_OR_REGION_STRING. For more information about the ExtSTA operation mode, see Extensible Station Operation Mode.

The 802.11 station is defined to be operating in a default regulatory domain whenever the miniport driver sets the value of the dot11CurrentRegDomain MIB object to any value except DOT11_REG_DOMAIN_OTHER through one of the following:

  • A call to the driver's MiniportInitializeEx function. In this situation, the driver can set the dot11CurrentRegDomain MIB object to a default regulatory domain based on configuration parameters from the system registry.

  • A method request of OID_DOT11_RESET_REQUEST. In this situation, the driver can restore the dot11CurrentRegDomain MIB object to its initialization value.

  • A set request of OID_DOT11_DESIRED_COUNTRY_OR_REGION_STRING.

Note  A Native 802.11 miniport driver that is designed to run on the Windows Vista or Windows Server 2008 operating systems must always reset this 802.11 MIB OID to its default value. This is the case regardless of the value of the bSetDefaultMIB member of the DOT11_RESET_REQUEST structure. This requirement applies to a miniport driver that, in a call to the NdisMSetMiniportAttributes function, sets MiniportAttributes -> Native_802_11_Attributes -> Header -> Revision to NDIS_MINIPORT_ADAPTER_802_11_ATTRIBUTES_REVISION_1.

 

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 MIB OIDs

Native 802.11 Wireless LAN OIDs