[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:18:24 CEST 2021


@bergzand commented on this pull request.



> +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),
+ */
+static uint16_t calc_rank(gnrc_rpl_dodag_t *dodag, uint16_t base_rank)
+{
+    (void) base_rank;
+    DEBUG("MRHOF: Calculating rank\n");
+
+    /* TODO: consider a parent set of more than 1 parent */

I'm fairly confident that it is outdated

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14623#discussion_r705231952
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210909/990b780c/attachment.htm>


More information about the notifications mailing list