WDI_P2P_SERVICE_DISCOVERY_TYPE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// dot11wificxtypes.h

typedef enum _WDI_P2P_SERVICE_DISCOVERY_TYPE {
  WDI_P2P_SERVICE_DISCOVERY_TYPE_NO_SERVICE_DISCOVERY = 1,
  WDI_P2P_SERVICE_DISCOVERY_TYPE_SERVICE_NAME_ONLY = 2,
  WDI_P2P_SERVICE_DISCOVERY_TYPE_SERVICE_INFORMATION = 3,
  WDI_P2P_SERVICE_DISCOVERY_TYPE_MAX_VALUE = 0xFFFFFFFF
} WDI_P2P_SERVICE_DISCOVERY_TYPE;
View the official Windows Driver Kit DDI reference
// wditypes.h

typedef enum _WDI_P2P_SERVICE_DISCOVERY_TYPE {
  WDI_P2P_SERVICE_DISCOVERY_TYPE_NO_SERVICE_DISCOVERY,
  WDI_P2P_SERVICE_DISCOVERY_TYPE_SERVICE_NAME_ONLY,
  WDI_P2P_SERVICE_DISCOVERY_TYPE_SERVICE_INFORMATION,
  WDI_P2P_SERVICE_DISCOVERY_TYPE_MAX_VALUE
} WDI_P2P_SERVICE_DISCOVERY_TYPE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-dot11wificxtypes-wdi_p2p_service_discovery_type)

Description

[!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_SERVICE_DISCOVERY_TYPE enumeration defines the types of service discovery.

Constants

WDI_P2P_SERVICE_DISCOVERY_TYPE_NO_SERVICE_DISCOVERY:1

The adapter should only do a WFD discovery for WFD devices. It should not encode service hashes in the P2P IEs.

WDI_P2P_SERVICE_DISCOVERY_TYPE_SERVICE_NAME_ONLY:2

The adapter encodes service hashes in the P2P IEs during probe requests and indicates probe responses. It does not perform any GAS queries for service information.

WDI_P2P_SERVICE_DISCOVERY_TYPE_SERVICE_INFORMATION:3

The adapter encodes the service hashes in the IEs, tracks the service names from the probe responses, and does GAS queries to get service information for each responding device. This is only applicable if the adapter supports the P2P Service Information Discovery capability.

WDI_P2P_SERVICE_DISCOVERY_TYPE_MAX_VALUE:0xFFFFFFFF

The maximum value for this type.

Remarks

The WDI_P2P_SERVICE_DISCOVERY_TYPE enumeration is a value in the WDI_TLV_P2P_DISCOVER_MODE and WDI_TLV_P2P_BACKGROUND_DISCOVER_MODE TLVs.

See also

WDI_TLV_P2P_DISCOVER_MODE

WDI_TLV_P2P_BACKGROUND_DISCOVER_MODE


Windows Driver Kit DDI reference (ne-wditypes-_wdi_p2p_service_discovery_type)

_WDI_P2P_SERVICE_DISCOVERY_TYPE enumeration

Description

[!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_SERVICE_DISCOVERY_TYPE enumeration defines the types of service discovery.

Constants

WDI_P2P_SERVICE_DISCOVERY_TYPE_NO_SERVICE_DISCOVERY

The adapter should only do a WFD discovery for WFD devices. It should not encode service hashes in the P2P IEs.

WDI_P2P_SERVICE_DISCOVERY_TYPE_SERVICE_NAME_ONLY

The adapter encodes service hashes in the P2P IEs during probe requests and indicates probe responses. It does not perform any GAS queries for service information.

WDI_P2P_SERVICE_DISCOVERY_TYPE_SERVICE_INFORMATION

The adapter encodes the service hashes in the IEs, tracks the service names from the probe responses, and does GAS queries to get service information for each responding device. This is only applicable if the adapter supports the P2P Service Information Discovery capability.

WDI_P2P_SERVICE_DISCOVERY_TYPE_MAX_VALUE

The maximum value for this type.