共用方式為


OID_DOT11_HARDWARE_PHY_STATE

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_HARDWARE_PHY_STATE object identifier (OID) requests that the miniport driver return the value of the Extensible Station (ExtSTA) msDot11HardwarePHYState management information base (MIB) object.

The msDot11HardwarePHYState MIB object defines the power state of the current PHY type on the 802.11 station.

The data type for OID_DOT11_HARDWARE_PHY_STATE is a BOOLEAN value. A value of TRUE indicates that the PHY is turned on.

Some 802.11 NICs support a hardware setting on the computer for turning the PHY on or off. The OID_DOT11_HARDWARE_PHY_STATE OID queries power state of the current PHY type based on the hardware setting.

When OID_DOT11_HARDWARE_PHY_STATE is queried, the miniport driver must set the returned BOOLEAN value as follows:

  • If the NIC does support a hardware setting, the value must be FALSE (if the PHY is turned off) or TRUE (if the PHY is turned on).

  • If the NIC does not support a hardware setting, the value must be TRUE.

Software settings for the PHY power state are made through the Native 802.11 Operational msDot11NICPowerState MIB variable. For more information about this MIB variable, see OID_DOT11_NIC_POWER_STATE.

The 802.11 station must set the PHY's power state based on the msDot11NICPowerState and msDot11HardwarePHYState MIB variables in the following way:

msDot11NICPowerState value msDot11HardwarePHYState value PHY power state

TRUE

TRUE

Turned on

FALSE

TRUE

Turned off

TRUE

FALSE

Turned off

FALSE

FALSE

Turned off

 

The current PHY type is determined through the ExtSTA msDot11CurrentPhyID MIB object. This MIB object specifies the index (ID) of the current PHY type within the 802.11 station's list of supported PHY types. For more information about this MIB object, see OID_DOT11_CURRENT_PHY_ID.

The miniport driver must make an NDIS_STATUS_DOT11_PHY_STATE_CHANGED indication whenever the value of the msDot11HardwarePHYState MIB object changes.

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