cbc: Introduce test TC_create_nack_bsc
Related: OS#4945
Change-Id: Iabeb3e9d86eaf59b76504edf3976a947ae29b911
diff --git a/cbc/BSC_ConnectionHandler.ttcn b/cbc/BSC_ConnectionHandler.ttcn
index 804d246..1878f3e 100644
--- a/cbc/BSC_ConnectionHandler.ttcn
+++ b/cbc/BSC_ConnectionHandler.ttcn
@@ -44,7 +44,8 @@
boolean tcp_is_client,
void_fn start_fn,
CBS_Message exp_cbs_msg optional,
- BSSMAP_FIELD_CellIdentificationList cell_list_success optional
+ BSSMAP_FIELD_CellIdentificationList cell_list_success optional,
+ CBSP_FailureListItems tx_fail_list optional
};
function f_BSC_ConnHdlr_main(charstring id, BSC_ConnHdlrPars pars) runs on BSC_ConnHdlr {
@@ -126,11 +127,12 @@
function f_cbsp_tx_write_fail(CBS_Message msg, integer idx := 0,
template (omit) BSSMAP_FIELD_CellIdentificationList tx_cell_list := omit,
+ template (omit) CBSP_IE_NumBcastComplList tx_compl_list := omit,
template (omit) CBSP_FailureListItems tx_fail_list := omit)
runs on BSC_ConnHdlr {
var template (value) CBSP_PDU tx;
tx := ts_CBSP_WRITE_CBS_FAIL(msg.msg_id, msg.ser_nr, valueof(tx_fail_list),
- omit, tx_cell_list, msg.channel_ind);
+ tx_compl_list, tx_cell_list, msg.channel_ind);
CBSP[idx].send(ts_CBSP_Send(g_cbsp_conn_id[idx], tx));
}
@@ -162,7 +164,7 @@
if (istemplatekind(tx_fail_list, "omit")) {
f_cbsp_tx_write_compl(msg, idx, tx_cell_list, tx_compl_list);
} else {
- f_cbsp_tx_write_fail(msg, idx, tx_cell_list, tx_fail_list);
+ f_cbsp_tx_write_fail(msg, idx, tx_cell_list, tx_compl_list, tx_fail_list);
}
}
[] as_cbsp_keepalive_ack(idx) { repeat; }