[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/tda5250/mac
CsmaMacP.nc, 1.6, 1.7
akoepke
andreaskoepke at users.sourceforge.net
Sat Mar 10 14:11:16 PST 2007
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/tda5250/mac
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv8348/tos/chips/tda5250/mac
Modified Files:
CsmaMacP.nc
Log Message:
some more bit rates to choose from
Index: CsmaMacP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/tda5250/mac/CsmaMacP.nc,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** CsmaMacP.nc 27 Feb 2007 19:18:24 -0000 1.6
--- CsmaMacP.nc 10 Mar 2007 22:11:14 -0000 1.7
***************
*** 97,101 ****
PREAMBLE_BYTE_TIME=7, // byte at 49000 kBit/s, no coding
PHY_HEADER_TIME=40, // 6 Phy Preamble at 49000
!
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
--- 97,107 ----
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
More information about the Tinyos-2-commits
mailing list