[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/net/ctp CtpRoutingEngineP.nc, 1.1.2.10, 1.1.2.11

Rodrigo Fonseca rfonseca76 at users.sourceforge.net
Fri Oct 27 14:51:02 PDT 2006


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

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	CtpRoutingEngineP.nc 
Log Message:
Variable ECNOff to turn off action on ECN


Index: CtpRoutingEngineP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/net/ctp/Attic/CtpRoutingEngineP.nc,v
retrieving revision 1.1.2.10
retrieving revision 1.1.2.11
diff -C2 -d -r1.1.2.10 -r1.1.2.11
*** CtpRoutingEngineP.nc	27 Oct 2006 20:00:56 -0000	1.1.2.10
--- CtpRoutingEngineP.nc	27 Oct 2006 21:51:00 -0000	1.1.2.11
***************
*** 123,126 ****
--- 123,127 ----
  implementation {
  
+     bool ECNOff = TRUE;
  
      /* Keeps track of whether the radio is on. No sense updating or sending
***************
*** 589,592 ****
--- 590,597 ----
      command bool CtpInfo.isNeighborCongested(am_addr_t n) {
          uint8_t idx;    
+ 
+         if (ECNOff) 
+             return FALSE;
+ 
          idx = routingTableFind(n);
          if (idx < routingTableActive) {



More information about the Tinyos-2-commits mailing list