From: gnawali Date: Mon, 24 Sep 2007 14:01:22 +0000 (+0000) Subject: lqi no longer wired to the routing engine X-Git-Tag: release_tinyos_2_1_0_0~715 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=bddcf07df34558dccc737fe0582cd565a338d774;hp=00cd6fd1b05cdd23e200718de59fadbfe30a77d3;p=tinyos-2.x.git lqi no longer wired to the routing engine --- diff --git a/tos/lib/net/ctp/CtpRoutingEngineP.nc b/tos/lib/net/ctp/CtpRoutingEngineP.nc index 8bfc0eef..6c16ed9b 100644 --- a/tos/lib/net/ctp/CtpRoutingEngineP.nc +++ b/tos/lib/net/ctp/CtpRoutingEngineP.nc @@ -468,7 +468,6 @@ implementation { am_addr_t from; ctp_routing_header_t* rcvBeacon; bool congested; - uint8_t lqi = call CC2420Packet.getLqi(msg); // Received a beacon, but it's not from us. if (len != sizeof(ctp_routing_header_t)) { @@ -489,7 +488,6 @@ implementation { dbg("TreeRouting","%s from: %d [ parent: %d etx: %d]\n", __FUNCTION__, from, rcvBeacon->parent, rcvBeacon->etx); - call CollectionDebug.logEventRoute(NET_C_TREE_RCV_BEACON, from, lqi, rcvBeacon->etx); //update neighbor table if (rcvBeacon->parent != INVALID_ADDR) { @@ -515,11 +513,6 @@ implementation { } - //event void LinkEstimator.newNeighbor(am_addr_t neighbor, uint8_t lqi) { - // call CollectionDebug.logEventRoute(NET_C_TREE_RCV_BEACON, neighbor, lqi, 0); - //} - - /* Signals that a neighbor is no longer reachable. need special care if * that neighbor is our parent */ event void LinkEstimator.evicted(am_addr_t neighbor) {