2022-09-26 20:25:37

by fdanis-oss

[permalink] [raw]
Subject: [bluez/bluez] 491be4: mesh: Improve PB-ADV timing for reliability

Branch: refs/heads/master
Home: https://github.com/bluez/bluez
Commit: 491be481a91c39d31f7908da8a2beea60237646e
https://github.com/bluez/bluez/commit/491be481a91c39d31f7908da8a2beea60237646e
Author: Brian Gix <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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