WDI_P2P_DISCOVER_TYPE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// dot11wificxtypes.h

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;
View the official Windows Driver Kit DDI reference
// wditypes.h

typedef enum _WDI_P2P_DISCOVER_TYPE {
  WDI_P2P_DISCOVER_TYPE_SCAN_ONLY,
  WDI_P2P_DISCOVER_TYPE_FIND_ONLY,
  WDI_P2P_DISCOVER_TYPE_AUTO,
  WDI_P2P_DISCOVER_TYPE_SCAN_SOCIAL_CHANNELS,
  WDI_P2P_DISCOVER_TYPE_MAX_VALUE
} WDI_P2P_DISCOVER_TYPE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-dot11wificxtypes-wdi_p2p_discover_type)

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_P2P_DISCOVER_TYPE enumeration defines the Wi-Fi Direct discovery types.

Constants

WDI_P2P_DISCOVER_TYPE_SCAN_ONLY: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:2

Device discovery occurs only during the find phase.

WDI_P2P_DISCOVER_TYPE_AUTO:3

Device discovery is determined by the port.

WDI_P2P_DISCOVER_TYPE_SCAN_SOCIAL_CHANNELS: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: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.

See also

WDI_TLV_P2P_DISCOVER_MODE

WDI_TLV_P2P_BACKGROUND_DISCOVER_MODE


Windows Driver Kit DDI reference (ne-wditypes-_wdi_p2p_discover_type)

_WDI_P2P_DISCOVER_TYPE enumeration

Description

[!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_DISCOVER_TYPE enumeration defines the Wi-Fi Direct discovery types.

Constants

WDI_P2P_DISCOVER_TYPE_SCAN_ONLY

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

Device discovery occurs only during the find phase.

WDI_P2P_DISCOVER_TYPE_AUTO

Device discovery is determined by the port.

WDI_P2P_DISCOVER_TYPE_SCAN_SOCIAL_CHANNELS

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

The maximum value for this type.