X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fcc2420%2Flpl%2FDefaultLpl.h;h=760ece79ee89c7df5a76d710f8fd0b45f2491f42;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=2c74351110f4ddbf18db6afab64ece476118a3e1;hpb=e72a6756a30fecdd80f4f1b1ee799749f1ab02a7;p=tinyos-2.x.git diff --git a/tos/chips/cc2420/lpl/DefaultLpl.h b/tos/chips/cc2420/lpl/DefaultLpl.h index 2c743511..760ece79 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 @@ -46,20 +47,16 @@ typedef enum { } lpl_sendstate_t; -/** - * Amount of time, in milliseconds, to keep the radio on after - * a successful receive addressed to this node - */ -#ifndef DELAY_AFTER_RECEIVE -#define DELAY_AFTER_RECEIVE 100 -#endif - /** * 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 /**