]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
lqi no longer wired to the routing engine
authorgnawali <gnawali>
Mon, 24 Sep 2007 14:01:22 +0000 (14:01 +0000)
committergnawali <gnawali>
Mon, 24 Sep 2007 14:01:22 +0000 (14:01 +0000)
tos/lib/net/ctp/CtpRoutingEngineP.nc

index 8bfc0eefeff2ca1c35da76bbcff460bc7a568b87..6c16ed9b278f8d1a179135e002ea6c16d075cb68 100644 (file)
@@ -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) {