Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2220427ybg; Thu, 30 Jul 2020 13:40:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxD2e8pi2yaRtjfmJfSMdCYS3HI7nLTSEQIBArSrsAjeHjDJ3w6r+2DEb8jcWLtLlBiM29c X-Received: by 2002:a17:906:7743:: with SMTP id o3mr887501ejn.224.1596141615616; Thu, 30 Jul 2020 13:40:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596141615; cv=none; d=google.com; s=arc-20160816; b=KTalrJXp+mCY00i9kVQwG2A9BzQCvTPrZ3BhxvDkew8hgA9zJBC3Uk84SbR2h0vNKX DylYkhmESJbzmicx/u6wS6UE1zh4AY/DgmpP5H3vv9drlNMG268+Q3WNDJjuiBcWDw4T wQMy+KAwrBpD6p3bn/EhmfT9tzonYvQSPPXoAojG3IW2TWdU1qpC7IoGPh39iTjvZ/Hk 6OWffz7gc+e9WgHTkpfc3tr8p//zlt7fTVFJb2kIZR72Q7i+lSTP7RTxDcxwEpOtBO0H fhVUhvF/KKLqycLVvm6ACDk4qg/XGnHF3R/qd9dO8VAqwn4BBVrT1yJI1rbMUa4eiXRM o72A== 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=/JZ+/sUdRapFqDhliQZfNWLv30OdQqGLwzd45/dpdCk=; b=pkqjdtuCW+5Tyw5wQY2+MO0sd6nWpLEscPsY/QoSydhvTQr3pxmc5hO/6MnpdM7vQE a87DmVG/AGmHnGjXaTPkpbwf+ysuzmV90aPmUy0ePWIvElkUhw79vKibYGJmsgSRfPxz /TVU1CeNDmiyRAtSa1rZT23XW3eH+LJvHNOhZ7wt171jZxKi6PlTWV6icqC73LGWeDC5 YwMIbeLmVlA9T9KxAN2VdmyEpFeGloUDM1+rtgmsNALlQ64nC0qRsILO0X3WB+O/tcpB bjNzYW3ocu+ascGsF2XWNGq5xLNRgK9w7A12rDA9CXk8mdLkoCE0d4Jpv9jZPjmkUSA9 SpiA== 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 v6si3715177eju.570.2020.07.30.13.39.33; Thu, 30 Jul 2020 13:40:15 -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 S1728276AbgG3Uiy (ORCPT + 99 others); Thu, 30 Jul 2020 16:38:54 -0400 Received: from mga01.intel.com ([192.55.52.88]:35025 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726977AbgG3Uix (ORCPT ); Thu, 30 Jul 2020 16:38:53 -0400 IronPort-SDR: ZLJFCJmEXNSdqti77Gkp/CBi4rNpRj6l0jzY1a3NwEi8i1pdPcvtG/z4VwqmN4+FpESPpQaxOR ESEziYAA+/dg== X-IronPort-AV: E=McAfee;i="6000,8403,9698"; a="169803084" X-IronPort-AV: E=Sophos;i="5.75,415,1589266800"; d="scan'208";a="169803084" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jul 2020 13:38:52 -0700 IronPort-SDR: Peh0QPxfNF13JYDqdHy/1Tj2qXIlWpFDkta8EL9FQNkvPoSanhIKYHCMGQJPGdpr5McemLaXQ/ FsJ11N8FrUFQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,415,1589266800"; d="scan'208";a="330864943" Received: from wlloyd-mobl.amr.corp.intel.com (HELO ingas-nuc1.intel.com) ([10.254.79.39]) by orsmga007.jf.intel.com with ESMTP; 30 Jul 2020 13:38:52 -0700 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, Inga Stotland Subject: [PATCH BlueZ 00/10] Clean up Config Server Date: Thu, 30 Jul 2020 13:38:41 -0700 Message-Id: <20200730203851.32043-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 This patch set cleans up implementation of config server. Specifically, all the response status messages are sent from a single point. Along the way, some behavioral inconsistencies are fixed like ignoring more malformed messages, returning correct error status codes. 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 | 1149 ++++++++++++++++----------------------- mesh/cfgmod.h | 2 +- mesh/mesh-config-json.c | 12 +- mesh/mesh-config.h | 6 +- mesh/model.c | 227 ++++---- mesh/model.h | 21 +- mesh/net.c | 273 +++++++--- mesh/net.h | 48 +- 8 files changed, 851 insertions(+), 887 deletions(-) -- 2.26.2