mbox series

[BlueZ,0/4] Mesh demon switched to using kernel Mesh MGMT

Message ID 20220922203852.494315-1-brian.gix@intel.com
Headers show
Series Mesh demon switched to using kernel Mesh MGMT | expand

Message

Brian Gix Sept. 22, 2022, 8:38 p.m. UTC
This patchset enables the mesh daemon (bluetooth-meshd) to use the new
MGMT mesh opcodes and events to send and receive Mesh packets. By
default, the daemon attempts to enable the experimental mesh
functionality, and query the kernel for active mesh support before then
enumerating the available controllers and selecting ojne that works.

If no kernel support is found, it will continue to use a raw HCI socket
for mesh support.

Brian Gix (4):
  mgmt: Add support for Mesh in the kernel
  lib: Add defines of new MGMT opcodes and events
  mesh: Improve PB-ADV timing for reliability
  mesh: Add new kernel MGMT based IO transport

 Makefile.mesh          |   9 +-
 doc/mgmt-api.txt       | 192 +++++++++++++++++++++++++++++++++--------
 lib/mgmt.h             |   6 ++
 mesh/main.c            |  39 ++++++++-
 mesh/mesh-io-api.h     |  11 ++-
 mesh/mesh-io-generic.c |  47 +++-------
 mesh/mesh-io-unit.c    |  13 ++-
 mesh/mesh-io.c         | 188 ++++++++++++++++++++++++++++++----------
 mesh/mesh-io.h         |   4 +-
 mesh/mesh-mgmt.c       | 164 +++++++++++++++++++++++++++--------
 mesh/mesh-mgmt.h       |  12 ++-
 mesh/mesh.c            |   6 +-
 mesh/mesh.h            |   2 +-
 mesh/pb-adv.c          |   9 +-
 14 files changed, 523 insertions(+), 179 deletions(-)