]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/tda5250/mac/CsmaMacP.nc
some more bit rates to choose from
[tinyos-2.x.git] / tos / chips / tda5250 / mac / CsmaMacP.nc
index 68111568ce5aa54fcfc0653a0cc90aa9ed585297..585e6c2bed228ca52436c40b402c90f5ae5f9967 100644 (file)
@@ -96,7 +96,13 @@ implementation
         BYTE_TIME=10,                // byte at 49000 kBit/s, 4b6b encoded
         PREAMBLE_BYTE_TIME=7,        // byte at 49000 kBit/s, no coding
         PHY_HEADER_TIME=40,          // 6 Phy Preamble at 49000
-
+        
+        /*
+        BYTE_TIME=12,                // byte at 40960 kBit/s, 4b6b encoded
+        PREAMBLE_BYTE_TIME=8,        // byte at 40960 kBit/s, no coding
+        PHY_HEADER_TIME=48,          // 6 Phy Preamble at 40960
+        */
+        
         SUB_HEADER_TIME=PHY_HEADER_TIME + sizeof(tda5250_header_t)*BYTE_TIME,
         SUB_FOOTER_TIME=2*BYTE_TIME, // 2 bytes crc 38400 kBit/s with 4b6b encoding
         MAXTIMERVALUE=0xFFFF,        // helps to compute backoff