From 7c648559daec834b510cd6c0a938a26f6e07aa59 Mon Sep 17 00:00:00 2001 From: Zhangwx Date: Wed, 17 Aug 2022 04:20:47 +0800 Subject: [PATCH] [bbr] reduce the default reregisteration delay (#7996) After BBR restarting, in order to receive the packets from multicast group, the devices, which have registered multicast group addresses to that BBR, needs to re-register these groups. In current logic, the default max reregistration delay is too large (1200 seconds). --- src/core/thread/mle_types.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/thread/mle_types.hpp b/src/core/thread/mle_types.hpp index fbc92a63e..c11aca0df 100644 --- a/src/core/thread/mle_types.hpp +++ b/src/core/thread/mle_types.hpp @@ -236,7 +236,7 @@ enum LeaderStartMode : uint8_t * Backbone Router / DUA / MLR constants * */ -constexpr uint16_t kRegistrationDelayDefault = 1200; ///< In seconds. +constexpr uint16_t kRegistrationDelayDefault = 5; ///< In seconds. constexpr uint32_t kMlrTimeoutDefault = 3600; ///< In seconds. constexpr uint32_t kMlrTimeoutMin = 300; ///< In seconds. constexpr uint32_t kMlrTimeoutMax = 0x7fffffff / 1000; ///< In seconds (about 24 days).