fixeria has uploaded this change for review.
bts: as_rsl_meas_res(): tolerate bad RxQual in early reports
Bit errors are expected during early stage of channel establishment.
Ignore bad RxQual in the very first reports (4 * 0.480s = 1.92s).
This reduces probability of sporadic failures.
Change-Id: Ie8acb15b66cd92092ec49bc8caeaf0ad4d471f1d
Related: OS#6933
---
M bts/BTS_Tests.ttcn
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/70/42070/1
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 5ec0f1e..c3b8f35 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -2310,6 +2310,12 @@
rxq_s_u := f_tolerance(l1p.meas_ul.sub.rxqual, 0, 7, mp_tolerance_rxqual),
supp_meas_info := omit
};
+ /* Bit errors are expected during early stage of channel establishment.
+ * Ignore bad RxQual in the very first reports (4 * 0.480s = 1.92s). */
+ if (g_rsl_meas_res_nr < 4) {
+ ul_meas.rxq_f_u := ?;
+ ul_meas.rxq_s_u := ?;
+ }
if (l1p.toa256_enabled) {
ul_meas.len := (3+8);
ul_meas.supp_meas_info := {
To view, visit change 42070. To unsubscribe, or for help writing mail filters, visit settings.