Change in osmo-sgsn[master]: gsm0408_rcv_gmm: send Iu-ReleaseCommand upon receiving Attach Complete.

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Apr 9 09:11:54 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/13544 )

Change subject: gsm0408_rcv_gmm: send Iu-ReleaseCommand upon receiving Attach Complete.
......................................................................

gsm0408_rcv_gmm: send Iu-ReleaseCommand upon receiving Attach Complete.

UE expects to receive Iu-ReleaseCommand after Attach Complete. If it
doesn't receive it, then it sends Iu-ReleaseRequest after a timeout
which makes the "PS Activation" process long.

Change-Id: Ib5053e3cd655d08ff3fd0fefa48325fabb1797c8
Related: OS#3908
---
M src/gprs/gprs_gmm.c
1 file changed, 7 insertions(+), 0 deletions(-)

Approvals:
  lynxis lazus: Looks good to me, approved
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c
index cc6ea4a..b0c5902 100644
--- a/src/gprs/gprs_gmm.c
+++ b/src/gprs/gprs_gmm.c
@@ -2035,6 +2035,13 @@
 			goto null_mmctx;
 		/* only in case SGSN offered new P-TMSI */
 		LOGMMCTXP(LOGL_INFO, mmctx, "-> ATTACH COMPLETE\n");
+
+#ifdef BUILD_IU
+		if (mmctx->iu.ue_ctx) {
+			ranap_iu_tx_release(mmctx->iu.ue_ctx, NULL);
+		}
+#endif
+
 		mmctx_timer_stop(mmctx, 3350);
 		mmctx->t3350_mode = GMM_T3350_MODE_NONE;
 		mmctx->p_tmsi_old = 0;

-- 
To view, visit https://gerrit.osmocom.org/13544
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib5053e3cd655d08ff3fd0fefa48325fabb1797c8
Gerrit-Change-Number: 13544
Gerrit-PatchSet: 3
Gerrit-Owner: Mykola Shchetinin <mykola at pentonet.com>
Gerrit-Reviewer: Daniel Willmann <dwillmann at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Mykola Shchetinin <mykola at pentonet.com>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190409/f15d1966/attachment.htm>


More information about the gerrit-log mailing list