Compartir a través de


Querying Radio Power States

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 following Native 802.11 object identifiers (OIDs) query the power state of the radio on the 802.11 NIC:

OID_DOT11_NIC_POWER_STATE
This OID returns the current software setting for the NIC's radio power state.

OID_DOT11_HARDWARE_PHY_STATE
This OID returns the status of the hardware setting that controls the radio power on the NIC. When OID_DOT11_HARDWARE_PHY_STATE is queried, the miniport driver returns the hardware setting based on the conditions described in the following table.

Returned hardware setting Condition

Enabled

Either a hardware setting is not present on the NIC or the setting is enabled.

Disabled

A hardware setting is present on the NIC and is disabled.

 

Note  OID_DOT11_HARDWARE_PHY_STATE is only supported when a miniport driver is operating in the Extensible Station (ExtSTA) mode.

 

If the miniport driver is operating in ExtSTA mode, the driver returns the power state of the PHY referenced through the current PHY identifier (ID). The operating system sets or queries the current PHY ID through OID_DOT11_CURRENT_PHY_ID. For more information about the method used to reference PHYs within the ExtSTA operation mode, see 802.11 PHY Configuration.