Skip to content

mesh: Fix Friendship for multiple local nodes

Brian Gix linux-bluetooth 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 1 replyIn review
  2. v2 posting 1/21 patch 1 replySuperseded
  3. v11 patch 0 repliesSuperseded

Changes in v2 from the cover letter

Added an additional Debug Output clean-up patch that makes logging of incoming messages less noisy when multiple local nodes can decrypt the same incoming messages.

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mesh: clean-up Recieved Message debug outputmesh/net.c+8 -150 replies
2/2mesh: Friendship clean-up and rewritemesh/crypto.c mesh/friend.c mesh/friend.h +3 more+263 -6960 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH BlueZ v2 0/2] mesh: Fix Friendship for multiple local nodes

Primary purpose of this patch-set is to get Friendship working again, and clean-up the logic so that it correctly works accross multiple Networks and Nodes. Currently friendship must be enabled by manually editting the appropriate node.json file, but suppport will eventually be available with a soon-to-come mesh.conf file.

v2:
Added an additional Debug Output clean-up patch that makes logging of incoming messages less noisy when multiple local nodes can decrypt the same incoming messages.

Brian Gix (2):
mesh: clean-up Recieved Message debug output
mesh: Friendship clean-up and rewrite

 mesh/crypto.c |   4 +-
 mesh/friend.c | 610 ++++++++------------------------------------------
 mesh/friend.h |   7 +-
 mesh/net.c    | 328 ++++++++++++---------------
 mesh/net.h    |  31 ++-
 mesh/node.c   |   2 +-
 6 files changed, 271 insertions(+), 711 deletions(-)
Signature · 1 line
2.21.0