summaryrefslogtreecommitdiffstats
path: root/library/BSSGP_Emulation.ttcnpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/BSSGP_Emulation.ttcnpp')
-rw-r--r--library/BSSGP_Emulation.ttcnpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/library/BSSGP_Emulation.ttcnpp b/library/BSSGP_Emulation.ttcnpp
index 931ff37b..c1d297d4 100644
--- a/library/BSSGP_Emulation.ttcnpp
+++ b/library/BSSGP_Emulation.ttcnpp
@@ -28,6 +28,12 @@ import from LLC_Templates all;
import from SNDCP_Types all;
+
+modulepar {
+ /* tolerate CellID absence/presence in BVC-RESET in violation to spec */
+ boolean mp_tolerate_bvc_reset_cellid := false;
+}
+
/***********************************************************************
* Communication between Client Components and Main Component
***********************************************************************/
@@ -478,7 +484,13 @@ altstep as_allstate() runs on BSSGP_CT {
}
/* Respond to RESET for signalling BVCI 0 */
- [] BSCP.receive(f_BnsUdInd(tr_BVC_RESET(?, 0, g_cfg.cell_id), 0)) -> value udi {
+ [] BSCP.receive(f_BnsUdInd(tr_BVC_RESET(?, 0, omit), 0)) -> value udi {
+ log("Rx BVC-RESET for Signaling BVCI=0");
+ f_send_bvc_reset_ack(0);
+ }
+
+ /* work-around for old, buggy libosmogb before Change-Id Ie87820537d6d616da4fd4bbf73eab06e28fda5e1 */
+ [mp_tolerate_bvc_reset_cellid] BSCP.receive(f_BnsUdInd(tr_BVC_RESET(?, 0, g_cfg.cell_id), 0)) -> value udi {
log("Rx BVC-RESET for Signaling BVCI=0");
f_send_bvc_reset_ack(0);
}