tsch-sim
tsch-sim copied to clipboard
Orchestra: changes in when the orchestra_parent_knows_us flag is set
At the moment the child always set the orchestra_parent_knows_us flag when getting a MAC-level ACK to the DAO packet. However, the DAO packet may be dropped by the higher layers, and a route to the child not added - for instance, because the routing table is already full!
This PR aims to improve this logic, and in case DAO ACKs are enabled, set the orchestra_parent_knows_us flag only upon reception of a DAO ACK.
This is a draft PR, as it's not clear whether this tradeoff is worth doing in practice.