Change in osmo-bsc[master]: BS-11: Send proprietary MRPCI message after assignment has completed

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

laforge gerrit-no-reply at lists.osmocom.org
Sat Aug 1 15:13:43 UTC 2020


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


Change subject: BS-11: Send proprietary MRPCI message after assignment has completed
......................................................................

BS-11: Send proprietary MRPCI message after assignment has completed

This is a non-standard RSL message that must be sent after each traffic
channel has been established.  Without it, any voice call will be
disconnected within seconds.

This is a hack; we need to store the subscribers classmark2 value and
use it here.

Change-Id: I6cb6d25e405aa888c4df4022d897330a6af9e946
Related: OS#2389
---
M src/osmo-bsc/assignment_fsm.c
1 file changed, 9 insertions(+), 0 deletions(-)



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

diff --git a/src/osmo-bsc/assignment_fsm.c b/src/osmo-bsc/assignment_fsm.c
index ca29daa..62a2791 100644
--- a/src/osmo-bsc/assignment_fsm.c
+++ b/src/osmo-bsc/assignment_fsm.c
@@ -32,6 +32,7 @@
 #include <osmocom/bsc/osmo_bsc_lcls.h>
 #include <osmocom/bsc/bsc_msc_data.h>
 #include <osmocom/bsc/gsm_08_08.h>
+#include <osmocom/bsc/gsm_04_08_rr.h>
 #include <osmocom/bsc/lchan_select.h>
 #include <osmocom/bsc/abis_rsl.h>
 #include <osmocom/bsc/bts.h>
@@ -224,10 +225,18 @@
 
 static void assignment_success(struct gsm_subscriber_connection *conn)
 {
+	struct gsm_bts *bts = conn_get_bts(conn);
+
 	/* Take on the new lchan */
 	gscon_change_primary_lchan(conn, conn->assignment.new_lchan);
 	conn->assignment.new_lchan = NULL;
 
+	if (is_siemens_bts(bts)) {
+		/* HACK: store the actual Classmark 2 LV from the subscriber and use it here! */
+		uint8_t cm2_lv[] = { 0x02, 0x00, 0x00 };
+		send_siemens_mrpci(conn->lchan, cm2_lv);
+	}
+
 	/* apply LCLS configuration (if any) */
 	lcls_apply_config(conn);
 

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I6cb6d25e405aa888c4df4022d897330a6af9e946
Gerrit-Change-Number: 19492
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200801/09d2b03e/attachment.htm>


More information about the gerrit-log mailing list