From 4719c514b9da857c2b7ba81880e01c2aac671eec Mon Sep 17 00:00:00 2001 From: andreaskoepke Date: Sat, 10 Mar 2007 22:11:14 +0000 Subject: [PATCH] some more bit rates to choose from --- tos/chips/tda5250/mac/CsmaMacP.nc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tos/chips/tda5250/mac/CsmaMacP.nc b/tos/chips/tda5250/mac/CsmaMacP.nc index 68111568..585e6c2b 100644 --- a/tos/chips/tda5250/mac/CsmaMacP.nc +++ b/tos/chips/tda5250/mac/CsmaMacP.nc @@ -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 -- 2.39.2