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
This commit is contained in:
parent
9dd880f508
commit
3999491614
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue