Compartilhar via


OID_DOT11_WFD_DISCONNECT_FROM_GROUP_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_DISCONNECT_FROM_GROUP_REQUEST object identifier (OID) requests that a Wi-Fi Direct (WFD) client perform a disconnection operation from the WFD group it joined previously. The operation for this OID is identical to that of an OID_DOT11_DISCONNECT_REQUEST request for an Extensible Station (ExtSTA) port.

No data is associated with this OID.

When OID_DOT11_WFD_DISCONNECT_FROM_GROUP_REQUEST is set, the miniport driver must do the following:

  • If the WFD client is not joined to a group, fail the set request by returning NDIS_STATUS_INVALID_STATE from its MiniportOidRequest function.

  • If the WFD client is performing a connection operation initiated through a set request of OID_DOT11_WFD_CONNECT_TO_GROUP_REQUEST, fail the set request by returning NDIS_STATUS_INVALID_STATE from its MiniportOidRequest function. For more information about the connection operation, see Connection Operations.

  • If the WFD client station is joined to a group, perform a disconnection operation from the WFD group. For more information about the disconnection operation, see Disconnection Operations.

  • The WFD client must not power the radio off.

  • The miniport driver must transition to the INIT state of the WFD client port operation mode. For more information about operation modes and related states, see Extensible Station Operation Mode.

  • The WFD client must stay disconnected from any WFD group until the next set request of OID_DOT11_WFD_CONNECT_TO_GROUP_REQUEST.

When OID_DOT11_WFD_DISCONNECT_FROM_GROUP_REQUESTis set, the miniport driver can do one of the following:

  • Wait for the disconnection operation to complete before completing the set request.

  • Initiate the disconnection operation and complete the set request. The miniport driver must return NDIS_STATUS_PENDING from its MiniportOidRequest function after initiating the disconnection operation. After the disconnection operation has finished, the miniport driver completes the set request by calling NdisMRequestComplete.The miniport driver also makes the NDIS_STATUS_DOT11_CONNECTION_COMPLETION asynchronously after the set request.

Requirements

Version

Supported starting with Windows 8.

Header

Windot11.h (include Windot11.h)

See also

OID_DOT11_DISCONNECT_REQUEST

OID_DOT11_WFD_CONNECT_TO_GROUP_REQUEST