Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp358750rwb; Mon, 26 Sep 2022 13:25:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4E2VyUXOJu7wGoReoLBGxR7zDpThh6usW4qHPBqakm7F8J1eqGHMvhrwOm0nrbtgRoNBI3 X-Received: by 2002:a05:6402:54b:b0:457:3b62:306a with SMTP id i11-20020a056402054b00b004573b62306amr8268343edx.6.1664223937601; Mon, 26 Sep 2022 13:25:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664223937; cv=none; d=google.com; s=arc-20160816; b=yMx6Wm8cN/5JrEIaJnVPUXhdZ8R+L58TZMvM7nWX6mtcAb77uB7DVxgfbihr+EAnOp eFzAH3LVmo9VjDXtgjFizB/eMh3O2usYOUI+qzU0XmyVAoPMtl6VPFVFbb7PQnqlx6kP orzCKbfi4eFZ+hHY74+zwIODoESdcEgsuGogi1x+vGUUZWJGizE6zk/RtCLayLpD7zdz gjbpoSYRp69H1NrYClL+L3JaSKdxPSju2fOct7QUIaA0Ug/S+7GcH1XRRVMq+UH0dOnk D83Uc+FBzBJ4S9nnKXYgDFQOx835FCzfF0e4tdJPMgJBuVIJaLCJnTIe3E8pR1fvkaYH gTNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:subject :message-id:to:from:date:dkim-signature; bh=QUdQtK6Jvp0N8BcsPCx1vqN9afXEQaN8YWjHAnudx6o=; b=coTQWwCBG0uqAKwNvfXFwL3LVDmJP9f0Ua7q0cJyGtBWj8gp/f6ia6M7/LT59KwzIy /DceyjYLGgbgNQh0m7rQEzKqYVJOaPwfB40aYEDLpCb7iPuRVodyczyLUFIr6PyZGR+y XIg8FqZRdJuYrGp0XXP/nagj7zo6hoJJlLctxvbJNMaiHx65kssymcfVMvItJZl6jTrc 79ITEzp+dYYaMT/bAjWCZ6MYuRGFH5DlU1FtvcQwBSIU2eP5yJjYX35yLyg0bLviEysh VKJglnLppdaPEYXofGjlHxbJNdvtABqn5JCMKYZBPP2SVXiB9xGSRmZGQD4C8M/EpdaH +bHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@github.com header.s=pf2014 header.b=QfFz75Yf; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=github.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k25-20020a170906a39900b0077ef3eeca17si741671ejz.155.2022.09.26.13.24.39; Mon, 26 Sep 2022 13:25:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@github.com header.s=pf2014 header.b=QfFz75Yf; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=github.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229615AbiIZUUv (ORCPT + 99 others); Mon, 26 Sep 2022 16:20:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbiIZUUu (ORCPT ); Mon, 26 Sep 2022 16:20:50 -0400 Received: from out-19.smtp.github.com (out-19.smtp.github.com [192.30.252.202]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 521AE48E8D for ; Mon, 26 Sep 2022 13:20:47 -0700 (PDT) Received: from github.com (hubbernetes-node-62aa549.va3-iad.github.net [10.48.201.74]) by smtp.github.com (Postfix) with ESMTPA id 2A8D5E0DD4 for ; Mon, 26 Sep 2022 13:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1664223647; bh=QUdQtK6Jvp0N8BcsPCx1vqN9afXEQaN8YWjHAnudx6o=; h=Date:From:To:Subject:From; b=QfFz75Yfifr2IsZvoQtTK+g1DCCwi8dLO1wbYGbyfCOhSSnOQaGTuu1VJZaIj26g1 qKabeWsLBApsbWaIcq5wt4stYNx1udEi/T8QxABYOtci4+OUOlrBMe4Q8uDzMxeVO9 Mm4kBjNH0GyHjZN09Otz209HdGtWo+BIGdRdC/Sw= Date: Mon, 26 Sep 2022 13:20:47 -0700 From: Isak Westin To: linux-bluetooth@vger.kernel.org Message-ID: Subject: [bluez/bluez] 491be4: mesh: Improve PB-ADV timing for reliability Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GitHub-Recipient-Address: linux-bluetooth@vger.kernel.org X-Auto-Response-Suppress: All X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Branch: refs/heads/master Home: https://github.com/bluez/bluez Commit: 491be481a91c39d31f7908da8a2beea60237646e https://github.com/bluez/bluez/commit/491be481a91c39d31f7908da8a2beea60237646e Author: Brian Gix Date: 2022-09-26 (Mon, 26 Sep 2022) Changed paths: M mesh/pb-adv.c Log Message: ----------- mesh: Improve PB-ADV timing for reliability Because provisioning is not speed dependent, Timing on outbound PB-ADV packets have been modified to be less likely missed by remote controlers with looser timing capabilities. Commit: 9966cb8b6999a5f54fc13acbd7e1526512a84342 https://github.com/bluez/bluez/commit/9966cb8b6999a5f54fc13acbd7e1526512a84342 Author: Brian Gix Date: 2022-09-26 (Mon, 26 Sep 2022) Changed paths: M Makefile.mesh M mesh/main.c M mesh/mesh-io-api.h M mesh/mesh-io-generic.c A mesh/mesh-io-mgmt.c A mesh/mesh-io-mgmt.h M mesh/mesh-io-unit.c M mesh/mesh-io.c M mesh/mesh-io.h M mesh/mesh-mgmt.c M mesh/mesh-mgmt.h M mesh/mesh.c M mesh/mesh.h Log Message: ----------- mesh: Add new kernel MGMT based IO transport 1. Re-structures MGMT handling such that it is used to detect kernel support of the mesh MGMT opcodes and events before selecting between using MGMT or the legacy raw HCI socket method. 2. Re-structures main() to allow command line to prefer MGMT over HCI or visa versa, plus optionally pass an explicte controller. 3. Adds mesh-io-mgmt as a transport. Commit: 5b569e3d14a38247c69a16d80c5f7c8b77482505 https://github.com/bluez/bluez/commit/5b569e3d14a38247c69a16d80c5f7c8b77482505 Author: Isak Westin Date: 2022-09-26 (Mon, 26 Sep 2022) Changed paths: M mesh/cfgmod-server.c Log Message: ----------- mesh: Correct u32 to u8 log transformation Fixed the log transformation to correctly follow the value mapping defined in the mesh profile (section 4.1.2). Commit: 1ef221ca020581575a3775ec60c0a28e384081be https://github.com/bluez/bluez/commit/1ef221ca020581575a3775ec60c0a28e384081be Author: Isak Westin Date: 2022-09-26 (Mon, 26 Sep 2022) Changed paths: M mesh/cfgmod-server.c Log Message: ----------- mesh: Reply to HB pub set with same fields If a Config Heartbeat Publication Set message is unsuccessfully processed, the fields in the status reply should be the same as in the original message. See MshPRFv1.0.1 section 4.4.1.2.15. Commit: 902389f3e7a33e5730d7e2318b1f1868170dc092 https://github.com/bluez/bluez/commit/902389f3e7a33e5730d7e2318b1f1868170dc092 Author: Isak Westin Date: 2022-09-26 (Mon, 26 Sep 2022) Changed paths: M mesh/cfgmod-server.c M mesh/net.c Log Message: ----------- mesh: Correct HB sub state updates If heartbeat subscription is disabled, all fields should be set to zero but collected data should be preserved. If HB subscription is enabled, the collected data should be reset (which includes Min Hops = 0x7f). HB subscription is disabled by setting any of the following fields to zero: Source, destination or period log. HB subscription is enabled by setting all the same fields to valid values. Commit: d763bfa4d0892b4b3b004577491d2493a999648e https://github.com/bluez/bluez/commit/d763bfa4d0892b4b3b004577491d2493a999648e Author: Isak Westin Date: 2022-09-26 (Mon, 26 Sep 2022) Changed paths: M mesh/cfgmod-server.c Log Message: ----------- mesh: Clear HB sub status field if disabled When replying to a HB subscription get message, and the current state of source or destination fields is zero (which means that HB subscription is disabled), all fields in the status reply should be zero. Compare: https://github.com/bluez/bluez/compare/7738e9ac416b...d763bfa4d089