WDI_P2P_DISCOVER_TYPE enumeration (dot11wificxtypes.h)
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_P2P_DISCOVER_TYPE enumeration defines the Wi-Fi Direct discovery types.
Syntax
typedef enum _WDI_P2P_DISCOVER_TYPE {
WDI_P2P_DISCOVER_TYPE_SCAN_ONLY = 1,
WDI_P2P_DISCOVER_TYPE_FIND_ONLY = 2,
WDI_P2P_DISCOVER_TYPE_AUTO = 3,
WDI_P2P_DISCOVER_TYPE_SCAN_SOCIAL_CHANNELS = 4,
WDI_P2P_DISCOVER_TYPE_MAX_VALUE = 0xFFFFFFFF
} WDI_P2P_DISCOVER_TYPE;
Constants
WDI_P2P_DISCOVER_TYPE_SCAN_ONLY Value: 1 Device discovery occurs only during the scan phase. Adapter should scan each channel at least once every 250 milliseconds. |
WDI_P2P_DISCOVER_TYPE_FIND_ONLY Value: 2 Device discovery occurs only during the find phase. |
WDI_P2P_DISCOVER_TYPE_AUTO Value: 3 Device discovery is determined by the port. |
WDI_P2P_DISCOVER_TYPE_SCAN_SOCIAL_CHANNELS Value: 4 Port must perform device discovery by scanning only Wi-Fi Direct social channels. In this setting, the adapter should scan each social channel at least once every 250 milliseconds. |
WDI_P2P_DISCOVER_TYPE_MAX_VALUE Value: 0xFFFFFFFF The maximum value for this type. |
Remarks
The WDI_P2P_DISCOVER_TYPE enum is a value in the WDI_TLV_P2P_DISCOVER_MODE and WDI_TLV_P2P_BACKGROUND_DISCOVER_MODE TLVs.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 |
Minimum supported server | Windows Server 2022 |
Header | dot11wificxtypes.h |
See also
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