Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3651243pxj; Mon, 7 Jun 2021 16:53:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5Z5xlyh6COv6LFTqdBbTi5oz0ka3vj4IN1yxCL5cPX1LRCr3VvYBXvaNOsgFQuNYWrAMp X-Received: by 2002:a17:906:7d0:: with SMTP id m16mr20562796ejc.319.1623110021969; Mon, 07 Jun 2021 16:53:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623110021; cv=none; d=google.com; s=arc-20160816; b=y0WPZRuxlRvHCYpnVGfE79EIdeW34VDh/DA/7bzyGLoK/J7x49omo8UUaiQBv8fqCp vlZVmy3VEHSU6YO4ujm85hMhwkd/IuIK+LZf0XWZ/6V+5CU6fuYbKeiJ8zIzNCkju0Cm s0nY+BUseYX83I2YgaUyFFSV104mRnoaSv428UFsGbXzcDrX6F0wKR2uTwnAMd/EHf80 S79lfZPt91hwDQBfO7dHH7JaOuiKEC7pCEPtJYrTwxE0KL3/ZJJWwNbVMRAWK80yQWK5 cmuNIqDSu1WFWdFP3NRCPRoyHhsCvRdKbVmxdU+iafX3cqTqDaXui0/11EaSoe/a97Eb y7rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ua5DP5R135MkRA1loD+tp5x/oBgjQjutwmL0d0O0dSo=; b=AVI3ZyoYOJTjjPpFmmBsnojA0LYwSeF+nM6pwmod8k+bteRtK13jctnuCNYPvx7JcD hUFvVV1ZbKNVThduX55+aAYTfNLyWIvzPScSxT/9EZOS/LLuvYBwS1+v56mAiLqAvTVT W1zGcEF4HVMPeFeFL6jlsFOmRNTnDzu/Su2qNV9oGaYQfgpUwb7rLVNJBt24f0uN2YAP j22tS9JveKdzGgxuZO6/2mv15nCTTZQYu1NIYoxDwYEoWryA3f8z5Vz4cG3u9Nt+OKdJ +A+HyMimt8BfPLLaJ7tLb0OzA98caQRM7AdRkEQtMsMJykhvOsVGfOJ1zXKSxnJ5xsiG FP0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DCbSMS0E; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t4si15293331edi.183.2021.06.07.16.53.05; Mon, 07 Jun 2021 16:53:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DCbSMS0E; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230390AbhFGXwd (ORCPT + 99 others); Mon, 7 Jun 2021 19:52:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230330AbhFGXwc (ORCPT ); Mon, 7 Jun 2021 19:52:32 -0400 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA3A4C061574 for ; Mon, 7 Jun 2021 16:50:30 -0700 (PDT) Received: by mail-yb1-xb2d.google.com with SMTP id f84so27601838ybg.0 for ; Mon, 07 Jun 2021 16:50:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ua5DP5R135MkRA1loD+tp5x/oBgjQjutwmL0d0O0dSo=; b=DCbSMS0EX9iIW+SFgKVX79qv/XH6d6UynxO1OTKYVmPJV8z/R8TWxilvPP7OO89VzJ TC54usdYPencrZrxQIwdmw8zaIvUAE4Zqu6dJbwEc3t1Ar8XhfjlRnHO7wc9aOY6Bc2A rtrixg1R2uHlVA5IbspbwxIKJKIYoSqcwgxB39RyA3NO51AmAKmpTc6C2rQrrjmOJ1xz QnkhDlsWniVQ19KW65hk0Gkol8pZasRttqdYMx6EXmw72WFo4QAgLmHvcD9OSHAxhc/n neLFJJJWzN+odGWlCRNa3c/N6Z22XFmxQ49KDx1QLl756VxAAi3Da+cxEXwLgbST0IQh keQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ua5DP5R135MkRA1loD+tp5x/oBgjQjutwmL0d0O0dSo=; b=UvcaH+/n/QSmUpyJ2O+QOdWzksUW85Itq8UXPVhtH0OYGmhwd3Y6LoNsWY2begh/X4 zG+iVXRyfwxYIgk2Nf4VRTepYKlkL6mt8LvmDRtg6NMfWWVJJMz4kE3o2cWSpHQrQipk RvqmHSyHrCkFYypT7Qbx4vx1U6EG1oMVTDGanVeJqPYCiF47b/VpDaJ9fkQYqHqStQMt iKjIogjn+JLU0R20pzCdDwzhjPs9ll6FPbn/2uTgudyi6HPk0TofSx9TeLiMS4HV1XOG xhtgLFkjJdX+dNWllD0l44zpygP6tr5T1YrVu/J10Dgu2ITXp3LKxho+nF7AaKYvhcgB Ebzg== X-Gm-Message-State: AOAM531+FlpZjQuc8YHH0KkdFl+fAggwk89bt/ZLw2Pf0HP+urqbWBmN K6JSEO+VLpZxpBg52i3TsVCz8k0puwJfdcmMepB35xqZ X-Received: by 2002:a05:6902:114c:: with SMTP id p12mr29237604ybu.282.1623109829510; Mon, 07 Jun 2021 16:50:29 -0700 (PDT) MIME-Version: 1.0 References: <20210606063719.339794-1-inga.stotland@intel.com> In-Reply-To: <20210606063719.339794-1-inga.stotland@intel.com> From: Luiz Augusto von Dentz Date: Mon, 7 Jun 2021 16:50:18 -0700 Message-ID: Subject: Re: [PATCH BlueZ 00/11] Convert tester tools to use ELL To: Inga Stotland Cc: "linux-bluetooth@vger.kernel.org" , "An, Tedd" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Inga, On Sat, Jun 5, 2021 at 11:37 PM Inga Stotland wrote: > > This patch set contains non-interactive tester tools modified > to use ELL primitives in order to remove dependencies on GLib. > > Two new files emulator/hciemu-ell.c and src/shared/bttester.c are > created as an intermediate step before removing their GLib-based counterparts > subject to the vetting/approval of this patch set. > > Inga Stotland (11): > shared/bttester: tester framework wrapper to use ELL > emulator/hciemu: Create ELL based version of hciemu > tools/gap-tester: Convert to use ELL library > tools/sco-tester: Convert to use ELL library > tools/userchan-tester: Convert to use ELL library > tools/smp-tester: Convert to use ELL library > tools/bnep-tester: Convert to use ELL library > tools/l2cap-tester: Convert to use ELL library > tools/mgmt-tester: Convert to use ELL library > tools/rfcomm-tester: Convert to use ELL library > tools/hci-tester: Convert to use ELL library > > Makefile.am | 4 +- > Makefile.tools | 36 +- > emulator/hciemu-ell.c | 641 +++++++++++++++++++++++++++++++++ > src/shared/bttester.c | 279 +++++++++++++++ > src/shared/bttester.h | 32 ++ > tools/bnep-tester.c | 115 +++--- > tools/gap-tester.c | 107 +++--- > tools/hci-tester.c | 289 ++++++++------- > tools/l2cap-tester.c | 680 ++++++++++++++++++----------------- > tools/mgmt-tester.c | 772 ++++++++++++++++++++-------------------- > tools/rfcomm-tester.c | 290 +++++++-------- > tools/sco-tester.c | 231 ++++++------ > tools/smp-tester.c | 210 ++++++----- > tools/userchan-tester.c | 151 ++++---- > 14 files changed, 2391 insertions(+), 1446 deletions(-) > create mode 100644 emulator/hciemu-ell.c > create mode 100644 src/shared/bttester.c > create mode 100644 src/shared/bttester.h > > -- > 2.26.3 Just a heads-up that it may take a little longer to get to this set since we are dealing with LL Privacy we want to include tests for it first before we change the whole environment to use ELL. -- Luiz Augusto von Dentz