[Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/TestNetwork TestNetworkC.nc, 1.8, 1.9
Omprakash Gnawali
gnawali at users.sourceforge.net
Sun Apr 27 21:29:40 PDT 2008
Update of /cvsroot/tinyos/tinyos-2.x/apps/tests/TestNetwork
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv23554
Modified Files:
TestNetworkC.nc
Log Message:
ECN bit was not being set properly
Index: TestNetworkC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/TestNetwork/TestNetworkC.nc,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** TestNetworkC.nc 14 Sep 2007 18:48:51 -0000 1.8
--- TestNetworkC.nc 28 Apr 2008 04:29:37 -0000 1.9
***************
*** 143,147 ****
call Leds.led1Toggle();
if (!call Pool.size() <= (TEST_NETWORK_QUEUE_SIZE < 4)? 1:3) {
! call CtpCongestion.setClientCongested(TRUE);
}
if (!call Pool.empty() && call Queue.size() < call Queue.maxSize()) {
--- 143,147 ----
call Leds.led1Toggle();
if (!call Pool.size() <= (TEST_NETWORK_QUEUE_SIZE < 4)? 1:3) {
! // call CtpCongestion.setClientCongested(TRUE);
}
if (!call Pool.empty() && call Queue.size() < call Queue.maxSize()) {
***************
*** 184,188 ****
}
else {
! call CtpCongestion.setClientCongested(FALSE);
}
}
--- 184,188 ----
}
else {
! // call CtpCongestion.setClientCongested(FALSE);
}
}
More information about the Tinyos-2-commits
mailing list