msc: Prepare authentication support

Change-Id: I930bed1907fd0faf61788cf14e75f2b2337572f4
This commit is contained in:
Harald Welte 2018-01-22 03:00:17 +01:00
parent d748a0519a
commit ef9fa87ac9
2 changed files with 5 additions and 0 deletions

View File

@ -139,6 +139,9 @@ template GSUP_PDU ts_GSUP(GSUP_MessageType msgt, GSUP_IEs ies := {}) := {
template GSUP_PDU ts_GSUP_SAI_REQ(hexstring imsi) :=
ts_GSUP(OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST, { valueof(ts_GSUP_IE_IMSI(imsi)) });
template GSUP_PDU tr_GSUP_SAI_REQ(template hexstring imsi) :=
tr_GSUP(OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST, { tr_GSUP_IE_IMSI(imsi), * });
template GSUP_PDU tr_GSUP_SAI_ERR(template hexstring imsi, template integer cause) :=
tr_GSUP(OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST, {
tr_GSUP_IE_IMSI(imsi), tr_GSUP_IE_Cause(cause) });

View File

@ -147,7 +147,9 @@ runs on BSC_ConnHdlr {
BSSAP.send(ts_BSSMAP_ClassmarkUpd(g_pars.cm2, g_pars.cm3));
if (expect_auth) {
GSUP.receive(tr_GSUP_SAI_REQ(g_pars.imsi));
/* FIXME */
//GSUP.send(tr_GSUP_SAI_RES());
}
/* Expect MSC to perform LU with HLR */