Parent: 491be481a91c39d31f7908da8a2beea60237646e
Author: Brian Gix <brian.gix@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2022-09-26 23:14:47
Tree: 340ca4b754716a30e8fb29a07423e31c8f704864
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.
Diffstat
| M | Makefile.mesh | | | 9 | ++++- - - - - |
| M | mesh/main.c | | | 39 | +++++++++++++++++++++++++++++++++++- - - - |
| M | mesh/mesh-io-api.h | | | 11 | +++++++- - - - |
| M | mesh/mesh-io-generic.c | | | 47 | +++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| A | mesh/mesh-io-mgmt.c | | | 788 | ++++++++++++++++++++++++++++++++++++++++ |
| A | mesh/mesh-io-mgmt.h | | | 11 | +++++++++++ |
| M | mesh/mesh-io-unit.c | | | 13 | ++++++- - - - - - - |
| M | mesh/mesh-io.c | | | 189 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | mesh/mesh-io.h | | | 4 | +++- |
| M | mesh/mesh-mgmt.c | | | 164 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | mesh/mesh-mgmt.h | | | 12 | +++++++++++- |
| M | mesh/mesh.c | | | 6 | +++++- |
| M | mesh/mesh.h | | | 2 | +- |
13 files changed, 1154 insertions(+), 141 deletions(-)