aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/scheduler.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-02-23 14:06:27 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-26 15:01:08 +0100
commit0d6c3e811007be828207c0f69ff4e2dddeeb64db (patch)
tree99e78b2e96e684174c3bf5b4d32392f7a3a79e09 /src/common/scheduler.c
parent3a80a56b9befe5f47cae5e4210ebc81d343b04f8 (diff)
measurement.c: Don't silently copy "FULL" measurements to "SUB"
The existing code contained an ugly hack that if we didn't have any "SUB" measurements we would simply use the "FULL" values. That's wrong as TS 45.008 contains quite detailed rules on how the "SUB" values are to be computed. In some cases, they are identical to "FULL", but in most they are not. Let's remove the hack and replace it with an ERROR message, as clearly something is wrong if we ever encounter a measurement period end in which no single "SUB" measurement was received. The only situation in which this can occur is if the related uplink burst/block was missing, so let's set BER to 100% and level to lowest possible. Change-Id: I358f7b97fd4ea19264a77eff7abef13da7d5fbcd
Diffstat (limited to 'src/common/scheduler.c')
0 files changed, 0 insertions, 0 deletions