[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/cc2420/control CC2420ControlC.nc, 1.2, 1.3 CC2420ControlP.nc, 1.4, 1.5

dmm rincon at users.sourceforge.net
Wed May 14 14:33:09 PDT 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/control
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv351/control

Modified Files:
	CC2420ControlC.nc CC2420ControlP.nc 
Log Message:
* Removed hardware address recognition to monitor its affect on unit tests, low power listening reliability, and ack reliability in general.
* Implemented software-based address recognition in ReceiveP.
* Applied Steve Dawson-Haggerty's patch to make the RadioBackoff interface parameterized by AM ID only at the top of the stack, whiich allows stack modifications that do not support AM ID's to exist below the active message layer.


Index: CC2420ControlP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/control/CC2420ControlP.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** CC2420ControlP.nc	13 May 2008 15:48:09 -0000	1.4
--- CC2420ControlP.nc	14 May 2008 21:33:07 -0000	1.5
***************
*** 438,446 ****
    /**
     * Write the MDMCTRL0 register
     */
    void writeMdmctrl0() {
      atomic {
        call MDMCTRL0.write( ( 1 << CC2420_MDMCTRL0_RESERVED_FRAME_MODE ) |
!           ( addressRecognition << CC2420_MDMCTRL0_ADR_DECODE ) |
            ( 2 << CC2420_MDMCTRL0_CCA_HYST ) |
            ( 3 << CC2420_MDMCTRL0_CCA_MOD ) |
--- 438,449 ----
    /**
     * Write the MDMCTRL0 register
+    * Disabling hardware address recognition improves acknowledgment success
+    * rate and low power communications reliability by causing the local node
+    * to do work while the real destination node of the packet is acknowledging.
     */
    void writeMdmctrl0() {
      atomic {
        call MDMCTRL0.write( ( 1 << CC2420_MDMCTRL0_RESERVED_FRAME_MODE ) |
!           ( 0 << CC2420_MDMCTRL0_ADR_DECODE ) |
            ( 2 << CC2420_MDMCTRL0_CCA_HYST ) |
            ( 3 << CC2420_MDMCTRL0_CCA_MOD ) |



More information about the Tinyos-2-commits mailing list