A miniport driver must make an NDIS_STATUS_DOT11_WFD_DISCOVER_COMPLETE indication after a Wi-Fi Direct (WFD) device discovery operation completes. A discover operation is initiated by an OID_DOT11_WFD_DISCOVER_REQUEST request.
The data type for this indication is the DOT11_WFD_DISCOVER_COMPLETE_PARAMETERS structure.
The miniport driver calls NdisMIndicateStatusEx to make an NDIS_STATUS_DOT11_WFD_DISCOVER_COMPLETE indication, and must pass a pointer to an NDIS_STATUS_INDICATION structure through the StatusIndication parameter. When making this indication, the miniport driver must set the following members of the NDIS_STATUS_INDICATION structure:
StatusCode must be set to NDIS_STATUS_DOT11_WFD_DISCOVER_COMPLETE.
StatusBuffer must be set to the address of a DOT11_WFD_DISCOVER_COMPLETE_PARAMETERS structure.
StatusBufferSize must be set to the total of both the size of DOT11_WFD_DISCOVER_COMPLETE_PARAMETERS and the size of the list of discovered devices.
The discover completion indication must not include more than DOT11_WFD_DISCOVER_COMPLETE_MAX_LIST_SIZE entries. If more devices were recently discovered, the miniport should populate the completion structure to the maximum list size and use the uTotalNumOfEntries member of DOT11_WFD_DISCOVER_COMPLETE_PARAMETERS to specify the total number of discovered devices. The system may query for the full list later by issuing OID_DOT11_WFD_ENUM_DEVICE_LIST.
The miniport must include both WFD devices and legacy networks in the list of reported devices.
|Supported starting with Windows 8.|