mesh: Friendship clean-up and rewrite
authorBrian Gix <brian.gix@intel.com>
Wed, 27 Nov 2019 21:39:39 +0000 (13:39 -0800)
committerAnupam Roy <anupam.r@samsung.com>
Tue, 17 Dec 2019 20:49:48 +0000 (02:19 +0530)
commit8b9fa6c9a3cef2b81794f9a725e32820a405d6f9
tree6f68c5036aa97f880e86fd81cbc965fbdcbd1a0b
parent916b1fd433ee7c93458d9e37ebecdbe4f4563039
mesh: Friendship clean-up and rewrite

Friendship support re-written such that it can now support multiple
nodes (on multiple mesh networks) as friends to remote Low Power Nodes
(LPNs).  Validated to properly respond to Friend Requests when enabled,
and a hard coded Friend Queue size of 32 (FRND_CACHE_MAX).

Change-Id: Ia50bba5f000eb9bd30e5a7d54045a22d2978428a
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/crypto.c
mesh/friend.c
mesh/friend.h
mesh/net.c
mesh/net.h
mesh/node.c