Change in osmo-bsc[master]: LCS: allow RSL EST IND during GSCON_ST_ACTIVE

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

neels gerrit-no-reply at lists.osmocom.org
Thu Oct 1 04:11:15 UTC 2020


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/20358 )


Change subject: LCS: allow RSL EST IND during GSCON_ST_ACTIVE
......................................................................

LCS: allow RSL EST IND during GSCON_ST_ACTIVE

If an A-interface conn is already active (for Location Services), an RSL EST
IND may arrive during GSCON_ST_ACTIVE. Pass it on instead of rejecting. This
allows establishing Layer 3 on an already active A-interface conn.

Change-Id: Ib18a12f8b8bcfb356188b2c0d97d555c1850f23e
---
M src/osmo-bsc/bsc_subscr_conn_fsm.c
1 file changed, 10 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/58/20358/1

diff --git a/src/osmo-bsc/bsc_subscr_conn_fsm.c b/src/osmo-bsc/bsc_subscr_conn_fsm.c
index 133cb59..5239e51 100644
--- a/src/osmo-bsc/bsc_subscr_conn_fsm.c
+++ b/src/osmo-bsc/bsc_subscr_conn_fsm.c
@@ -434,6 +434,13 @@
 		lb_close_conn(conn);
 		break;
 
+	case GSCON_EV_MO_COMPL_L3:
+		/* It is possible to have an A-interface conn already established without an lchan being active, during
+		 * a Perform Location Request (LCS). */
+		/* RLL ESTABLISH IND with initial L3 Message */
+		gscon_sigtran_send(conn, (struct msgb*)data);
+		break;
+
 	default:
 		OSMO_ASSERT(false);
 	}
@@ -659,7 +666,9 @@
 		.name = "ACTIVE",
 		.in_event_mask = EV_TRANSPARENT_SCCP | S(GSCON_EV_ASSIGNMENT_START) |
 				 S(GSCON_EV_HANDOVER_START)
-				 | S(GSCON_EV_LCS_LOC_REQ_END),
+				 | S(GSCON_EV_LCS_LOC_REQ_END)
+				 | S(GSCON_EV_MO_COMPL_L3)
+				 ,
 		.out_state_mask = S(ST_CLEARING) | S(ST_ASSIGNMENT) |
 				  S(ST_HANDOVER),
 		.action = gscon_fsm_active,

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ib18a12f8b8bcfb356188b2c0d97d555c1850f23e
Gerrit-Change-Number: 20358
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201001/1b6a3b92/attachment.htm>


More information about the gerrit-log mailing list