From cfaf5a703f012ce42421f28dc4e0dd4c11869354 Mon Sep 17 00:00:00 2001 From: rincon Date: Fri, 14 Sep 2007 16:53:26 +0000 Subject: [PATCH] Updated the DUTY_ON_TIME to 11 ms, compensating for backoffs and acknowledgement wait periods around the transmission. --- tos/chips/cc2420/lpl/DefaultLpl.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tos/chips/cc2420/lpl/DefaultLpl.h b/tos/chips/cc2420/lpl/DefaultLpl.h index 2c743511..f74db43b 100644 --- a/tos/chips/cc2420/lpl/DefaultLpl.h +++ b/tos/chips/cc2420/lpl/DefaultLpl.h @@ -31,6 +31,7 @@ /** * @author David Moss + * @author Tony O'Donovan */ #ifndef DEFAULTLPL_H #define DEFAULTLPL_H @@ -57,9 +58,13 @@ typedef enum { /** * This is a measured value of the time in ms the radio is actually on * We round this up to err on the side of better performance ratios + * This includes the acknowledgement wait period and backoffs, + * which can typically be much longer than the transmission. + * + * Measured by Tony O'Donovan */ #ifndef DUTY_ON_TIME -#define DUTY_ON_TIME 5 +#define DUTY_ON_TIME 11 #endif /** -- 2.39.2