Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp771255pxa; Wed, 5 Aug 2020 12:21:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuxFfMshSb3UdvJpn5Gs3TK6LmkWNS4xjjs8W0+WSwdgeUddKTS72grRDheIoZ1D/fXylj X-Received: by 2002:a17:906:868d:: with SMTP id g13mr788731ejx.242.1596655263692; Wed, 05 Aug 2020 12:21:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596655263; cv=none; d=google.com; s=arc-20160816; b=nkxuRCAoos6nIIuHS0dKctj+lmzZATsvE9CmQLHUBWtYzQnwItR/DGWHNcfgkt645P ZbuaKV/BAhEM+CWZcNSHOauGdY6/HIQIY592kqWa4E46Mf9o93hSKPzrDBWECOcnOxu+ xsPlDdMfBvk/icGIYcFeMez78mSfHl4Jhr63ffi5XATSF+0Ja9KBBbezk/fVdzzADmVM ZejkL82jDShd560oboYalJetVTdGez0J2zGCGyr+Rzw8i4znP9BdkjWIhY1PkH1Eu3gn NapSBmYjQn8dov2VYdoTrAwsiIPO1R2YItkIbXXRPH0nnpAyi0aM8+gMvfoyW0aHlDDG 3hRw== 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=KxiNgIJtvqCt0VE8bXFRAg5S4WzttuQkf61pvZfWjzo=; b=RjBlsoB9Rmm80b1FO5dS9sDq4AdHKNIzFJssvk2Xgh7goqSdlIpWQ8LLoIk6RtdoOU CLnUNV3VllN9f9tjmIsePpLqQm9K2fPomdQBELp/1d4zSTOU1PQ2ZGOyo6LhRyb5dHFj l/FOKr1H61drgx0WdGemZ+NMxzgeB5O+d/FESJpWR8IsQxhmSNZDmn1KikP4WoW+2Jir MS8/NAZd6l11Q29Veb8t5KDC2DTZ6ZnjR/bMks8ZbhjNSkCSCT+6iYsIsxzIY1I7Ue56 9aI8WnPPaA29tXWseqaSisJuZV0dvnFvSW9LOwNl6H9dzKm0ZYAiZTWt4iPIpc7klga1 ri9Q== 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 y10si1868767edu.397.2020.08.05.12.20.28; Wed, 05 Aug 2020 12:21:03 -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 S1728493AbgHETUQ (ORCPT + 99 others); Wed, 5 Aug 2020 15:20:16 -0400 Received: from mga05.intel.com ([192.55.52.43]:42213 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728959AbgHERsm (ORCPT ); Wed, 5 Aug 2020 13:48:42 -0400 IronPort-SDR: M4ofSXJ3SM3mNWO9lfkMD6WQqkUlsypVWtK2eNPbIuyxP2v5Tk+GFD0SuMz0i7v+evZlQoc7vr lAYjmMvqdB+A== X-IronPort-AV: E=McAfee;i="6000,8403,9704"; a="237470599" X-IronPort-AV: E=Sophos;i="5.75,438,1589266800"; d="scan'208";a="237470599" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Aug 2020 10:44:57 -0700 IronPort-SDR: +yHScxxKYp1319fLV3oiV2j8kplv4RaoZ7+LNK5nJe7NgB3RpWacCe87zoGaTwcl7jQBMv6vqA PKec3VjAAaAg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,438,1589266800"; d="scan'208";a="437245692" Received: from unknown (HELO ingas-nuc1.intel.com) ([10.254.118.189]) by orsmga004.jf.intel.com with ESMTP; 05 Aug 2020 10:44:56 -0700 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, Inga Stotland Subject: [PATCH BlueZ v4 00/10] Mesh Config Server clean up Date: Wed, 5 Aug 2020 10:44:46 -0700 Message-Id: <20200805174456.49342-1-inga.stotland@intel.com> X-Mailer: git-send-email 2.26.2 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 v4 - Further fixes in handling Key Refresh Phase Set message ******************* v3 - address Brian's comments ******************* This patch set groups functionality by config messages. Also, fixes the cases where malformed messages should be silently ignored and the situations when incorrect error status is sent in response. Inga Stotland (10): mesh: Clean up handling of config subscription messages mesh: Clean up handling of config model binding messages mesh: Clean up handling of config node identity message mesh: Clean up handling of config publication messages mesh: Clean up handling of config net and app key messages mesh: Clean up handling of config relay messages mesh: Clean up handling of config poll timeout message mesh: Clean up handling of config net transmit messages mesh: Clean up handling of config KR phase messages mesh: Refactor heartbeat pub/sub mesh/cfgmod-server.c | 1196 +++++++++++++++++---------------------- mesh/cfgmod.h | 2 +- mesh/mesh-config-json.c | 12 +- mesh/mesh-config.h | 6 +- mesh/mesh-defs.h | 3 + mesh/model.c | 234 ++++---- mesh/model.h | 21 +- mesh/net.c | 326 +++++++---- mesh/net.h | 54 +- mesh/node.h | 4 - 10 files changed, 912 insertions(+), 946 deletions(-) -- 2.26.2