RAN_Emulation: Add f_ran_register_exp()

For some reason this helper function was misssing; we only had
the version to register an imsi.

Change-Id: I9d38dbdf589ed0f5999a5aeeb31b10ca5d07de16
This commit is contained in:
Harald Welte 2022-01-11 23:04:33 +01:00 committed by Daniel Willmann
parent 0af7615981
commit 1e3bbbeac2
1 changed files with 7 additions and 0 deletions

View File

@ -1442,6 +1442,13 @@ runs on RAN_ConnHdlr {
}
}
/* register an expect with the BSSMAP core */
function f_ran_register_exp(octetstring l3_enc) runs on RAN_ConnHdlr {
BSSAP_PROC.call(RAN_register:{l3_enc, self}) {
[] BSSAP_PROC.getreply(RAN_register:{?, ?}) {};
}
}
#ifdef RAN_EMULATION_RANAP
/* expect a IuReleaseCommand; Confirm that; expect SCCP-level N-DISCONNET.ind */
altstep as_iu_release_compl_disc(float t := 5.0) runs on RAN_ConnHdlr {