lynxis lazus has submitted this change. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43470?usp=email ) ( 12 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: gprs_gmm: Set RAT on the VLR object ...................................................................... gprs_gmm: Set RAT on the VLR object Will be used in GSUP messages. Change-Id: I66270d07371501afc9e6bc00c654d7612543e0ca --- M src/sgsn/gprs_gmm.c 1 file changed, 9 insertions(+), 0 deletions(-) Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve diff --git a/src/sgsn/gprs_gmm.c b/src/sgsn/gprs_gmm.c index 51b6296..2399516 100644 --- a/src/sgsn/gprs_gmm.c +++ b/src/sgsn/gprs_gmm.c @@ -1749,6 +1749,15 @@ goto rejected; } + switch (mmctx->ran_type) { + case MM_CTX_T_GERAN_Gb: + mmctx->vsub->attached_via_ran = OSMO_RAT_GERAN_A; + break; + case MM_CTX_T_UTRAN_Iu: + mmctx->vsub->attached_via_ran = OSMO_RAT_UTRAN_IU; + break; + } + mmctx->attach_rau.old_rai = req.old_rai; if (!strlen(mmctx->imsi) && strlen(mmctx->vsub->imsi)) -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43470?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: I66270d07371501afc9e6bc00c654d7612543e0ca Gerrit-Change-Number: 43470 Gerrit-PatchSet: 19 Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu> Gerrit-Reviewer: pespin <pespin@sysmocom.de>