From f183f43f447f4e92ab6a12d4947e80b666a19274 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Wed, 27 Feb 2013 08:31:48 +0100 Subject: New sync task for calypso BTS, using a single frame per multiframe By using single frame only, loss of packets is reduced. For normal data frames (and for TCH/H speech), one out of four parts of data gets lost. For TCH/F speech, only one out of eight parts of data gets lost. The error correction can compensate the missing parts. The sync code can use the extended DSP task, but it is currently disabled, because the current DSP code does not allow scheduling TSC for each individual task, but we need to use TSC of sync cell here. --- src/target/firmware/layer1/prim_bts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target/firmware/layer1/prim_bts.c') diff --git a/src/target/firmware/layer1/prim_bts.c b/src/target/firmware/layer1/prim_bts.c index ca64118e..92f455b0 100644 --- a/src/target/firmware/layer1/prim_bts.c +++ b/src/target/firmware/layer1/prim_bts.c @@ -245,7 +245,7 @@ l1s_bts_cmd(uint8_t p1, uint8_t p2, uint16_t p3) t3 = l1s.next_time.t3; - if ((t3 < 2) || (t3 > 5)) + if (t3 != 2) { /* We're really a frame in advance since we RX in the next frame ! */ t3 = t3 - 1; -- cgit v1.2.3