aboutsummaryrefslogtreecommitdiffstats
path: root/library/RSL_Emulation.ttcn
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-05-27 20:22:13 +0200
committerHarald Welte <laforge@gnumonks.org>2018-05-27 20:24:07 +0200
commitd879e2ff9a8c9e4671458535756b0437fd17384b (patch)
tree233df373b359d97b1fbf4884777fcc64d45e980c /library/RSL_Emulation.ttcn
parent4bcbd17aa4c548d5bd89bb731cddcd610275a783 (diff)
RSL_Emulation: Handle ID_ACK event in BSC role
In I483ddd45c1cf631a5a9d8f862b6ca728b38bdc14 we introduced code that makes the IPA_Emulation code to emut an ASP_IPA_EVENT_ID_ACK [also] to the RSL port, irrespective of client/server status. However, RSL_Emulation only handled this event in the BTS role for BSC testing, but not in in the BSC role for BTS testing. Change-Id: I99a5c58ea8d1e74b2ad51aed23009af6322a1007
Diffstat (limited to 'library/RSL_Emulation.ttcn')
-rw-r--r--library/RSL_Emulation.ttcn1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/RSL_Emulation.ttcn b/library/RSL_Emulation.ttcn
index 3ad062be..3634373d 100644
--- a/library/RSL_Emulation.ttcn
+++ b/library/RSL_Emulation.ttcn
@@ -350,6 +350,7 @@ function main(boolean bts_role := true) runs on RSL_Emulation_CT {
[bts_role] IPA_PT.receive(ASP_IPA_Event:{up_down := ASP_IPA_EVENT_ID_ACK}) {
IPA_PT.send(ts_ASP_RSL_UD(IPAC_PROTO_RSL_TRX0,ts_RSL_PAGING_LOAD_IND(23)));
}
+ [not bts_role] IPA_PT.receive(ASP_IPA_Event:{up_down := ASP_IPA_EVENT_ID_ACK}) { }
[bts_role] IPA_PT.receive(tr_RSL(tr_RSL_IMM_ASSIGN)) -> value rx_rsl {
var GsmRrMessage rr;
var OCT1 ra;