[mlr] send MLR.req for local multicast addresses (#5248)

This commit includes:

- Adding compile configurations necessary for MLR features
- Adding source/header files necessary for MLR features
- Send MLR.req for local MAs on ThreadNetif
  - At most one MLR.req is outstanding
  - Reregistration according to PBBR configuration
  - Renewing periods according to PBBR configuration
- BBRs receive MLR.req with minimal processing and send MLR.rsp
- Add a test to verify that MLR.req is sent for local MAs.
This commit is contained in:
Simon Lin
2020-07-22 08:38:05 -07:00
committed by GitHub
parent 2129b567b4
commit 00f3043a06
29 changed files with 1564 additions and 12 deletions
+2
View File
@@ -52,6 +52,7 @@ build_simulation()
if [[ ${version} == "1.2" ]]; then
options+=("-DOT_DUA=ON")
options+=("-DOT_MLR=ON")
fi
if [[ ${VIRTUAL_TIME} == 1 ]]; then
@@ -89,6 +90,7 @@ build_posix()
if [[ ${version} == "1.2" ]]; then
options+=("-DOT_DUA=ON")
options+=("-DOT_MLR=ON")
fi
if [[ ${VIRTUAL_TIME} == 1 ]]; then