Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp12013ybk; Fri, 8 May 2020 17:01:01 -0700 (PDT) X-Google-Smtp-Source: APiQypIvgILId4Xm1DftbcOZgFMYPUXOkOkSTkR3hqPQK3ESdpk/knK+z9uRMyQBgikDiA4OApeO X-Received: by 2002:aa7:dcd4:: with SMTP id w20mr4530638edu.282.1588982461459; Fri, 08 May 2020 17:01:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588982461; cv=none; d=google.com; s=arc-20160816; b=VDPFJHXMiWDYcc11iwmLQ+STJW5lVLKo8oEyBp3s/y8ILW+0X0VvAUU0wkxT9WcEoy iMO30Tf00R+g3VQsjaXNDG3vNx5Rsq6U86evIyTv9S+vgo7LBeEn5qS/n6hpWumVm2rt utiUXnZo+yo+yhaZ76oI6DPN8zj8SQi8tVAhG4zks8tuid3q/kWfec8ZsVZ3O7hoYz3A c7o+jxZKyDPXJH3WUzLGjlPT0BYiRjcm5nsSzcbyBarZhHESBSZvDx1XN0vqciAe4ZN/ dbxNREZ6vFnXDMb7UX5piQxCCm0ddvEjbu595GToCRd1vWyDpOYAuZ5lnhEoUsAvZmVw 0WFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=uCaAP0ZDG/9bDf+BbkeHR/ajuZLfDxs5l1dyRqFIsIk=; b=Ax73GAXA9mfCud6fjp9k48lZz1L8tuiY2T5/KL+V8eR//sWCauOgQuJiILQDXWhoaU N3r/vgEbaq7D1YQLE5exlCGZD00hyhhp9bQ/2SnWh9H1XhPeXzAXg3lxuIcNle4xFolk pyUzvaUW5ZcehTw8d6wZ+8MNZF/lTyNIwOnKZHhz1YildIaOentQZOgXgOaOXNNXuSmz px+B4KyQREJzKslHCTEvVERjTM0W4yLg+BwK8P548vdlUAys27k0+o6SK/ExBsRMvPNW qo0bQPmxiJJnpBznIfPxKIICI0pWJcBRbDBCcO8DONXg6W3nqCOySJyLs+vCi4MAGffq bogw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id b24si1865061edr.338.2020.05.08.17.00.38; Fri, 08 May 2020 17:01:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 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 S1728353AbgEIAA1 (ORCPT + 99 others); Fri, 8 May 2020 20:00:27 -0400 Received: from mga04.intel.com ([192.55.52.120]:65492 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726380AbgEIAA0 (ORCPT ); Fri, 8 May 2020 20:00:26 -0400 IronPort-SDR: fqbLl/BiaTF28dY3Hz9Jszf96F5fOAGIRHXaTx9hbmYsOsNOSpg/jqFPoSlxUuzIHESC9A2cwq Tv2+Bgti37lQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2020 17:00:26 -0700 IronPort-SDR: uwk+2B6mIzjV00A19ftJCJHBFfTTf9SvNFGddyKn10LPrj+ekRAK4kiuQPEG+/Njf3GrP0h+Wc j1FiaixygX7w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,369,1583222400"; d="scan'208";a="408275086" Received: from ingas-nuc1.sea.intel.com ([10.254.110.242]) by orsmga004.jf.intel.com with ESMTP; 08 May 2020 17:00:25 -0700 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, Inga Stotland Subject: [PATCH BlueZ 0/4] Allow some composition fields update Date: Fri, 8 May 2020 17:00:20 -0700 Message-Id: <20200509000024.5704-1-inga.stotland@intel.com> X-Mailer: git-send-email 2.21.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This patchset modifies how we verify the integrity of an existing node when processing Attach() call. The changes: - Vericifaction includes only element/models relationship: this should stay constant during node's lifetime. - Allow updating of CID, PID, VID and CRPL. - Some general cleanup related to saving node configuration. Inga Stotland (4): mesh: On node attach, verify element/model composition only mesh: Avoid saving duplicate fields in node config mesh: Allow updating CID, PID, VID & CRPL on node attach mesh: Remove redundant call to save node configuration mesh/mesh-config-json.c | 56 +++++++++++++++++++++++++++++++++-------- mesh/mesh-config.h | 4 +++ mesh/node.c | 29 +++++++++++++++------ 3 files changed, 71 insertions(+), 18 deletions(-) -- 2.21.3