Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4162681ybi; Tue, 18 Jun 2019 12:59:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkONSi68JxIWA8dKnnhSUswJZkpzifarb55bQpKP9RxE7+1+NAQNxRfHshExWEl+5Rp1sY X-Received: by 2002:a63:1450:: with SMTP id 16mr4359331pgu.52.1560887993422; Tue, 18 Jun 2019 12:59:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560887993; cv=none; d=google.com; s=arc-20160816; b=DUo6NLuaRjYzTyXj1YOgFZPeuMqBecmMvyJLF0UMzJMc+cdoMdyZwA3ewJSq88zos4 NzzaDWfI++ZWtQ2/FEt5bNqEydoJmRcJrh7WjqPR7LJRbTXGpxtQ9qWSbceTFoxxO/e4 NEpWbIIJCPUwpKTHpkFZU7ru5NuU3a5QX96G07Nfb+aJ7hJCpplxuG4TVuCKlrM/FYI7 mCz3dIn7ubYs7SUtUQBypQ+R5DL6u0mKlEyFJtW5IlkvhOBbFTvd+i6lUgPRy1MYi09l 3RtfIJquCLFR3eR2IM1T/fAIwAnaF6tErGFHdV7y+mVmM9tzNbWi5AI3gwnTFqQgUb+c zYPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=spQjojhZELas9SUm/ySrZs/ZEpyGBT/enqCpkGnF5ss=; b=R9tSNSaelKWCI6JIiNzW7bIAgojQhI8tGEtLqRXHZPApoqcFt9UesxEa9uBjXf11nX HWzhDrv2RmD4F6sJVhQKzYczoCfwplB2YYlGlNqeiOTNVWRIFbk+qoTFXyw8uzML+NWo mWj8JpihEFHnVRFhdQADNoD8ki2kTs15nR5Yu4cKynZlFQfAT6p/AX/MIhSLxLx/vfKM u3xBDnWuxuT4+xWjmY5VWJV2d2ljr8rafs9v52jJ7Vmwh54cCrAx+johgqd99VWD8eCg AamC28rgE987N8n7yWYk2IAOqfjPfsJ5Cl6U5UFvW84HcKO0hFkS3n6nZSawBoRX0oFG 6SoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id x24si1764071pjt.88.2019.06.18.12.59.21; Tue, 18 Jun 2019 12:59:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 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 S1730266AbfFRT7S convert rfc822-to-8bit (ORCPT + 99 others); Tue, 18 Jun 2019 15:59:18 -0400 Received: from mga04.intel.com ([192.55.52.120]:26747 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730242AbfFRT7S (ORCPT ); Tue, 18 Jun 2019 15:59:18 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jun 2019 12:59:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,390,1557212400"; d="scan'208";a="334972300" Received: from orsmsx107.amr.corp.intel.com ([10.22.240.5]) by orsmga005.jf.intel.com with ESMTP; 18 Jun 2019 12:59:17 -0700 Received: from orsmsx103.amr.corp.intel.com ([169.254.5.135]) by ORSMSX107.amr.corp.intel.com ([169.254.1.18]) with mapi id 14.03.0439.000; Tue, 18 Jun 2019 12:59:17 -0700 From: "Gix, Brian" To: =?windows-1250?Q?Micha=B3_Lowas-Rzechonek?= CC: "linux-bluetooth@vger.kernel.org" Subject: Re: [PATCH BlueZ 0/1] mesh: Move HCI handling to mesh-io-generic Thread-Topic: [PATCH BlueZ 0/1] mesh: Move HCI handling to mesh-io-generic Thread-Index: AQHVJcjDSjBUtBqdoUSLgirFfevJ66ah1QzB Date: Tue, 18 Jun 2019 19:59:16 +0000 Message-ID: <34B4A752-E039-4CAD-A8A7-E8CC137DC8A4@intel.com> References: <20190618112655.19963-1-michal.lowas-rzechonek@silvair.com> In-Reply-To: <20190618112655.19963-1-michal.lowas-rzechonek@silvair.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Micha?, > On Jun 18, 2019, at 4:27 AM, Micha? Lowas-Rzechonek wrote: > > This patch enables us to implement more I/O layers, particularly non-HCI > ones. > > As of Bluetooth 5.1, standard HCI commands don't allow precise control > over mesh-related advertising, making this I/O layer very inefficient. > Therefore, it is desirable to have an option to use a non-HCI transport > to talk to radio transceiver, at least until Bluetooth extends HCI so > that standard BLE Controllers achieve good performance. The intent if the architecture was to allow for finer control with future controllers, and thus a mesh-io.c which doesn?t assume anything about underlying controllers, and then an *initial* mesh-io-generic.c which is what gets used by 4.x controllers... as more controllers are supported with finer tuning available, then mesh-io-.c can be added to the abstracted list. > > Another use case would be a non-local radio: the mesh stack can run on a > secure device, but due to physical constraints it might need to use > radio transceiver located at a distance, connected e.g. via LAN. > > Micha? Lowas-Rzechonek (1): > mesh: Move HCI handling to mesh-io-generic > > mesh/main.c | 4 +- > mesh/mesh-io-api.h | 3 +- > mesh/mesh-io-generic.c | 203 ++++++++++++++++++++++++++++++++++++----- > mesh/mesh-io.c | 17 ++-- > mesh/mesh-io.h | 2 +- > mesh/mesh.c | 189 +++----------------------------------- > mesh/mesh.h | 4 +- > 7 files changed, 209 insertions(+), 213 deletions(-) > > -- > 2.19.1 >