From patchwork Wed Sep 21 08:39:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isak Westin X-Patchwork-Id: 12983374 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3409EC32771 for ; Wed, 21 Sep 2022 08:40:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230437AbiIUIkY (ORCPT ); Wed, 21 Sep 2022 04:40:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230419AbiIUIkT (ORCPT ); Wed, 21 Sep 2022 04:40:19 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05olkn2056.outbound.protection.outlook.com [40.92.91.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E2DF48CA4 for ; Wed, 21 Sep 2022 01:40:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CRLoXTCSKO38vK1t/xv6+/0fyVMgJx7kvBqTaBPnBphcM66X9Dib+H40wToinEENQ21/LQjjKiqfRmsjBp41WVWhXMuSct0Dqy+ywGSvOPod5mJFyccLmt7plGc53/GYctA83y2AzQ/gV6Vw0GMPDfhu/WdeGY1DEWeGk1mv4Ht3BaYK3A2ANzeekRldehWLbEqTl0QlF3Ox5ZWzKBPKDQdvqavQBMgir6HiCLrc14C8DowaOw0sUCvg+Nag5+uTLS0Tbbtk1BoqaMLEsIF2tWw92vUn6AtonMak+E8vfi+deoj0TQr8JVbJXrzxy/+n9RwUYST2SBA/A+nMEeX/Lw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Ejh0zbsST1yj9JW1PyWZNWnIbtEZ5CFuA12JTvcCFfk=; b=SJQVpDSj2BFjxVVLylND6QaRc5DOcAxwPiM7JQ8otK7IG04A1jVduWYDYv46G5ECFio0QOXKg0Qmb3QJ9ksHc0TeyKHpTp1quOPnQ1vusGtD2i61JxsExXmuNoqtKjM5NURXJo/6tHeyJIRBRlGgcsgO7YJOj/zeFKKlQ0LU8KMi0yTZabIbQxT8Uhs0uFvhhjiAcBeGQmrwkKFcMyCNsHixRTvjwB64iu0RhmVg2V1ZoW57m10IAbikExIvr3Y62/J/mQKU0LvPK8U3kbAnMJVi0OsyazPD1wyqSz0/Tn8pGC5b82WygbDyJKCM/dRmp24fugNO1VxyrJgPe5vQAw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ejh0zbsST1yj9JW1PyWZNWnIbtEZ5CFuA12JTvcCFfk=; b=XrP2ok8Dj83mmD9savj/S71NjLXEgz2N7naY1vCrXLyK80NQvosGPZKfV1Ix0OJNHJAFvclijHA0CKiHB7S6hWScbBi7kaIYCM5d7fStUmL/naPBmu5pPhG7CJsJEenVbKr3zxsM+aEY4F4c8duE8byUnD8VH11rcbmQw0Sp0qd9VSFIpAD2tRLhaL1Bx7b65bG6nCQYHl9W6Ih7yAgT2mAodKqrWYmf9YdiByLsGCD4eU1rg+gJ/1v7o3c7CaWgNuI00qtgCy65w1++2DFeAh8Lpfb9uLkWAxLGU/aR8akLbQ8PQCMV/MATELF7sb7XCXbs0hN+lsn4OZDKtlZJcQ== Received: from VI1PR09MB4239.eurprd09.prod.outlook.com (2603:10a6:800:12f::23) by DU0PR09MB5693.eurprd09.prod.outlook.com (2603:10a6:10:31e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.18; Wed, 21 Sep 2022 08:40:15 +0000 Received: from VI1PR09MB4239.eurprd09.prod.outlook.com ([fe80::adeb:7a9b:9960:27bf]) by VI1PR09MB4239.eurprd09.prod.outlook.com ([fe80::adeb:7a9b:9960:27bf%2]) with mapi id 15.20.5632.021; Wed, 21 Sep 2022 08:40:15 +0000 From: Isak Westin To: linux-bluetooth@vger.kernel.org Cc: Isak Westin Subject: [PATCH BlueZ 0/3] Mesh model publication fixes according to mesh profile Date: Wed, 21 Sep 2022 10:39:38 +0200 Message-ID: X-Mailer: git-send-email 2.20.1 X-TMN: [yVTJqAprGHKBO1W5HqRC2pL6s+IwQyV/] X-ClientProxiedBy: ZRAP278CA0008.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:10::18) To VI1PR09MB4239.eurprd09.prod.outlook.com (2603:10a6:800:12f::23) X-Microsoft-Original-Message-ID: <20220921083941.8461-1-isak.westin@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR09MB4239:EE_|DU0PR09MB5693:EE_ X-MS-Office365-Filtering-Correlation-Id: bb18276d-af20-437d-6d28-08da9bace783 X-MS-Exchange-SLBlob-MailProps: ZILSnhm0P3lUkjXuSDdeTQka1McTh6g4HkjOOwmClooTD68GhebhQW1VACKWqo28426JGqHOdbJ8pLWSmZe6rWjUCaDD8wGfd4lLzRhPmT2bSfqU8nIuz01lt42tA8dL9baxwGyBm8Rx21pMVZ16+tphB2ftF0R+ve12BlgWzIUfUhJ+7rOwwOPvzpXv5cIEb2Qz1OdPB1sh+N7aGM5Z58gs8HYj/3sdZ00Rl//m4vudqokE2zplH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9PIRANTO4nf4o9ZxDnFiCuhLtDnc1din3A0RgGdClP5jm4QhvuNX9RtTB1G6bQRn/65SDC+3T47smpavjXcZuk0WE631DWHSTWF509puUjxcSncFzkGQRL0rBUqQL523MbjQpLEC59qV4NhaD3XpvDFgeaYNin3H9DrpvmHMZoMEg4zefl2ejDXtjFJtwrvDLYuYumJeQClcjkiSQGt94dsZIeeHqbT5c4FoP8gHkFTQuwQOz9wW96On/elnIKcYS7YHT5Kd+wn4yPUYihMqA/69jv4M57tep2JqMvCyJONL9LvS04epEEC0XUyzvcvP3sAq5XzH7QqgK244pjhIJkgLAU+zZIyLJeMgkgpX9WJQBXF3335yFHyTX/WDwjoWmSOsc8ryaDNl6gfZAAhe0PucDEu5KT4+f07JB0GPlVQErtZ8lU5motgIP30KV6E3ESZkhterV5KhLEgPNWw== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-64da6.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: bb18276d-af20-437d-6d28-08da9bace783 X-MS-Exchange-CrossTenant-AuthSource: VI1PR09MB4239.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2022 08:40:15.1863 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR09MB5693 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi, I am testing the BlueZ Mesh stack with PTS (MESH and MMDL layers) and there are some parts of the mesh stack that are not behaving according to the mesh profile. Here are fixes to a few of them I encountered when testing the model publication procedures (MESH/NODE/CFG/MP). I am happy for any feedback. Best regards, Isak Isak Westin (3): mesh: Add interface output filter mesh: Do not accept publication for unbound appkey mesh: Remove RFU check for publication set mesh/cfgmod-server.c | 2 -- mesh/model.c | 3 ++- mesh/net.c | 28 ++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 3 deletions(-)