fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28869 )
Change subject: BTS_Tests: send SACCH blocks in TC_rsl_ms_pwr_dyn_{up,max,ass_updown} ......................................................................
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 --- M bts/BTS_Tests.ttcn 1 file changed, 12 insertions(+), 2 deletions(-)
Approvals: fixeria: Looks good to me, approved pespin: Looks good to me, but someone else must approve osmith: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index 5cf1900..395059a 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -2979,6 +2979,8 @@ 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 @@ 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 @@ 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 @@ 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)) {