Skip to content

Latest commit

 

History

History
76 lines (56 loc) · 2.23 KB

ne-dot11wificxtypes-wdi_power_mode_reason_code.md

File metadata and controls

76 lines (56 loc) · 2.23 KB
UID tech.root title ms.date targetos description req.construct-type req.ddi-compliance req.header req.include-header req.kmdf-ver req.max-support req.target-min-winverclnt req.target-min-winversvr req.target-type req.typenames req.umdf-ver topic_type api_type api_location api_name f1_keywords dev_langs
NE:dot11wificxtypes._WDI_POWER_MODE_REASON_CODE
netvista
WDI_POWER_MODE_REASON_CODE (dot11wificxtypes.h)
04/30/2021
Windows
The WDI_POWER_MODE_REASON_CODE enum defines the reasons for entering the Power Save state.
enumeration
dot11wificxtypes.h
Windows 11
Windows Server 2022
apiref
HeaderDef
dot11wificxtypes.h
_WDI_POWER_MODE_REASON_CODE
WDI_POWER_MODE_REASON_CODE
_WDI_POWER_MODE_REASON_CODE
dot11wificxtypes/_WDI_POWER_MODE_REASON_CODE
WDI_POWER_MODE_REASON_CODE
dot11wificxtypes/WDI_POWER_MODE_REASON_CODE
c++

-description

Important

This topic is part of the WiFiCx driver model. WiFiCx is the Wi-Fi driver model released in Windows 11. We recommend that you use WiFiCx to take advantage of the latest features. The previous Wi-Fi driver model WDI is in maintenance mode and will only receive high priority fixes.

The WDI_POWER_MODE_REASON_CODE enumeration defines the reasons for entering the Power Save state.

-enum-fields

-field WDI_POWER_MODE_REASON_CODE_NO_CHANGE:0

Device is initially in this state and has not changed since.

-field WDI_POWER_MODE_REASON_CODE_NONCOMPLANT_AP:1

The connected AP didn't handle PSM correctly.

-field WDI_POWER_MODE_REASON_CODE_LEGACY_P2P_DEVICE:2

WFD device is legacy.

-field WDI_POWER_MODE_REASON_CODE_COMPLIANT_AP:3

AP is compliant.

-field WDI_POWER_MODE_REASON_CODE_COMPLIANT_P2P_DEVICE:4

All connected WFD device can do PSM.

-field WDI_POWER_MODE_REASON_CODE_OTHERS:5

Other reason.

-remarks

The WDI_POWER_MODE_REASON_CODE enumeration is a value in the WDI_TLV_GET_AUTO_POWER_SAVE TLV.

-see-also

WDI_TLV_GET_AUTO_POWER_SAVE