Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2020852ybl; Sat, 11 Jan 2020 07:25:48 -0800 (PST) X-Google-Smtp-Source: APXvYqyuj9+bBLhTVGJBnam5wEEbWTzdnDJFXMhxlvr5sk797kLIpRpM1bJkPsjvMqCqlSi6AoS5 X-Received: by 2002:aca:570d:: with SMTP id l13mr6342244oib.146.1578756348526; Sat, 11 Jan 2020 07:25:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1578756348; cv=pass; d=google.com; s=arc-20160816; b=b/SuAraQXfkcvtWqoqOc1pETweGtHMBemdz27Mn9jAxx3fmri7PT0442IOiz57Bkyn 6Ja8NYEAAJ7OjXCmmiWguwUj8+ZJaNTvISL7lyQ4hTWuMvII2pPDbavaJ3ruOGvIp2n5 +pNjGLdGbWj8yIhb8goUHjh/eIwWArr0z7iiI1rM8Fs3rNxWFvSga90Y5GfS6xaKF3A2 YccoXesI2H5JuR2ZPJWkes3ASYdCQSXfxdFlDdxrrXMkU1y2jdDbnKuTX9Bws1BVZ1Us PSdM0ZBemECmFBh5ttnt8VWfkaNRmYM4mb8as/CJbOPfdd5WuDpVHLkTeYyDW0WdEf/O 05+g== ARC-Message-Signature: i=2; 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:dkim-signature; bh=vNsLJguVRYb2n7X9AkA+LIawKSO/e1CZxgx4fHyW7LY=; b=EZhLDHi+0bxvFjE0rQaV2PnS70l1MR607GMtespvJ+XSl24jNL9ocfO1UngwG6g6oZ KdbSsqQM2we9pBUmYqrGS7OpPB9E2yG8DgJEzmP60Qqy6r7TDP5mhDzXT+tyNgE5q4Wg jkOIgFJNKSyTRYrh4KnnNkYgTwaOjhwxm1qjtgrKgImLfS4/YVOaOCN+TVgs3IcQYOvK TgqK+nF3DRcI1P5QlswkV83wTX0GuVA2dZKP6dsFM1ppwDBKE6GB7VN8SR+mbvOJxEHt ygtX97XVD+UcaT3tqTR/LwWY3N3QoWC8qj1h+5K0r6snIvATy1MT0ElClCOztAsFyxmJ EIQQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=S+98sqj9; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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 c12si3888669otp.106.2020.01.11.07.25.18; Sat, 11 Jan 2020 07:25:48 -0800 (PST) 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; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=S+98sqj9; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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 S1729885AbgAKPZO (ORCPT + 99 others); Sat, 11 Jan 2020 10:25:14 -0500 Received: from mga02.intel.com ([134.134.136.20]:32886 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729865AbgAKPZO (ORCPT ); Sat, 11 Jan 2020 10:25:14 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jan 2020 07:25:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,421,1571727600"; d="scan'208";a="247311451" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga004.fm.intel.com with ESMTP; 11 Jan 2020 07:25:11 -0800 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 11 Jan 2020 07:25:12 -0800 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 11 Jan 2020 07:25:11 -0800 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (104.47.45.52) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 11 Jan 2020 07:25:11 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ETTL7+Y6lHKPkgaXRlU5T38gnA5B2vuT34qNZ766NtQgRIHk9nrM6eBm941Bpq7NFIWk9DdCwsG59LYdY236E66eB48aOyM8FORKbSwcUDVDMQ3vW2UqLFQ4EyW92Xxc+sqhTpVeJ109K20/X+XEk0i8iH6osvRXk9aufMPKbtpgnQGlT4EgpLp/tNSIIzgfrNO68UbEYdtlyJXpjA1V5rteh31R4RevDjLG7IWm6nPeG+0AxslMUDUgJEpoVsbCSGxbzrkwyqSi4UjG4nFZb+2pqS0YxtTA8FpgZQJ0IHNuHOUQF3v5c+dB9f/3nxhKYaWMjEoZBkIGoZmZ4FY3ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vNsLJguVRYb2n7X9AkA+LIawKSO/e1CZxgx4fHyW7LY=; b=mDfHSm+TarfwyCJsUxdmTSVB4js5kyt+8TpT947F1T5Udk+VjcudGHPeRvS1gdwOfnWBTiFHhjfMtjLwTVX7SRbJfXbfil7SyxJiGnxzDa7bDmEdIkCZ80iHI1K/5hU0VnOokePOz4rXBwH++3sqvApnmZLMd1v2RnfPWE+hRIOkkkB0MerNff7ftrZjsYwoLdVSQ62HhPuIs58dNtR8fMFZzxwf7V9iZFGxHaU9pFxug7Zu++2H2kCJFYR8YkB9d0vP+hYayW1O7maEBZMnPj9xcs5YLHXO+hyhbbUZ2eajvlyvf+vqDYlZXHOqUwKTziHYyDWDiDBOs0RJVM570g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vNsLJguVRYb2n7X9AkA+LIawKSO/e1CZxgx4fHyW7LY=; b=S+98sqj9llvCJKa837z0VMT5Dlt6O4X6xROg4Ne98jMpoKbKszgXUuGr+VN664eqWBYXPJbcGNAgH80+cSYDIfoulgdzvQ7ofW0Nt1u2N9qqOQT+Eu9jFD3xo+C3smvNIJT2LjL3oVrUgKg85PkOLc5nTEexXbUORZPMT9T3Psw= Received: from CY4PR11MB1269.namprd11.prod.outlook.com (10.173.16.11) by CY4PR11MB1287.namprd11.prod.outlook.com (10.173.16.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.13; Sat, 11 Jan 2020 15:24:56 +0000 Received: from CY4PR11MB1269.namprd11.prod.outlook.com ([fe80::5b2:92c7:da12:1876]) by CY4PR11MB1269.namprd11.prod.outlook.com ([fe80::5b2:92c7:da12:1876%7]) with mapi id 15.20.2623.014; Sat, 11 Jan 2020 15:24:56 +0000 From: "Gix, Brian" To: =?utf-8?B?TWljaGHFgiBMb3dhcy1SemVjaG9uZWs=?= CC: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" Subject: Re: [PATCH BlueZ v3 1/1] mesh: Implement provisioning loop-back Thread-Topic: [PATCH BlueZ v3 1/1] mesh: Implement provisioning loop-back Thread-Index: AQHVyB/5ZSD96dTK10Ka8BcmTH134KflAhWAgACUOVw= Date: Sat, 11 Jan 2020 15:24:56 +0000 Message-ID: <8EB509C6-A227-4DD8-AE41-0901D42BEB17@intel.com> References: <20200111013856.32675-1-brian.gix@intel.com> <20200111013856.32675-2-brian.gix@intel.com>,<20200111063425.5sn6mvrlu3rkx3ka@kynes> In-Reply-To: <20200111063425.5sn6mvrlu3rkx3ka@kynes> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=brian.gix@intel.com; x-originating-ip: [2607:fb90:5620:5349:fcec:75f1:b24:691f] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 459e928c-718e-4128-b296-08d796aa6a1e x-ms-traffictypediagnostic: CY4PR11MB1287: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-forefront-prvs: 0279B3DD0D x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(366004)(376002)(136003)(39860400002)(346002)(189003)(199004)(107886003)(966005)(33656002)(2616005)(86362001)(81156014)(54906003)(81166006)(6512007)(6916009)(8936002)(8676002)(6486002)(36756003)(478600001)(53546011)(66946007)(66476007)(5660300002)(186003)(66574012)(316002)(64756008)(91956017)(2906002)(76116006)(66556008)(6506007)(66446008)(4326008)(71200400001);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR11MB1287;H:CY4PR11MB1269.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: i4AZZlUbX0A3DkbKQs757wi/sZsB4hlRddW6eeSzDjBOeZ1Q77vsdZRp2L/kWMrH8L3O9SXqrKt1aSl9VdrQN5Fq/BHQH6A06raw9aVaHdDWFti34rGshAGEOGTz5K/L2vNECYDCrayGr01s6pVxiwr/q3FKmcT20pmGO4GtEd4+TdZ+sZIHn9x58oVQBzxwzib8L9JOeStt/bOhBTgDmP9jdq3J8R+yeGsD8+uS5uLtt0Gv8dDI2WZyBDKzbt9uZwwGwtGAP0SIP6yZ+EnqggjBWoHTsZh70eEs+8W/5l/1Hk4UIhJpUUeY//VvPkephlZiK7eGtUe75qp528o+2nu4DLLHnhnhVDx/Ob4Gqtyt5dS3O8lWTWM+NcG7/m0MIDDtIOoyGIg3BSAVsw0Zy2E6B7h+BustIWATWqJhAMQ5XJw0mYsexbUesYOIelGcqsXuwLb4klYTfE5PRfNUGP2J2zwO/oJ1YG9xBN5YCdc= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 459e928c-718e-4128-b296-08d796aa6a1e X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jan 2020 15:24:56.2229 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YpUuri4gWOKBfdPIoaJU8Ew1ee3WOJmwIyJH6dXoFKDP+qrNOq5z686bEGeqJTvfoqus6K9GLULAMZOaLtQpHg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1287 X-OriginatorOrg: intel.com Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-b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