mesh: Allow short messages to be segmented 55/228955/1
authorBrian Gix <brian.gix@intel.com>
Wed, 18 Mar 2020 17:00:20 +0000 (10:00 -0700)
committerAnupam Roy <anupam.r@samsung.com>
Thu, 26 Mar 2020 10:37:57 +0000 (16:07 +0530)
commite31714a7b2c091c629095a0e1a764204b7431d0c
tree1af0a0febfd7c7d6fd64f2ccbd677a1374adcd6e
parentab5633e3653000e43208eb5d58586ac4e3e22f92
mesh: Allow short messages to be segmented

For added reliability, it is legal to send short messages as "single
segment" segmented messages, which require transport layer
acknowledgement. This feature is intended for heavy usage in the future
so I am adding it now.

Further, to support this functionality, an additional queue has been
added to allow multiple SAR messages to the same DST to be queued and
sent serially.

Change-Id: I6dfa9543ab9a9a49438e46f38fa25659f50db82d
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/cfgmod-server.c
mesh/model.c
mesh/model.h
mesh/net.c
mesh/net.h
mesh/node.c
unit/test-mesh-crypto.c