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

Syntax

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;

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.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header wditypes.hpp