aboutsummaryrefslogtreecommitdiffstats
path: root/msc/BSC_ConnectionHandler.ttcn
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-03-01 20:00:19 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-03-02 00:35:23 +0100
commitc1f105acb874367844272e2a5d940f1cef9fb644 (patch)
tree54904aa93af46c26b6c80f2f0bf4f359ae1ae547 /msc/BSC_ConnectionHandler.ttcn
parente9b8eebfc319b0c6e9c633a885fac3baf524e557 (diff)
msc: cosmetic: f_perform_lu() / pars: move send_early_cm to BSC_ConnHdlrPars
By moving to the BSC_ConnHdlrPars, also the tests that expect a LU failure able to indicate a send_cm_update flag. All current callers of f_perform_lu() pass send_early_cm as 'true', all are covered by a default of 'true'. Change-Id: Ic882293f199a33133a171bff14ff433f99cc8576
Diffstat (limited to 'msc/BSC_ConnectionHandler.ttcn')
-rw-r--r--msc/BSC_ConnectionHandler.ttcn7
1 files changed, 4 insertions, 3 deletions
diff --git a/msc/BSC_ConnectionHandler.ttcn b/msc/BSC_ConnectionHandler.ttcn
index 6cacff7f..11891120 100644
--- a/msc/BSC_ConnectionHandler.ttcn
+++ b/msc/BSC_ConnectionHandler.ttcn
@@ -53,7 +53,8 @@ type record BSC_ConnHdlrPars {
BSSMAP_IE_ClassmarkInformationType2 cm2,
BSSMAP_IE_ClassmarkInformationType3 cm3 optional,
AuthVector vec optional,
- BSC_ConnHdlrNetworkPars net
+ BSC_ConnHdlrNetworkPars net,
+ boolean send_early_cm
};
/* get a one-octet bitmaks of supported algorithms based on Classmark information */
@@ -278,7 +279,7 @@ function f_mm_common() runs on BSC_ConnHdlr
}
}
-function f_perform_lu(boolean send_early_cm)
+function f_perform_lu()
runs on BSC_ConnHdlr {
var PDU_ML3_MS_NW l3_lu := f_build_lu_imsi(g_pars.imsi)
var PDU_DTAP_MT dtap_mt;
@@ -289,7 +290,7 @@ runs on BSC_ConnHdlr {
/* Send BSSAP_Conn_Req with COMPL L3 INFO to MSC */
f_bssap_compl_l3(l3_lu);
- if (send_early_cm) {
+ if (g_pars.send_early_cm) {
BSSAP.send(ts_BSSMAP_ClassmarkUpd(g_pars.cm2, g_pars.cm3));
}