aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/scheduler.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-06-25 18:07:19 +0700
committerlaforge <laforge@osmocom.org>2020-06-26 16:19:30 +0000
commitf3f0638066331adb19a1d32f8a6d01dcbac14c1b (patch)
tree565ad18cb7924d379d3dc1055ced068869588c73 /src/common/scheduler.c
parent2931fc337fd3ac86e9e113482066549145a6e230 (diff)
osmo-bts-trx/scheduler: get rid of _sched_fcch_burst
According to 3GPP 45.002, section 5.2.4, a frequency correction burst is basically a sequence of zeros. Since br->burst is already zero-initialized, there is no need to maintain and memcpy() another sequence of zeros into it. Just set the length. Change-Id: Ic4f6d550010da5caf4bc471ff1e184c9fab30c6d
Diffstat (limited to 'src/common/scheduler.c')
-rw-r--r--src/common/scheduler.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/common/scheduler.c b/src/common/scheduler.c
index 62efed41..30689186 100644
--- a/src/common/scheduler.c
+++ b/src/common/scheduler.c
@@ -62,15 +62,6 @@ static const ubit_t dummy_burst[GSM_BURST_LEN] = {
0,0,0,
};
-/*! \brief FCCH Burst (TS 05.02 Chapter 5.2.4) */
-const ubit_t _sched_fcch_burst[GSM_BURST_LEN] = {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-};
-
/*! \brief Training Sequences (TS 05.02 Chapter 5.2.3) */
const ubit_t _sched_tsc[8][26] = {
{ 0,0,1,0,0,1,0,1,1,1,0,0,0,0,1,0,0,0,1,0,0,1,0,1,1,1, },