Change in osmo-sgsn[master]: gprs_gmm_fsm.c: Implement RAT change between 2g and 3g

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/.

daniel gerrit-no-reply at lists.osmocom.org
Wed Jan 22 18:08:28 UTC 2020


daniel has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/15487 )

Change subject: gprs_gmm_fsm.c: Implement RAT change between 2g and 3g
......................................................................


Patch Set 11:

(3 comments)

https://gerrit.osmocom.org/c/osmo-sgsn/+/15487/11/src/sgsn/gprs_gmm.c 
File src/sgsn/gprs_gmm.c:

https://gerrit.osmocom.org/c/osmo-sgsn/+/15487/11/src/sgsn/gprs_gmm.c@1644 
PS11, Line 1644: 	if (MSG_IU_UE_CTX(msg) && mmctx->ran_type != MM_CTX_T_UTRAN_Iu)
> I don't like having this logic repeated in two places (here and in gsm48_rx_gmm_att_req), so a funct […]
Do we also want to trigger a RAT change for other messages (like service request, ...)? Without looking at a spec my feeling is that this is not permitted. Still it would probably be good to move this test to gsm0408_rcv_gmm() and return an error if the msg_type is not RA_UPD_REQ or ATTACH_REQ).


https://gerrit.osmocom.org/c/osmo-sgsn/+/15487/11/src/sgsn/gprs_gmm.c@1649 
PS11, Line 1649: 	osmo_fsm_inst_dispatch(mmctx->gmm_fsm, E_GMM_COMMON_PROC_INIT_REQ, NULL);
> Why is this line needed/added? comment welcome.
Good question, I'm not really sure. It's called in ptmsi_update anyway in line 1672 so maybe it's redundant (what if PTMSI_ALLOC is not defined)?


https://gerrit.osmocom.org/c/osmo-sgsn/+/15487/11/src/sgsn/gprs_gmm.c@1663 
PS11, Line 1663: 		if (!mmctx->gb.llme)
> That can only happen if we are in RAT change, so it makes sense to move it in the above code block y […]
I'd the pass a proper struct as user pointer to osmo_fsm_inst_dispatch() with the new ran_type and llme pointer/other information. Does that make sense?



-- 
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/15487
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I3fc614da6ba137e871ee0fe86ca22b6a4a354dd2
Gerrit-Change-Number: 15487
Gerrit-PatchSet: 11
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
Gerrit-CC: fixeria <axilirator at gmail.com>
Gerrit-CC: laforge <laforge at osmocom.org>
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Wed, 22 Jan 2020 18:08:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin at sysmocom.de>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200122/61b292ef/attachment.htm>


More information about the gerrit-log mailing list