WDI_P2P_LISTEN_STATE enumeration (wditypes.hpp)
Important
This topic is part of the WDI driver model released in Windows 10. The WDI driver model is in maintenance mode and will only receive high priority fixes. 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 WDI_P2P_LISTEN_STATE enumeration defines the Wi-Fi Direct listen states.
Syntax
typedef enum _WDI_P2P_LISTEN_STATE {
WDI_P2P_LISTEN_STATE_OFF,
WDI_P2P_LISTEN_STATE_PASSIVE_AVAILABILITY,
WDI_P2P_LISTEN_STATE_AUTOMATIC_AVAILABILITY,
WDI_P2P_LISTEN_STATE_HIGH_AVAILABILITY,
WDI_P2P_LISTEN_STATE_DUMMY_MAX_VALUE
} WDI_P2P_LISTEN_STATE;
Constants
WDI_P2P_LISTEN_STATE_OFF When this listen state is set:
|
WDI_P2P_LISTEN_STATE_PASSIVE_AVAILABILITY When this listen state is set:
|
WDI_P2P_LISTEN_STATE_AUTOMATIC_AVAILABILITY When this listen state is set:
Note The optimized duty cycle for automatic availability listen state is outside the scope of this specification. The most aggressive power saving schedule that may be implemented by the port is being available for a contiguous 500ms out of every 5 seconds. |
WDI_P2P_LISTEN_STATE_HIGH_AVAILABILITY When this listen state is set:
Note The duty cycle for this listen state is 300ms availability every 400ms on the configured social channel. |
WDI_P2P_LISTEN_STATE_DUMMY_MAX_VALUE The maximum value for this type. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Header | wditypes.hpp |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for