DOT11_WFD_DEVICE_INFO - NtDoc

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

typedef struct _DOT11_WFD_DEVICE_INFO {
  NDIS_OBJECT_HEADER    Header;
  DOT11_MAC_ADDRESS     DeviceAddress;
  USHORT                ConfigMethods;
  DOT11_WPS_DEVICE_TYPE PrimaryDeviceType;
  DOT11_WPS_DEVICE_NAME DeviceName;
} DOT11_WFD_DEVICE_INFO, *PDOT11_WFD_DEVICE_INFO;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-windot11-_dot11_wfd_device_info)

_DOT11_WFD_DEVICE_INFO structure

Description

[!Important] WiFiCx is the new Wi-Fi driver model released in Windows 11. We recommend that you use WiFiCx to take advantage of the latest features. The WDI driver model is now in maintenance mode and will only receive high priority fixes.

the DOT11_WFD_DEVICE_INFO structure is included with a OID_DOT11_WFD_DEVICE_INFO request. The structure contains Wi-Fi Direct (WFD) device information related to Peer-to-Peer (P2P) attributes.

Members

Specifies the type, revision and size of the DOT11_WFD_DEVICE_INFO structure. The required settings for the members of Header are the following:

Member Setting
Type NDIS_OBJECT_TYPE_DEFAULT
Revision DOT11_WFD_DEVICE_INFO_REVISION_1
Size DOT11_SIZEOF_WFD_DEVICE_INFO_REVISION_1

DeviceAddress

The device address to assign to a WFD port. This address is used when constructing P2P Information Elements (IEs).

ConfigMethods

The configuration methods supported by the WFD device.

PrimaryDeviceType

The primary device type for the WFD device.

DeviceName

A friendly name assigned to the WFD device.

Syntax

typedef struct _DOT11_WFD_DEVICE_INFO {
  NDIS_OBJECT_HEADER    Header;
  DOT11_MAC_ADDRESS     DeviceAddress;
  USHORT                ConfigMethods;
  DOT11_WPS_DEVICE_TYPE PrimaryDeviceType;
  DOT11_WPS_DEVICE_NAME DeviceName;
} DOT11_WFD_DEVICE_INFO, *PDOT11_WFD_DEVICE_INFO;