// 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 referenceNo description available.
[!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.
WDI_P2P_SCAN_TYPE_ACTIVE:1Use 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:2Use passive scanning during device discovery.
WDI_P2P_SCAN_TYPE_AUTO:3Adapter 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:0xFFFFFFFFThe maximum value for this type.
The WDI_P2P_SCAN_TYPE enumeration is a value in the WDI_TLV_P2P_DISCOVER_MODE TLV.
[!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.
WDI_P2P_SCAN_TYPE_ACTIVEUse 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_PASSIVEUse passive scanning during device discovery.
WDI_P2P_SCAN_TYPE_AUTOAdapter 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_VALUEThe maximum value for this type.