WDI_P2P_SCAN_TYPE enumeration (dot11wificxtypes.h)
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.
Syntax
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;
Constants
WDI_P2P_SCAN_TYPE_ACTIVE Value: 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 Value: 2 Use passive scanning during device discovery. |
WDI_P2P_SCAN_TYPE_AUTO Value: 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 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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 |
Minimum supported server | Windows Server 2022 |
Header | dot11wificxtypes.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for