summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/layer1/prim_bts.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-02-27 08:31:48 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2013-02-27 08:31:48 +0100
commitf183f43f447f4e92ab6a12d4947e80b666a19274 (patch)
tree143f0e13d2530b73b4f10a99b5bdf72a2d114e97 /src/target/firmware/layer1/prim_bts.c
parent49ef59bc62495eae904a11a017f747e839fdf886 (diff)
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.
Diffstat (limited to 'src/target/firmware/layer1/prim_bts.c')
-rw-r--r--src/target/firmware/layer1/prim_bts.c2
1 files changed, 1 insertions, 1 deletions
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;