diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-07-30 23:56:18 +0700 |
---|---|---|
committer | fixeria <vyanitskiy@sysmocom.de> | 2022-08-09 15:44:17 +0000 |
commit | 8a1685d549500c58ff9810a2641e27403fac42c2 (patch) | |
tree | bcf170fc40e89cd7dcc4c07137527de01a571bcd | |
parent | f14e3ec8640c33fd45250163a98a07f8bd432571 (diff) |
BTS_Tests: populate SACCH cache in f_TC_ms_pwr_ctrl_{constant,pf_ewma}
There is a time window between activation of a dedicated channel and
receipt of a L1CTL_DATA_REQ with the first RR Measurement Report, in
which the L1 may need to start transmission on Uplink SACCH.
In this case the L1 is using a dummy SACCH block with hard-coded L1
SACCH header values and hard-coded Measurement Results.
Until recently we relied on implementation specific behavior of trxcon
patching the L1 SACCH header in hard-coded dummy SACCH block. This
behavior was changed, so TC_ms_pwr_ctrl_{constant,pf_ewma} started to
fail. Let's properly populate the SACCH cache to fix these TCs.
Change-Id: I89eb90815e86db466ea626f4c25f2634c1d942d5
Depends: osmocom-bb.git I0f467fc07cf844cc73465f235b36ba7d00788c9f
Related: OS#5635
-rw-r--r-- | bts/BTS_Tests.ttcn | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index 395059af..cbbb297a 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -7876,6 +7876,12 @@ runs on ConnHdlr { /* Ensure that 'rx-current' equals 'rx-target' */ f_trxc_fake_rssi(mp_uplink_power_target); + /* Populate SACCH cache with a Measurement Report */ + L1CTL.send(ts_L1CTL_DATA_REQ_SACCH(g_chan_nr, ts_RslLinkID_SACCH(0), + ts_SacchL1Header(g_pars.l1_pars.ms_power_level, + g_pars.l1_pars.ms_actual_ta), + f_pad_oct('010349'O & '0615004001C0'O, 21, '00'O))); + /* Establish a dedicated channel */ f_est_dchan(more_ies := valueof(ies)); @@ -7937,6 +7943,12 @@ runs on ConnHdlr { /* Ensure that 'rx-current' equals 'rx-target' */ f_trxc_fake_rssi(mp_uplink_power_target); + /* Populate SACCH cache with a Measurement Report */ + L1CTL.send(ts_L1CTL_DATA_REQ_SACCH(g_chan_nr, ts_RslLinkID_SACCH(0), + ts_SacchL1Header(g_pars.l1_pars.ms_power_level, + g_pars.l1_pars.ms_actual_ta), + f_pad_oct('010349'O & '0615004001C0'O, 21, '00'O))); + /* Establish a dedicated channel */ f_est_dchan(more_ies := valueof(ies)); |