Add initial 3GPP LCLS support to OsmoBSC
This code contains the following code:
* receive/parse/interpret LCLS specific BSSMAP IEs and PDUs
* osmo_fsm handling the various states and their transitions
* call leg correlation (finding the other subscr_conn with same GCR)
* communication between the two call-leg LCLS FSMs
* detection of supported / unsupported LCLS configurations
* display of GCR / LCLS information in "show conns"
* switch the media streams locally using MDCX to the MGW
Closes: OS#1602
Change-Id: I614fade62834def5cafc94c4d2578cd747a3f9f7
diff --git a/src/libbsc/bsc_vty.c b/src/libbsc/bsc_vty.c
index 6c2257d..757a8a1 100644
--- a/src/libbsc/bsc_vty.c
+++ b/src/libbsc/bsc_vty.c
@@ -1521,6 +1521,14 @@
conn->sccp.conn_id, conn->sccp.msc->nr, conn->hodec2.failures,
get_value_string(gsm48_chan_mode_names, conn->user_plane.chan_mode),
conn->user_plane.mgw_endpoint, VTY_NEWLINE);
+ if (conn->lcls.global_call_ref_len) {
+ vty_out(vty, " LCLS GCR: %s%s",
+ osmo_hexdump_nospc(conn->lcls.global_call_ref, conn->lcls.global_call_ref_len),
+ VTY_NEWLINE);
+ vty_out(vty, " LCLS Config: 0x%02x, LCLS Control: 0x%02x, LCLS BSS Status: %s%s",
+ conn->lcls.config, conn->lcls.control, osmo_fsm_inst_state_name(conn->lcls.fi),
+ VTY_NEWLINE);
+ }
if (conn->lchan)
lchan_dump_full_vty(vty, conn->lchan);
if (conn->secondary_lchan)