Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8594787ybn; Tue, 1 Oct 2019 10:17:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqy6kxOc3NIyjYT9W8N8rH18G4SjuJ8WCuCY1F+TCpMXKhQuhDTbzpXC39SYyYM9VwNpJ+3L X-Received: by 2002:a17:906:7294:: with SMTP id b20mr25051452ejl.216.1569950262942; Tue, 01 Oct 2019 10:17:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1569950262; cv=pass; d=google.com; s=arc-20160816; b=Y/62QBDqGyl0Yh/AEIcJE4PQjYu+mw4vbniM3Wt3maY/aKmyHr96LWcp7K5lvZVaqr mi9sJJCloSFltaHxah9kijiQtLMOvZ6Z1Vf6/ZVwL9UAxWbI9enaJ7Ke4BjHPgXMD4sg Lk7ACkQdtQzF0DZha21pOrFvVD4anzJgfL7J8C/doMCFHnIpu9eCBBTgKDlOMpcHdmxh DBvby9CaQg0LIJUbbQrd9/LfqQ5/724Z2Nwae6lRy5nWK5JCfTWgX6r25L+dF+6E6I2B f0cJQPG8+O6iSvspI7EE8+brmm86E6uSdBJflSw4R7I4ucrbYNCsvsefqm9zxbQFn1od swmg== 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=/alDzuwNOsmLk/SyF8ydeIFnkLc5euQvNSx1n51hUsM=; b=hQpEbPvMkjsG54VTqRTkA5BJos7a9KUVLM9lzlL5jeeEsFkPiFtEXSrHcRcWOraPSf fYnAlW5FQjTx6RwIyIIjeePKPmVyX9jAJlb1SvqAyljO+0ShhaFxM3mCakrnlSk0OBPU rhIjevcf4ht5vL2PGqitxeco8zyY+CJfiWf0rQAbyUM6DHg6hY5ZtMSy2I+3hEYwWUbR U4A27QWTzav7gBXtepi+uiGciEiDoeFwTW9Cwjjh+YbcckJicHAelyHt4GhPjiuhZt41 P+9PHOyhjHdwZmQZyZbSFhQRAWyh4bkUzlORp4nNqQVHi8ZuDFsTvmvaCXYuk3rpI6Dd msuA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=JkZGMewa; 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 20si9433195ejv.342.2019.10.01.10.17.10; Tue, 01 Oct 2019 10:17:42 -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=JkZGMewa; 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 S1726655AbfJARRH (ORCPT + 99 others); Tue, 1 Oct 2019 13:17:07 -0400 Received: from mga09.intel.com ([134.134.136.24]:22105 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726063AbfJARRH (ORCPT ); Tue, 1 Oct 2019 13:17:07 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Oct 2019 10:17:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,571,1559545200"; d="scan'208";a="391265550" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga005.fm.intel.com with ESMTP; 01 Oct 2019 10:17:06 -0700 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 1 Oct 2019 10:17:06 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 1 Oct 2019 10:17:05 -0700 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (104.47.45.54) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 1 Oct 2019 10:17:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jQZPPYEbrrWI0+NCEjhyyNMMAOEJ+981HsWcKu1/AER7QwsuIry+ko0sTDOEssJ7qIdFWTMaY2eYnTRqA4LfdEcK7SY9iq7Vjdw5v7Qdul+JWUwCV9eaPLs3UF7NvKZpYTD1DlFEX3WbZH8ewnsqgNsPu4YO99gZCrDtsX7GmMvs7w7hbyFho1ELvhZAGV5fb/qhbkC40jq6UfyGj22O0cF10xNvjRaR2zKefkqd3O4KJ4VHSOKAHptJ/yH3pvxj0YZEml3ESNtUH1GA6q/IT+0e87LmWfOtmN7BCTFT13B1qCnjNjXqQ+eBvegBV8qvVjBxSAk+7tdTi14IRVfevQ== 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=/alDzuwNOsmLk/SyF8ydeIFnkLc5euQvNSx1n51hUsM=; b=OfTypDoBvhkxeuvK29GCiNdNHsnD5DI7BPevixvCcjx+Tc31XyZZrBG5sVkssyWcCTNeOYBQ+XU5hcDUgL6h7A/HH2b7fd0j3cGeNDzFZuCcX1s8JDozJHi/+A/Y6i8SYp/JRBjTRSCNF0dQEgRU5SHGDa2f+s8f3h11RJb83TTWX+exZ8aWAOKCOo4Ot0L0xnAW2F1Xdxy9BioyXU+VyoChtF5uPekWfF8hkOyua3Lyu9wCcFBVrzTcM0rKMmhVqhXhUhxMt7Wuok6JzOhXS58RUztvkSzp2bQdA68JNFMFjVmndDGxpNLuDRZjJqL/xd3BhkhnP/ryEKXi8tkFpQ== 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=/alDzuwNOsmLk/SyF8ydeIFnkLc5euQvNSx1n51hUsM=; b=JkZGMewarASSeKLbP50ZFjw7mpsMFlFn5rTeXp2URZMu8qXIZFFUBtJlsb3coRw/ZS6hZlMa71woBB2Hchqj2zd0MO1WFR7IBl65pkvvO3UlCaWZP2iJETQHrYO7gfl8n0jUpWa4M6KZJLRzYW4Y7YcpJwOXAkpTSZ3DDwE1GP0= Received: from DM6PR11MB4412.namprd11.prod.outlook.com (52.132.248.86) by DM6PR11MB3866.namprd11.prod.outlook.com (10.255.61.11) 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 17:16:50 +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 17:16:49 +0000 From: "Gix, Brian" To: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" Subject: Re: [PATCH BlueZ v2] mesh: Make mesh-config API more consistent Thread-Topic: [PATCH BlueZ v2] mesh: Make mesh-config API more consistent Thread-Index: AQHVeHUz3x18RXDRF0WlRzHmqw9JXadGBxkA Date: Tue, 1 Oct 2019 17:16:49 +0000 Message-ID: References: <20191001162728.4434-1-inga.stotland@intel.com> In-Reply-To: <20191001162728.4434-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.38] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9dea8e9f-87fa-44b2-4c01-08d746932576 x-ms-traffictypediagnostic: DM6PR11MB3866: 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:7691; x-forefront-prvs: 0177904E6B x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(366004)(136003)(396003)(39860400002)(376002)(189003)(199004)(11346002)(66066001)(7736002)(36756003)(476003)(66946007)(71200400001)(66556008)(446003)(71190400001)(66476007)(25786009)(2616005)(14454004)(6636002)(2906002)(91956017)(76116006)(66446008)(64756008)(118296001)(186003)(76176011)(26005)(99286004)(6116002)(102836004)(305945005)(6506007)(3846002)(478600001)(2501003)(5660300002)(14444005)(8936002)(316002)(6436002)(110136005)(256004)(81156014)(8676002)(81166006)(86362001)(6512007)(486006)(229853002)(6486002)(6246003);DIR:OUT;SFP:1102;SCL:1;SRVR:DM6PR11MB3866;H:DM6PR11MB4412.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: 3PSPGHVHGQf5/r2XwZgSUui/4dQH3vhoHaAMVfpakylU7ycJGCV7W/itqe62kcIGzo0AW8FmrJ/0ddxYXaA3Qv1AKM/zZKvKHCQO+dZiEXPT/pUG9TpSwkU/Bf+HlGyWPctiAhyeP7s8bRgPO+XzHl9ufbIIdCGcABgFC2ifh7vlFlLCX8/cezVifDQZ2AYaWvLVx8fLBhMuD18RF+9y3hZcvNLh6ZwEPGAg+mRcXeyGDmoY+Jlz9dOS7t99ySXEG1qwhrZDKh9pWdAO3ANyHcun1+Dfc9PuOBMdxADNgkdOXBzqjWLnKoiW3wEL0I28vIlfHQH2ifDyQGLXwWPEkbiDdd0UhXh2MO4j+K+nvJUK8j8oN6nMC5sa1XPkIhzuE+hgd5r0SHwbEf2jNEtIE0x8K2ALxaVN3khU6IsCffg= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 9dea8e9f-87fa-44b2-4c01-08d746932576 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Oct 2019 17:16:49.5682 (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: SSQ5RpdHYEK9J0/4DrMJhvTLSzhQykb6QhHKWZfH4uJ7XGGLwokzZ6nATni7ywFtbz2uaLetgHh3UrqpkrLCow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3866 X-OriginatorOrg: intel.com Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org QXBwbGllZA0KDQpPbiBUdWUsIDIwMTktMTAtMDEgYXQgMDk6MjcgLTA3MDA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