[riot-notifications] [RIOT-OS/RIOT] gnrc/rpl: Implement Minimum Rank with Hysteresis Objective Function (#14623)

Koen Zandberg notifications at github.com
Thu Sep 9 13:15:15 CEST 2021

@bergzand commented on this pull request.

> +        /* p1 is acceptable and p2 not */
+        return -1;
+    }
+    return 0;
+static void reset(gnrc_rpl_dodag_t *dodag)
+    /* Nothing to do in MRHOF */
+    (void) dodag;
+ * Calculate rank additive based on the rank of the parent and the etx to the parent
+ * computed via MAX(pref_parent->rank, 1 + floor(MAX(parents->rank)/MinHopRankIncrease),

>From the enumeration of section 3.3:

This is number 1.


This is number 2.


This iterates over the parents and take the advertised dag rank and increment it by MinHopRankIncrease

And number 3 is missing as far I know. Number 3 could probably merged into the for loop code of number 2 and take the max of the path through the parent (rank of one parent + etx to that parent).

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210909/c90cb711/attachment.htm>

More information about the notifications mailing list