diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-07-30 18:06:13 +0700 |
---|---|---|
committer | fixeria <vyanitskiy@sysmocom.de> | 2022-08-05 13:11:31 +0000 |
commit | 3999491614fc475aae9c0fa6100ca341e457f141 (patch) | |
tree | a6b09801b97eee307a7637508296696a0d81e932 | |
parent | 9dd880f5085a31071f1f23596da2f18603aec87e (diff) |
BTS_Tests: send SACCH blocks in TC_rsl_ms_pwr_dyn_{up,max,ass_updown}
We used to rely on trxcon sendig dummy RR Measurement Reports and
patching the L1 SACCH Header with the configured MS Power Level
and Timing Advance values. Since recently, the following testcases
started to fail because trxcon does not patch dummy MRs anymore:
* TC_rsl_ms_pwr_dyn_ass_updown,
* TC_rsl_ms_pwr_dyn_max, and
* TC_rsl_ms_pwr_dyn_up.
Do not rely on dummy MRs, send SACCH blocks with the expected
MS Power Level and Timing Advance values from the testsuites.
f_send_meas_rep() internally uses:
* g_pars.l1_pars.ms_power_level, and
* g_pars.l1_pars.ms_actual_ta.
Change-Id: I31dd6b9026d04403092256176f67785a0a6486ad
Related: OS#5635
-rw-r--r-- | bts/BTS_Tests.ttcn | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index 5cf1900d..395059af 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -2979,6 +2979,8 @@ private function f_TC_rsl_ms_pwr_dyn_ass_updown(charstring id) runs on ConnHdlr T2.start; alt { [] as_l1_sacch_l1h(l1h) { + f_send_meas_rep(ts_MeasurementResults); + if (l1h.ms_power_lvl < (pwr_var + 6)) { repeat; } @@ -2998,6 +3000,8 @@ private function f_TC_rsl_ms_pwr_dyn_ass_updown(charstring id) runs on ConnHdlr T4.start; alt { [] as_l1_sacch_l1h(l1h) { + f_send_meas_rep(ts_MeasurementResults); + if (l1h.ms_power_lvl > pwr_var) { repeat; } @@ -3040,7 +3044,10 @@ private function f_TC_rsl_ms_pwr_dyn_max(charstring id) runs on ConnHdlr { timer T1 := 10.0; T1.start; alt { - [] as_l1_sacch_l1h(l1h) { repeat; } + [] as_l1_sacch_l1h(l1h) { + f_send_meas_rep(ts_MeasurementResults); + repeat; + } [] L1CTL.receive { repeat; } [] T1.timeout { if (not isbound(l1h)) { @@ -3086,7 +3093,10 @@ private function f_TC_rsl_ms_pwr_dyn_up(charstring id) runs on ConnHdlr { timer T1 := 9.0 * 1.92 + 1.92; T1.start; alt { - [] as_l1_sacch_l1h(l1h) { repeat; } + [] as_l1_sacch_l1h(l1h) { + f_send_meas_rep(ts_MeasurementResults); + repeat; + } [] L1CTL.receive { repeat; } [] T1.timeout { if (not isbound(l1h)) { |