Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8406688ybn; Tue, 1 Oct 2019 07:42:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwbW0PWKW3Ham3fqbpR0Kb5p+JrVa8h9JU2fOPfxGHMUvv0NmS4hfVtdQ4XiK0RUrpsw3Tt X-Received: by 2002:a17:906:ecf9:: with SMTP id qt25mr24070527ejb.249.1569940944985; Tue, 01 Oct 2019 07:42:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1569940944; cv=pass; d=google.com; s=arc-20160816; b=pA82dl7zPxFer8jSZwv+Rnbn7jXcT0sxb45wkE2kerlXvN+X8ztYVabcQyHuPX0H+j OrX6JyxGvsIUBANS8lAJ1M7xBueZhq5M7uNcyrTXohJNZeDPTvSEIjrA0X7VBtlAH/TN E87rPOZV37EcbkCVO3uamCCi7ChB5Fkj2q8VqYgST8fg9Nqyb2pz5cZaJXyQu3sOITkK ggM+q2abBENPZlSKclfqSxo5Xwp/uOJbCQJyEGRcnvW6hHrc6Xe1ck90s8mmpupk+8Jv dlvW1We98ycKLwnPNAHzWLDnwrHKkZHElPhA81Gl60araMOZ21yL04TzcFT/BSyPc69/ boHg== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:to:from :dkim-signature; bh=MP8cG/MRwYSuiAshLZ3l0yhlCeA8j44gnD5amyVYDG4=; b=MBiAm6fEcUmdXSj6syEJdm+8NKuPtu0HLsuWGZGnlN3IYMLcVypc56XlLQ511eYC8P wJ8IgSpdk5RgkShmaJwAMOZcdu41g8Rnst5UMXYZxWMCRKO8P4O8OyzRw/RTIKGQDm7e taNTlV5K9RwU9jHuSBltFvWjtBX+uN4s8uy4398WdlN7HxxP54rdiHIhiXXRTaUnd7CS OhHbzHNwrHxhvdYiyklqYmCSq4fpoNmSncbj8udocYwhqtcq0OWMEaQdjQqYSJGh8Ty8 FVvgzbHLZLgsIVyXLm3mKCYeZoa9QeKnxuvwj8QzNjFF7GzJoZ+H3F0kWG1K31IQRe04 WZuA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b="hKqUk9p/"; 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 v22si8601302edq.239.2019.10.01.07.41.47; Tue, 01 Oct 2019 07:42:24 -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; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b="hKqUk9p/"; 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 S1726554AbfJAOlZ (ORCPT + 99 others); Tue, 1 Oct 2019 10:41:25 -0400 Received: from mga18.intel.com ([134.134.136.126]:35915 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727018AbfJAOlZ (ORCPT ); Tue, 1 Oct 2019 10:41:25 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Oct 2019 07:41:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,571,1559545200"; d="scan'208";a="221021105" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga002.fm.intel.com with ESMTP; 01 Oct 2019 07:41:23 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 1 Oct 2019 07:41:23 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 1 Oct 2019 07:41:22 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.58) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 1 Oct 2019 07:41:23 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nbxSzB0kQ2CzTvpDi1ZjzbKmg/seBKpNCkHqkZftzS5oxpnGBFSXaV1a1OsN1wQ9q9gZCNOtR/d9QfbLGiMQlNa3UNHN6ipnSXclLbezqRDHUGTpRNYaaVbO080N5vkLSBMLN1Dh7q+iN5G1ldzsbMaAcZIXaTE4yauAM+4oT3+Ggo4epUpDQHxTcagGpjWd+RrspmtrYvpE02lJsuwO0i3FuTckjAU9flM/Q0vD7h1DLkbg3cb9pOEpodlE3SciP+e1PODkG/8F994Bo0bp5KpGtHJxJ09TvEVY0qoi4WyLAKWJNlgfkml3jAM3EKFVVrHVn9Ti/9guKw9IMzkK2A== 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=MP8cG/MRwYSuiAshLZ3l0yhlCeA8j44gnD5amyVYDG4=; b=P3ewdU7MDZHdunj/icTldw0ztZjBRVRk0MHU4B9Xp9kUAOvjpXSiLy9HLbMNcf+c0IgviJ4yPb/Xkm/ik/+7Z2l+nHa6bIIoegLMuGLzmhZVgoqzWestNOTdwySdrLJu3QmRrAXAW4L6Kjkcy71W/WqCkP+2iUkdp0hk3HIzkj3ewl0XgokRbtibM7Yw0tpIqhbjVmQR4kXEH0tlx8SgwXn39ju1Ut9NNk3CV0jm96bfO5SCG3/D0N4NK7fwl+ikLqqFuoMpJKRktMnIhk13fG5ouGzbZ+Dt151Z8D5w1YHhdalKAge9t8x/0z9nhrl8Li/fzA1qRDxChXtmdEgtBQ== 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=MP8cG/MRwYSuiAshLZ3l0yhlCeA8j44gnD5amyVYDG4=; b=hKqUk9p/P8Sj76QVNasGQR5RRPnxspnuJlt7nvrrIs0rxNEXxiwdI4W+qtLm3sqJo0/kBTVZlQSTsW3JWTNqzq5PLO5/tpIfb5ow8K6H7N4af1WeLKU1950sbDLUmfUUTi+txKSRvV/+FWHqzu67C5E/EfewrtKIvnkQ8OehLZw= Received: from DM6PR11MB4412.namprd11.prod.outlook.com (52.132.248.86) by DM6PR11MB3257.namprd11.prod.outlook.com (20.176.121.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.20; Tue, 1 Oct 2019 14:41:21 +0000 Received: from DM6PR11MB4412.namprd11.prod.outlook.com ([fe80::5d45:636:6a4a:9397]) by DM6PR11MB4412.namprd11.prod.outlook.com ([fe80::5d45:636:6a4a:9397%7]) with mapi id 15.20.2305.022; Tue, 1 Oct 2019 14:41:21 +0000 From: "Gix, Brian" To: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" Subject: Re: [PATCH BlueZ] mesh: Make mesh-config API more consistent Thread-Topic: [PATCH BlueZ] mesh: Make mesh-config API more consistent Thread-Index: AQHVeCK22cngUd6QL0G8621SkwN/rKdF3E4A Date: Tue, 1 Oct 2019 14:41:21 +0000 Message-ID: <4a94b48b5b1f8793ad31086c0f3b838a14633312.camel@intel.com> References: <20191001063708.8279-1-inga.stotland@intel.com> In-Reply-To: <20191001063708.8279-1-inga.stotland@intel.com> 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: [192.55.54.40] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2713e1ef-5acf-46c6-cc28-08d7467d6d58 x-ms-traffictypediagnostic: DM6PR11MB3257: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0177904E6B x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(396003)(346002)(136003)(366004)(39860400002)(199004)(189003)(316002)(6512007)(229853002)(305945005)(6486002)(7736002)(256004)(14444005)(71190400001)(71200400001)(6246003)(66066001)(6636002)(5660300002)(6436002)(91956017)(110136005)(26005)(8936002)(86362001)(8676002)(186003)(102836004)(14454004)(486006)(25786009)(76116006)(2616005)(76176011)(66476007)(81166006)(81156014)(36756003)(476003)(118296001)(6506007)(64756008)(478600001)(66446008)(2906002)(66556008)(66946007)(99286004)(446003)(11346002)(2501003)(3846002)(6116002);DIR:OUT;SFP:1102;SCL:1;SRVR:DM6PR11MB3257;H:DM6PR11MB4412.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pQbp5/SUChOtX8Bhlbf906Z2rixBpBeSn0ba8Qp8N8pUhurYKF2K6tsbKfz3dwAQzMhy0fgupZOYwoy7JW3CM2ptyUPT1kA+fdrb57XSYksLR7sNDvX2yvaKJQzZRJLx3xbDfntl0bOqvBn12XZtA8RiaGaivo5FZF1o0wivAmgw3m5rPr/CnE1aUNJGHIwk36B4zGqG41kVuqQu4uswgh2Ao2KAt62eztkcyzMMUd6H8plu7Msz0Y1smvJKp/Mm6xsIsnmrKVWBIZRpIjzTIQOw1YqI5E+JnImWjFBg5AajBxFyUxw/RBCJ3E55ybIF4J+4p9yKZCfdpq41sPAfGWm0bucQUWEoUOLYjXDlJnjWsQbIqTLX3vD9kzmMH2yF3SVwvf/UhdNkfLJg1KkLfFzIEU7qki0bNmOnN9pI3Pw= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 2713e1ef-5acf-46c6-cc28-08d7467d6d58 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Oct 2019 14:41:21.4277 (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: XoeqwyzdHhfX9fUvucrMPtL7r+wyQf6nuLUsn7kJ6ZCJdb64UiNU/zrw3Ao+75c75WgnuNkpjI+wbpXXIRn2Xg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3257 X-OriginatorOrg: intel.com Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org SGkgSW5nYSwNCg0KT24gT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