// 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 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_SERVICE_DISCOVERY_TYPE enumeration defines the types of service discovery.
WDI_P2P_SERVICE_DISCOVERY_TYPE_NO_SERVICE_DISCOVERY:1The 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:2The 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:3The 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:0xFFFFFFFFThe maximum value for this type.
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.
WDI_TLV_P2P_BACKGROUND_DISCOVER_MODE
[!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.
WDI_P2P_SERVICE_DISCOVERY_TYPE_NO_SERVICE_DISCOVERYThe 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_ONLYThe 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_INFORMATIONThe 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_VALUEThe maximum value for this type.