3 Feb 2006 15:38
Topology link quality
Dries Naudts <dries.naudts <at> intec.ugent.be>
2006-02-03 14:38:06 GMT
2006-02-03 14:38:06 GMT
Dear all,
regarding the olsr-quality extension, in file tc_set.c in function
olsr_tc_update_mprs() the following code snippet can be found:
COPY_IP(&new_topo_dst->T_dest_addr, &mprs->address);
new_topo_dst->T_time = GET_TIMESTAMP(msg->vtime*1000);
new_topo_dst->T_seq = msg->ansn;
if (olsr_cnf->lq_level > 0)
{
new_topo_dst->link_quality = mprs->neigh_link_quality;
new_topo_dst->inverse_link_quality = mprs->link_quality;
new_topo_dst->saved_link_quality = new_topo_dst->link_quality;
new_topo_dst->saved_inverse_link_quality =
new_topo_dst->inverse_link_quality;
}
Can someone explain why the new_topo_dst->link quality is set equal to
mprs->neigh_link_quality and vice versa?
IMHO, i think new_topo_dst->link_quality must be set equal to
mprs->link_quality. Am I missing something? Can someone clearify this
for me?
Look for instance at this simple example:
node ip = 10.3.246.1
*** olsr.org - 0.4.10 (Feb 2 2006) ***
(Continue reading)
-Thomas
RSS Feed