[olsr-dev] Olsr quality extensions metric

Dries Naudts (spam-protected)
Wed Feb 8 13:37:38 CET 2006


Dear all,

In process_package.c the following can be found:

                      // path link quality = link quality between us
                      // and our one-hop neighbor x link quality between
                      // our one-hop neighbor and the two-hop neighbor

                      // let's compare this to ETX:

                      // 1 / LQ1 + 1 / LQ2 < 1 / LQ3 + 1 / LQ4 <=>
                      // LQ1 * LQ2 > LQ3 * LQ4

                      // so comparing path link quality values with ">" is
                      // equivalent to comparing ETX values with "<"

Can someone explain this? Why can this be stated? Is this true in all cases?

Regards,
Dries





More information about the Olsr-dev mailing list