WDI_P2P_SCAN_TYPE - NtDoc

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

typedef enum _WDI_P2P_SCAN_TYPE {
  WDI_P2P_SCAN_TYPE_ACTIVE = 1,
  WDI_P2P_SCAN_TYPE_PASSIVE = 2,
  WDI_P2P_SCAN_TYPE_AUTO = 3,
  WDI_P2P_SCAN_TYPE_MAX_VALUE = 0xFFFFFFFF
} WDI_P2P_SCAN_TYPE;
View the official Windows Driver Kit DDI reference
// wditypes.h

typedef enum _WDI_P2P_SCAN_TYPE {
  WDI_P2P_SCAN_TYPE_ACTIVE,
  WDI_P2P_SCAN_TYPE_PASSIVE,
  WDI_P2P_SCAN_TYPE_AUTO,
  WDI_P2P_SCAN_TYPE_MAX_VALUE
} WDI_P2P_SCAN_TYPE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-dot11wificxtypes-wdi_p2p_scan_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_SCAN_TYPE enumeration defines the Wi-Fi Direct scan types.

Constants

WDI_P2P_SCAN_TYPE_ACTIVE:1

Use active scanning during device discovery. Even for active scans, the port must follow regulatory restrictions on the channel and must not scan on channels that would need a passive scan.

WDI_P2P_SCAN_TYPE_PASSIVE:2

Use passive scanning during device discovery.

WDI_P2P_SCAN_TYPE_AUTO:3

Adapter determines scan type during device discovery. It should prefer using Active scans when possible. This is the default scan type setting.

WDI_P2P_SCAN_TYPE_MAX_VALUE:0xFFFFFFFF

The maximum value for this type.

Remarks

The WDI_P2P_SCAN_TYPE enumeration is a value in the WDI_TLV_P2P_DISCOVER_MODE TLV.

See also

WDI_TLV_P2P_DISCOVER_MODE


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

_WDI_P2P_SCAN_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_SCAN_TYPE enumeration defines the Wi-Fi Direct scan types.

Constants

WDI_P2P_SCAN_TYPE_ACTIVE

Use active scanning during device discovery. Even for active scans, the port must follow regulatory restrictions on the channel and must not scan on channels that would need a passive scan.

WDI_P2P_SCAN_TYPE_PASSIVE

Use passive scanning during device discovery.

WDI_P2P_SCAN_TYPE_AUTO

Adapter determines scan type during device discovery. It should prefer using Active scans when possible. This is the default scan type setting.

WDI_P2P_SCAN_TYPE_MAX_VALUE

The maximum value for this type.