Setting 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.
Only the software setting for the NIC's radio power state can be modified. The hardware setting for the NIC's radio power state is a read-only attribute of the radio power switch (if present) on the 802.11 NIC.
The miniport driver must follow these guidelines regarding the software setting for the radio power state:
The software setting can only be modified through a set request of the OID_DOT11_NIC_POWER_STATE object identifier (OID).
The software setting must persist through the reset operations described in Native 802.11 Reset, Halt and Shutdown Operations.
If the miniport driver is operating in ExtSTA mode, the driver changes the software setting for the current PHY identifier (ID) when OID_DOT11_NIC_POWER_STATE is set. 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.
If the 802.11 NIC supports multiple PHYs that share a common radio on the NIC, the miniport driver cannot turn off the radio until all PHYs have been turned off through sets of OID_DOT11_NIC_POWER_STATE.