WDI_P2P_SCAN_TYPE Enumeration

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

Requirements

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