[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/net/collection ForwardingEngineP.nc, 1.1.2.50, 1.1.2.51

Omprakash Gnawali gnawali at users.sourceforge.net
Thu Oct 5 14:44:55 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/net/collection
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv26347/collection

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	ForwardingEngineP.nc 
Log Message:
catch evicted event, change the CTP forwarding engine to use the new link estimator

Index: ForwardingEngineP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/net/collection/ForwardingEngineP.nc,v
retrieving revision 1.1.2.50
retrieving revision 1.1.2.51
diff -C2 -d -r1.1.2.50 -r1.1.2.51
*** ForwardingEngineP.nc	5 Oct 2006 08:08:18 -0000	1.1.2.50
--- ForwardingEngineP.nc	5 Oct 2006 21:44:49 -0000	1.1.2.51
***************
*** 547,550 ****
--- 547,551 ----
  					 call CollectionPacket.getOrigin(msg), 
                                           call AMPacket.destination(msg));
+       call LinkEstimator.txAck(AMPacket.destination(msg));
        clientPtrs[client] = qe;
        hdr = getHeader(qe->msg);
***************
*** 872,875 ****
--- 873,879 ----
    }
  
+   event void LinkEstimator.evicted(am_addr_t neighbor) {
+   }
+ 
    /* Default implementations for CollectionDebug calls.
     * These allow CollectionDebug not to be wired to anything if debugging



More information about the Tinyos-2-commits mailing list