/* Retrieves a Unicode string that is the user readable name of the controller that is being managed by an EFI Driver. */
EFI_STATUS EFIAPI WifiMgrDxeComponentNameGetControllerName(IN EFI_COMPONENT_NAME2_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ChildHandle OPTIONAL, IN CHAR8 *Language, OUT CHAR16 **ControllerName)
/* Retrieves a Unicode string that is the user readable name of the controller that is being managed by an EFI Driver. */
EFI_STATUS EFIAPI WifiMgrDxeComponentNameGetControllerName(IN EFI_COMPONENT_NAME2_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ChildHandle OPTIONAL, IN CHAR8 *Language, OUT CHAR16 **ControllerName)
{
  EFI_STATUS                 Status;
  WIFI_MGR_PRIVATE_PROTOCOL  *WifiMgrPrivate;
  if ((ControllerHandle == NULL) || (ChildHandle != NULL)) {
    return EFI_UNSUPPORTED;
  }
  Status = gBS->OpenProtocol (
                  ControllerHandle,
                  &mEfiWifiMgrPrivateGuid,
                  (VOID **)&WifiMgrPrivate,
                  NULL,
                  NULL,
                  EFI_OPEN_PROTOCOL_GET_PROTOCOL
                  );
  if (EFI_ERROR (Status)) {
    return EFI_UNSUPPORTED;
  }
  return LookupUnicodeString2 (
           Language,
           This->SupportedLanguages,
           mWifiMgrDxeControllerNameTable,
           ControllerName,
           (BOOLEAN)(This != &gWifiMgrDxeComponentName2)
           );
}