Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp28803ybb; Fri, 27 Mar 2020 15:22:47 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsqiCptLqgmLzt1NfwASHRBgdRqY/145hDvcsP2TUQKtApyooN89ENkoLkoDcb6VTDLremy X-Received: by 2002:a05:6830:22d1:: with SMTP id q17mr771485otc.194.1585347767108; Fri, 27 Mar 2020 15:22:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1585347767; cv=pass; d=google.com; s=arc-20160816; b=e593/nxLiPNYwbu2tk5BGTt+UYeFdpcKalPhFqz2jzduh4ECpuZ6poiLZ9KHiO0sO5 frLgZK6MfAcRsN1VXs84j+cgZy0FOh5swzWUYMk/BwkTTkOiJmnmAfyJk7saIfnq3rM1 5fhE1+7tLn0C0mfg3YA5Pl4MCZXTg/hNzoctmug+TyJfRog7e4rIN0X/fsJGnU5DMthN xoNBJQKPKmFJG4mGtFJUDkjW2wI5pI8hJTz57VFEDzoLFy191ZO4Lx0leY3dlW07Um8y yKyiavPQxD4LuinB7nMBpkmwEHNZeyXdkdyVgUUDwiAEW+qNEz1L5N++Gb7KIRWn5k4j pIQQ== 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:cc:to:from :dkim-signature:ironport-sdr:ironport-sdr; bh=beL5iLHTGH/ZAP3Wx4CKuGd1EN10ekcLzedPE+akSvg=; b=fD6s2bpxa1uXPQEWNoQZPcs23f+T71BlP2y5QTC3R0TqM+MwDTfezb4p19GJHjKPMM W3AG3ByAN0p0c1ad4O/5/mFevgQxf0AYyEaa0HA7EuO/EQ9lf5ORPAmo48vo+HQSXIzd HfQ/T8D7XmIYKzonxAFfRgCBsK8UTPzqabETuwoUGy67M3KYwHa3SiMYBk1MTLiBVRIv Ch7jZiuNrx2KATFZfX3afp2Ci7TW8tdxh4hzdI18Iw1AMyIy8UTsjTMEiXkU0JTFm9aD bPwlJgG0BiA+H2TTMp0HL/GnfS05F+rhzfj/Dpmak/DZ164s8rAikok85fkxaQjNvQWR ykHA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=Nk7wQ7C+; 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 94si2838580otc.25.2020.03.27.15.22.15; Fri, 27 Mar 2020 15:22:47 -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=Nk7wQ7C+; 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 S1727702AbgC0WWJ (ORCPT + 99 others); Fri, 27 Mar 2020 18:22:09 -0400 Received: from mga07.intel.com ([134.134.136.100]:12032 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727655AbgC0WWJ (ORCPT ); Fri, 27 Mar 2020 18:22:09 -0400 IronPort-SDR: Yt2Xth7r9lZ7ERCiHa3ybRjxPKHc/CuzXNCJGl4AA5mm1siDH6jAI0TygfEj0hTbDr+6soEYYI iCjrWH9j7C+Q== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2020 15:22:08 -0700 IronPort-SDR: gmPxAhd6MDQ3Xe2K2Kifq2TjdrUyKuhhhZXiw+OYGGO3k9BKk/XkUR9ja+uBIZ2+W9PqM4fnPv Fza2pYowK6LQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,314,1580803200"; d="scan'208";a="248023783" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga003.jf.intel.com with ESMTP; 27 Mar 2020 15:22:07 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 27 Mar 2020 15:22:07 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 27 Mar 2020 15:22:07 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.175) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 27 Mar 2020 15:22:06 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GIaOTL1VPPg67Kv1slLJv7q/va7QwlN5dIPhfwN3TbymSGF2as3N4UbOJgHxa5G3k447MNwrDdQnJoRW0bs4e4t0J7sUfxD8YYo6fnmfcAZJCrKuBx5+gWxq/Lyg7BPud2gKrfjunfmsY5H4kMdQPIQmARflXQdoSwa119FCRys28PffAdSW9MN4ZQdZxcWwiyYM+CWePIH/Xma2yo42qwyDAQSIfuNVQvcZQBZW+HgNO5ZAIUTQoyta+xyrsN8AqFV+snj3LKpmq01wFpV3izFUMAz6VSBp1eYFzbUGq474jLXpJoQl6G4Zn6V58JRtMYuqAMcdPnisQGV92N3uPA== 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=beL5iLHTGH/ZAP3Wx4CKuGd1EN10ekcLzedPE+akSvg=; b=AApbel+e/c6YnOO+w06lmRkyAoc6U5lOHwJYt4xdDOK4KLlMY+DVKt6+HQKX9FiMSz6Bbuj67mIT8yVkWhv4lH0Lpco8AF33cPs2zV9QUZOtgIc6+E8NJNf+I1ENBMr/3kp22zwQVrZSuxSOLCA69FGAPAyGT9nbMZ8ZTbKrl5+fVu/dRi6X2t0WK+npjwRraDlYv13J2v8eTV/TstAOlILatHcTPUIOHnKfjG4kej/0CG6RfErPQw5vCxbOgUN1EER/n66IVq9eZHeXcgCXLXxLPTOAnV22cWixVldIc/FnDFVBUtpyP+81AocSvpOANJa4i2IpUB0kjEEd2zAJyA== 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=beL5iLHTGH/ZAP3Wx4CKuGd1EN10ekcLzedPE+akSvg=; b=Nk7wQ7C+jr3H+FUkHL0KgOTii9VNE48AqGNj/gtZQDBOcQf44ZYej0+MyaayuNWzUjCUfTJ9/3gHNqFr6mMeS+h0m15xUryL6QoslrETjiCBZ9lFySsGu5yZ7l6JfOX3NG4vOTI0GSoSK9QSVB25sXUVLUPKCupq27mjaUY13cg= Received: from MWHPR11MB1423.namprd11.prod.outlook.com (2603:10b6:300:22::14) by MWHPR11MB1504.namprd11.prod.outlook.com (2603:10b6:301:c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.22; Fri, 27 Mar 2020 22:22:05 +0000 Received: from MWHPR11MB1423.namprd11.prod.outlook.com ([fe80::61cc:c5cd:21af:4e00]) by MWHPR11MB1423.namprd11.prod.outlook.com ([fe80::61cc:c5cd:21af:4e00%7]) with mapi id 15.20.2835.025; Fri, 27 Mar 2020 22:22:05 +0000 From: "Stotland, Inga" To: "Gix, Brian" CC: "linux-bluetooth@vger.kernel.org" Subject: Re: [PATCH BlueZ 2/4] mesh: Update UnprovisionedScan, AddNode & ScanResult Thread-Topic: [PATCH BlueZ 2/4] mesh: Update UnprovisionedScan, AddNode & ScanResult Thread-Index: AQHWBGeVfwkL6MbyTkaAU3yIWTjvVqhc8VuAgAASHwA= Date: Fri, 27 Mar 2020 22:22:05 +0000 Message-ID: References: <20200327184257.15042-1-inga.stotland@intel.com> <20200327184257.15042-3-inga.stotland@intel.com> <23a1089f89c125779b4b3a73607d8ad8d38e1aef.camel@intel.com> In-Reply-To: <23a1089f89c125779b4b3a73607d8ad8d38e1aef.camel@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=inga.stotland@intel.com; x-originating-ip: [192.55.55.41] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6eee3899-c114-4234-736c-08d7d29d47c9 x-ms-traffictypediagnostic: MWHPR11MB1504: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0355F3A3AE x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(396003)(136003)(39860400002)(376002)(346002)(6512007)(37006003)(6506007)(86362001)(2906002)(81166006)(8676002)(81156014)(6486002)(8936002)(71200400001)(478600001)(91956017)(66446008)(66556008)(66476007)(5660300002)(64756008)(2616005)(26005)(66946007)(6862004)(4326008)(316002)(186003)(6636002)(76116006)(36756003);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR11MB1504;H:MWHPR11MB1423.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ASpGj2LHUcg+eZBGAnmTqSJCMOI2fjFZEzhyuXF+482/y8snrOUB2TUSLvuaDySrRO/JtVPHRt1pu+P1/p2qC826GUJGGkj9kXzxM/HhcfpmWNtpYEAoIeVLOvzAbxP0pp496QR2f0f3A+NKzYACRW4BjUoM3o5xnWNIB7Aza1zKMi+u3cgG2Za2bJLIKW6Pq8qOuYMCCAen+xSPHujLSAuTr3zWStBV00Kx02NiuZsyuRjDID+lNc6QIf0hM7U8IcR1RI8PZvVyx/P/jnuBS5RGS0+TgA1dmdDN62/DwXcLLMbxyd8xy2X9LLLgGrCpdds67X/TQWIXxt5H656oMtLNLjOU16WX/wn/cjUZ0glknQjIf9NrRAOX46ndIDh+1q5IWSrXGoGPkeeIRR8gpIzhl+F8MQZgLdPGcuvd8+46CHcOgmPsM1oRdpRYSn7A x-ms-exchange-antispam-messagedata: vIeEa80QceHo1KaQn1BcxC83/FJS5hEbGmvz4kohCw22qmSlWWL6suVeWcwjqMqerd0oyOIHv5OX4W3Js1Z/S18QRlF4GjjNliUMkImTl56dbGet2Z2/K++2IphpIS0jFYPrPMfSxLVJzLNDqNZSIg== Content-Type: text/plain; charset="utf-8" Content-ID: <40CFA3B401FECD45A624B0C232CB5ECE@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 6eee3899-c114-4234-736c-08d7d29d47c9 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Mar 2020 22:22:05.0768 (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: PrWg8Axchjijb2cjSlSBVlBt2j7o3gMTm5vh2mjhxCvIUD/HyqMqPM5XiPJwTPbkKMys4SSm/MzoWs2Sz5tekw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1504 X-OriginatorOrg: intel.com Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org SGkgQnJpYW4sDQoNCk9uIEZyaSwgMjAyMC0wMy0yNyBhdCAyMToxNyArMDAwMCwgR2l4LCBCcmlh biB3cm90ZToNCj4gSGkgSW5nYSwNCj4gT24gRnJpLCAyMDIwLTAzLTI3IGF0IDExOjQyIC0wNzAw LCBJbmdhIFN0b3RsYW5kIHdyb3RlOg0KPiA+IFRoZSBmb2xsb3dpbmcgbWV0aG9kcyBhcmUgbW9k aWZpZWQgdG8gYWxsb3cgZm9yIGZ1dHVyZSBkZXZlbG9wbWVudDoNCj4gPiANCj4gPiBJbnRlcmZh Y2Ugb3JnLmJsdWV6Lm1lc2guTWFuYWdlbWVudDE6DQo+ID4gDQo+ID4gT2xkOiB2b2lkIFVucHJv dmlzaW9uZWRTY2FuKHVpbnQxNiBzZWNvbmRzKQ0KPiA+IE5ldzogdm9pZCBVbnByb3Zpc2lvbmVk U2NhbihkaWN0IG9wdGlvbnMpDQo+ID4gDQo+ID4gICAgIFRoZSBvcHRpb25zIHBhcmFtZXRlciBp cyBhIGRpY3Rpb25hcnkgd2l0aCB0aGUgZm9sbG93aW5nIGtleXMgZGVmaW5lZDoNCj4gPiAgICAg dWludDE2IFNlY29uZHMNCj4gPiAgICAgICAgICAgICAgICAgU3BlY2lmaWVzIG51bWJlciBvZiBz ZWNvbmRzIGZvciBzY2FubmluZyB0byBiZSBhY3RpdmUuDQo+ID4gICAgICAg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