Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1818873pxb; Fri, 6 Nov 2020 23:04:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJwrz36eS3M0CLBQffRUT5LZwi7s51Tx6NyVK5tLYm6+Jp8AoBh09iJ8ijZtfxMEDe8/tObK X-Received: by 2002:a17:906:d20a:: with SMTP id w10mr5661779ejz.3.1604732648676; Fri, 06 Nov 2020 23:04:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604732648; cv=none; d=google.com; s=arc-20160816; b=uXhiiSL+OKTKyZtL/854ByF79PgbYascNE3Y3nYhI8k3C5rSXBtoaUyL90+akE7E/u Vh0pgjSa4LbKKUz+TqmgNZuj3pSeH3AH0LQtcflxH7aV/vMTSsM25HiubH5gool0jHGM mR89oPlxHHfdFkFPXJ15SmSyMlCnjPT8psCWBPXxRKElFdynNiRHaQqYsEVDbnyK2Qvt VsUTS9Fd2kGxAXUdOLB68vKABg1z9OE4gu2gqo0ej422Bchk/PrP861xtrXg0yPg8BLH hw2mdL7PYGSs6kqXb7W4Gr8HsNfZ86el2IRXfYQE7sAb+wSUagkNxRc/rurwWhnAF1tH gt0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=UkbT5Gyc8ykRtkCrIcXgwt8fRQadlCSlUUd5DQ8LGEM=; b=onWaGAmwuxgnvw4UvzH2afvmbsw05VMtTHX2Ducbp95KgAUlWiV4iPQmVVOQoy1ZWO 6Djw1HE4vGiUup6Ckh6hODiiZ5nPfrCeuZXi5MmIqlOgAx64PRmpkN3msqNqNGQc8zko hXkpR6wq/iDr5pTcvMjfS7ZCXIuBxev66IM/TSknKdoGsWQ2bXvd0+rhNiGFWezH0NBB OJGxszgaEszdtALRqb5OTVwVGqnO/EWrUPBJB1qBrvpVIxSoR9h2bfBc9FAD4bONEJRI Zvz0hwPakDKdegQm6f7Bw1NMq1NHN6Ge3q7+bwabecSzA7XTM/DPTaFEo1jnSV4u7l6u VRcw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v21si2736338ejy.444.2020.11.06.23.03.40; Fri, 06 Nov 2020 23:04:08 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727810AbgKGHDa (ORCPT + 99 others); Sat, 7 Nov 2020 02:03:30 -0500 Received: from mga17.intel.com ([192.55.52.151]:45622 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725985AbgKGHDa (ORCPT ); Sat, 7 Nov 2020 02:03:30 -0500 IronPort-SDR: tEKwUxU8A+jU6Z5BqXPdUT7vl0QNHIok9bzta4AqLBGXp6Wg+a9JcJoy0WAge7HeQrr8H2gU09 kkmphk9kD0Og== X-IronPort-AV: E=McAfee;i="6000,8403,9797"; a="149485515" X-IronPort-AV: E=Sophos;i="5.77,458,1596524400"; d="scan'208";a="149485515" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2020 23:03:30 -0800 IronPort-SDR: t/QIq2jT4TazEDnX7BRxEpEOzn+SiZtEcJyR3PcHfPTjHANRGbvqi5gQLEaqEF/IUnR11f7a9h P61MazvqfpNA== X-IronPort-AV: E=Sophos;i="5.77,458,1596524400"; d="scan'208";a="359032023" Received: from ralassax-mobl.amr.corp.intel.com (HELO ingas-nuc1.intel.com) ([10.209.101.141]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2020 23:03:29 -0800 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: luiz.von.dentz@intel.com, Inga Stotland Subject: [RFC PATCH BlueZ 05/10] tools/userchan-tester: Convert to use ELL library Date: Fri, 6 Nov 2020 23:03:07 -0800 Message-Id: <20201107070312.8561-6-inga.stotland@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201107070312.8561-1-inga.stotland@intel.com> References: <20201107070312.8561-1-inga.stotland@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This reworks the source code to use ELL primitives and removes dependecies on GLib. --- Makefile.tools | 4 ++-- tools/userchan-tester.c | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile.tools b/Makefile.tools index 15613a5c9..7c29e115b 100644 --- a/Makefile.tools +++ b/Makefile.tools @@ -165,12 +165,12 @@ tools_hci_tester_SOURCES = tools/hci-tester.c monitor/bt.h tools_hci_tester_LDADD = src/libshared-glib.la $(GLIB_LIBS) tools_userchan_tester_SOURCES = tools/userchan-tester.c monitor/bt.h \ - emulator/hciemu.h emulator/hciemu.c \ + emulator/hciemu.h emulator/hciemu-ell.c \ emulator/btdev.h emulator/btdev.c \ emulator/bthost.h emulator/bthost.c \ emulator/smp.c tools_userchan_tester_LDADD = lib/libbluetooth-internal.la \ - src/libshared-glib.la $(GLIB_LIBS) + src/libshared-ell.la $(ell_ldadd) endif if TOOLS diff --git a/tools/userchan-tester.c b/tools/userchan-tester.c index c17644fb8..21c853221 100644 --- a/tools/userchan-tester.c +++ b/tools/userchan-tester.c @@ -18,8 +18,6 @@ #include #include -#include - #include "lib/bluetooth.h" #include "lib/hci.h" #include "lib/mgmt.h" -- 2.26.2