summaryrefslogtreecommitdiffstats
path: root/bsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-08-21 12:38:33 +0200
committerHarald Welte <laforge@osmocom.org>2020-08-21 13:17:59 +0200
commit65e419a085770e8262e4a2c43401d99327f686f4 (patch)
tree078bb9646647723fe1e531d0c7c980926d786c25 /bsc
parentbd98295fcb0a697a0c94761dc541e2b6fc88e784 (diff)
BSC_Tests: Fix compiler warnings about inadequate template restrictions
Diffstat (limited to 'bsc')
-rw-r--r--bsc/BSC_Tests.ttcn6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 003df49..0e76476 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -136,7 +136,7 @@ template EUTRAN_CellDesc tr_EUTRAN_CellDesc_default(template (present) uint16_t
meas_bw := meas_bw);
/* tr_EUTRAN_NeighbourCells with defaults used in BSC_Tests.ttcn */
-template EUTRAN_NeighbourCells tr_EUTRAN_NeighbourCells_default(template EUTRAN_CellDescs cell_desc_list := { tr_EUTRAN_CellDesc_default },
+template EUTRAN_NeighbourCells tr_EUTRAN_NeighbourCells_default(template (present) EUTRAN_CellDescs cell_desc_list := { tr_EUTRAN_CellDesc_default },
template uint3_t prio := 3,
template (present) uint5_t thresh_high := 20,
template uint5_t thresh_low := 10,
@@ -978,7 +978,7 @@ runs on test_CT {
}
/* expect to receive a RSL message matching a specified template on a given BTS / stream */
-function f_exp_ipa_rx(integer bts_nr, template RSL_Message t_rx, float t_secs := 2.0, IpaStreamId sid := IPAC_PROTO_RSL_TRX0)
+function f_exp_ipa_rx(integer bts_nr, template (present) RSL_Message t_rx, float t_secs := 2.0, IpaStreamId sid := IPAC_PROTO_RSL_TRX0)
runs on test_CT return RSL_Message {
var ASP_RSL_Unitdata rx_rsl_ud;
timer T := t_secs;
@@ -998,7 +998,7 @@ runs on test_CT return RSL_Message {
}
/* helper function to transmit RSL on a given BTS/stream */
-function f_ipa_tx(integer bts_nr, template RSL_Message t_tx, IpaStreamId sid := IPAC_PROTO_RSL_TRX0)
+function f_ipa_tx(integer bts_nr, template (value) RSL_Message t_tx, IpaStreamId sid := IPAC_PROTO_RSL_TRX0)
runs on test_CT {
IPA_RSL[bts_nr].send(ts_ASP_RSL_UD(t_tx, sid));
}