WDI_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_SCAN_TYPE enumeration defines scan types.

Syntax

typedef enum _WDI_SCAN_TYPE {
  WDI_SCAN_TYPE_ACTIVE_ONLY = 1,
  WDI_SCAN_TYPE_PASSIVE_ONLY = 2,
  WDI_SCAN_TYPE_AUTO = 3,
  WDI_SCAN_TYPE_MAX_VALUE = 0xFFFF
} WDI_SCAN_TYPE;

Constants

 
WDI_SCAN_TYPE_ACTIVE_ONLY
Value: 1
The port should transmit a probe request on the channels that it scans. 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_SCAN_TYPE_PASSIVE_ONLY
Value: 2
The port should not transmit a probe request on the channels that it scans.
WDI_SCAN_TYPE_AUTO
Value: 3
The port can perform an active or passive can or can use a combination of both scan types. It should prefer using Active scans when possible. This is the default scan type setting.
WDI_SCAN_TYPE_MAX_VALUE
Value: 0xFFFF
The maximum value for this type.

Remarks

The WDI_SCAN_TYPE enum is a value in the WDI_TLV_SCAN_MODE and WDI_TLV_ADAPTER_NLO_SCAN_MODE TLVs.

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022
Header dot11wificxtypes.h

See also

WDI_TLV_SCAN_MODE

WDI_TLV_ADAPTER_NLO_SCAN_MODE