mirror of
https://github.com/espressif/openthread.git
synced 2026-07-09 05:40:27 +00:00
d2d9aff012
This commit updates `MleRouter to send an immediate MLE Advertisement on promotion to `router` role and assignment of new Router ID. This helps inform our former parent of our newly allocated Router ID and cause it to reset it own advertisement trickle timer. This can help speed up the dissemination of the new Router ID to other routers. It can also help with quicker link establishment with our former parent and other routers. It also removes tx of multicast Link Request (including its delay mechanism) upon promotion to `router` role. It also updates `Mle` so if we receive an MLE advertisement from a former child (which is recently get promoted to router) to accept it immediately and copy the info from `Child` entry to `Router`. Finally this commit updates the following test-cases which are impacted by the changes above (e.g., skipping the checks for multicast Link Request): - `v1_2_router_5_1_1` - `Cert_5_1_01_RouterAttach` - `Cert_5_2_04_REEDUpgrade` - `Cert_5_5_02_LeaderReboot` - `Cert_5_5_05_SplitMergeREED`