共用方式為


OID_DOT11_WFD_SEND_PROVISION_DISCOVERY_REQUEST

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.

 

When set, the OID_DOT11_WFD_SEND_PROVISION_DISCOVERY_REQUEST object identifier (OID) requests that the Wi-Fi Direct (WFD) device send a provision discovery request packet to a peer WFD device.

The data type for OID_DOT11_WFD_SEND_PROVISION_DISCOVERY_REQUEST is the DOT11_SEND_PROVISION_DISCOVERY_REQUEST_PARAMETERS structure.

This OID is sent to the miniport as an NdisRequestSetInformation OID request type.

After receiving this OID, the miniport must create and populate all the required Peer-to-Peer (P2P) attributes in the P2P Information Element (IE) before it sends the provision discovery request packet.

After creating the packet for transmission, the miniport must complete the OID with status of NDIS_STATUS_INDICATION_REQUIRED. The completion of the attempt to send the provision discovery request attempt must be indicated to the system with a NDIS_STATUS_DOT11_WFD_PROVISION_DISCOVERY_REQUEST_SEND_COMPLETE indication. The miniport driver must send the NDIS_STATUS_DOT11_WFD_PROVISION_DISCOVERY_REQUEST_SEND_COMPLETE indication once it has stopped the attempt to send the provision discovery request. This must occur in either case of success or failure.

Miniport drivers should periodically attempt sending the Provision Discovery Request frame at intervals no longer than 50ms because a remote device may not be constantly available on its listen channel (or, operating channel in case of GO).

Requirements

Version

Versions: Supported in Windows 8.

Header

Windot11.h (include Windot11.h)

See also

DOT11_SEND_PROVISION_DISCOVERY_REQUEST_PARAMETERS

NDIS_STATUS_DOT11_WFD_PROVISION_DISCOVERY_REQUEST_SEND_COMPLETE