DOT11_WFD_DISCOVER_DEVICE_FILTER structure (windot11.h)

Important  The Native 802.11 Wireless LAN interface is deprecated in Windows 10 and later. Please use the WLAN Device Driver Interface (WDI) instead. For more information about WDI, see WLAN Universal Windows driver model.
 
The DOT11_WFD_DISCOVER _DEVICE_FILTER structure describes a P2P device and Group Owner filter when responding to OID_DOT11_WFD_DISCOVERY_REQUEST requests.

Syntax

typedef struct _DOT11_WFD_DISCOVER_DEVICE_FILTER {
  DOT11_MAC_ADDRESS DeviceID;
  UCHAR             ucBitmask;
  DOT11_SSID        GroupSSID;
} DOT11_WFD_DISCOVER_DEVICE_FILTER, *PDOT11_WFD_DISCOVER_DEVICE_FILTER;

Members

DeviceID

The device address of a P2P Device or Group Owner to be discovered by the local P2P device.

ucBitmask

Filters which instances of the P2P device to discover. Possible values include:

Term Description
DISCOVERY_FILTER_BITMASK_DEVICE The local P2P device discovers the P2P device with the desired DeviceID.
DISCOVERY_FILTER_BITMASK_GO The local P2P device discovers a group with P2P group ID matching the specified DeviceID and GroupSSID.
DISCOVERY_FILTER_BITMASK_ANY The local P2P device needs only to discover the P2P device or any group owner hosted by the P2P device.

GroupSSID

If GroupSSID is not a zero-length SSID, this member specifies the SSID of a P2P group that the local P2P device discovers. If this is the P2P wildcard SSID ("DIRECT-"), the local P2P device discovers all groups with P2P Group ID matching the desired device ID.

Remarks

The local P2P device should not extend the discovery operation to find additional instances.

Note that if the value of ucBitmask is FILTER_BITMASK_DEVICE | FILTER_BITMASK_GO, the local P2P device should discover only one instance of the P2P device - either the P2P device or a GO with the desired P2P DeviceID and GroupSSID.

Requirements

Requirement Value
Minimum supported client Versions:_Supported in Windows 8
Header windot11.h (include Windot11.h)