BSC_Tests: add TC_chan_alloc_algo_ass_dynamic
This test case verifies the new channel allocation mode, which
is expected to switch between ascending and descending modes
dynamically based on the following two configurable parameters:
* Uplink RxLev threshold (and min number of samples),
* C0 (BCCH carrier) channel load threshold.
The test case scenario includes:
Case a) Unknown Uplink RxLev => fall-back to ascending.
Case b) Not enough RxLev samples => use ascending.
Case c) Uplink RxLev below the threshold => use ascending.
Case d) Uplink RxLev above the threshold => use descending.
Case e) Uplink RxLev above the threshold, but C0 load is not.
Change-Id: Ia522f37c1c001b3a36f5145b8875fbb88311c2e5
Related: SYS#5460
diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index 8a4d1fa..84e9375 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -1542,12 +1542,27 @@
}
}
- /* Receive template for a measurement report that lacks the measurement report
+ /* Templates for a measurement report that lacks the measurement report
* from the MS (l1_info, l3_info and ms timing offset */
- template RSL_Message tr_RSL_MEAS_RES_EMPTY(template RslChannelNr chan_nr,
- template uint8_t meas_res_nr := ?,
- template RSL_IE_UplinkMeas ul_meas := ?,
- template RSL_IE_BS_Power bs_power := ?) := {
+ template (value) RSL_Message
+ ts_RSL_MEAS_RES_EMPTY(template (value) RslChannelNr chan_nr,
+ template (value) uint8_t meas_res_nr,
+ template (value) RSL_IE_UplinkMeas ul_meas,
+ template (value) RSL_IE_BS_Power bs_power) := {
+ msg_disc := ts_RSL_MsgDisc(RSL_MDISC_DCHAN, false),
+ msg_type := RSL_MT_MEAS_RES,
+ ies := {
+ t_RSL_IE(RSL_IE_CHAN_NR, RSL_IE_Body:{chan_nr := chan_nr}),
+ t_RSL_IE(RSL_IE_MEAS_RES_NR, RSL_IE_Body:{meas_res_nr := meas_res_nr}),
+ t_RSL_IE(RSL_IE_UPLINK_MEAS, RSL_IE_Body:{uplink_meas := ul_meas}),
+ t_RSL_IE(RSL_IE_BS_POWER, RSL_IE_Body:{bs_power := bs_power})
+ }
+ }
+ template RSL_Message
+ tr_RSL_MEAS_RES_EMPTY(template (present) RslChannelNr chan_nr,
+ template uint8_t meas_res_nr := ?,
+ template RSL_IE_UplinkMeas ul_meas := ?,
+ template RSL_IE_BS_Power bs_power := ?) := {
msg_disc := tr_RSL_MsgDisc(RSL_MDISC_DCHAN, false),
msg_type := RSL_MT_MEAS_RES,
ies := {