Commit 6d0618f
authored
[routing-manager] enhance peer BR count tracking and signaling (openthread#11594)
This commit enhances how changes in the number of reachable peer
Border Routers (BRs) are tracked and signaled. This tracking is
handled by `RxRaTracker` and utilized by the `MultiAilDetector` to
determine if BRs are connected to different AILs.
The `RxRaTracker::DecisionFactors` class now includes and tracks
`mReachablePeerBrCount`. This value is updated in the `Evaluate()`
method, which is invoked upon any change to the internal state
tracked by `RxRaTracker` (e.g., changes in discovered prefixes or
routers). This ensures that any change in the number of peer BRs is
promptly detected and signaled to other sub-components, allowing them
to update their state or take necessary actions.1 parent e99a523 commit 6d0618f
2 files changed
Lines changed: 16 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1213 | 1213 | | |
1214 | 1214 | | |
1215 | 1215 | | |
1216 | | - | |
| 1216 | + | |
1217 | 1217 | | |
1218 | 1218 | | |
1219 | 1219 | | |
| |||
1812 | 1812 | | |
1813 | 1813 | | |
1814 | 1814 | | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
1815 | 1819 | | |
1816 | 1820 | | |
1817 | 1821 | | |
| |||
2021 | 2025 | | |
2022 | 2026 | | |
2023 | 2027 | | |
2024 | | - | |
2025 | | - | |
2026 | | - | |
2027 | | - | |
2028 | | - | |
2029 | | - | |
2030 | | - | |
2031 | | - | |
2032 | 2028 | | |
2033 | 2029 | | |
2034 | 2030 | | |
| |||
2182 | 2178 | | |
2183 | 2179 | | |
2184 | 2180 | | |
2185 | | - | |
| 2181 | + | |
2186 | 2182 | | |
2187 | 2183 | | |
2188 | 2184 | | |
| |||
2198 | 2194 | | |
2199 | 2195 | | |
2200 | 2196 | | |
| 2197 | + | |
2201 | 2198 | | |
2202 | 2199 | | |
2203 | 2200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1036 | 1036 | | |
1037 | 1037 | | |
1038 | 1038 | | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
1039 | 1042 | | |
1040 | 1043 | | |
1041 | 1044 | | |
| |||
1051 | 1054 | | |
1052 | 1055 | | |
1053 | 1056 | | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
1058 | 1057 | | |
1059 | 1058 | | |
1060 | 1059 | | |
| |||
1242 | 1241 | | |
1243 | 1242 | | |
1244 | 1243 | | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
1245 | 1247 | | |
1246 | 1248 | | |
1247 | 1249 | | |
| |||
1254 | 1256 | | |
1255 | 1257 | | |
1256 | 1258 | | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
1257 | 1262 | | |
1258 | 1263 | | |
1259 | 1264 | | |
| |||
0 commit comments