aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-08-08 17:07:18 +0200
committerpespin <pespin@sysmocom.de>2022-08-09 08:35:55 +0000
commit83287ba41cdef58bdb7c9801aaacc1db4d1c4134 (patch)
tree30c4e96574a9898ffe18c9945f94ec4a3abbb558
parent306400786d3f0d6c4cf037bbb14498a175ae0428 (diff)
gsm: rsl: Define new osmocom extension TLV IE to pass Osmux CID
This is similar to what we already do between BSC<->MSC to pass Osmux CID (GSM0808_IE_OSMO_OSMUX_CID). We now want to support Osmux between BSC and Osmocom BTS, hence add an extension IE which will be used in ipaccess CRCX messages to tell the BTS to use Osmux. Change-Id: I580fe99c01bc0a844d877994ec6cd954310e265d
-rw-r--r--include/osmocom/gsm/protocol/gsm_08_58.h1
-rw-r--r--src/gsm/rsl.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_08_58.h b/include/osmocom/gsm/protocol/gsm_08_58.h
index d1720faa..7ccd918a 100644
--- a/include/osmocom/gsm/protocol/gsm_08_58.h
+++ b/include/osmocom/gsm/protocol/gsm_08_58.h
@@ -368,6 +368,7 @@ enum abis_rsl_ie {
RSL_IE_OSMO_REP_ACCH_CAP = 0x60,
RSL_IE_OSMO_TRAINING_SEQUENCE = 0x61,
RSL_IE_OSMO_TEMP_OVP_ACCH_CAP = 0x62,
+ RSL_IE_OSMO_OSMUX_CID = 0x63,
/* ip.access */
RSL_IE_IPAC_SRTP_CONFIG = 0xe0,
diff --git a/src/gsm/rsl.c b/src/gsm/rsl.c
index 0af366fd..3668ceac 100644
--- a/src/gsm/rsl.c
+++ b/src/gsm/rsl.c
@@ -125,6 +125,7 @@ const struct tlv_definition rsl_att_tlvdef = {
[RSL_IE_OSMO_REP_ACCH_CAP] = { TLV_TYPE_TLV },
[RSL_IE_OSMO_TRAINING_SEQUENCE] = { TLV_TYPE_TLV },
[RSL_IE_OSMO_TEMP_OVP_ACCH_CAP] = { TLV_TYPE_TLV },
+ [RSL_IE_OSMO_OSMUX_CID] = { TLV_TYPE_TLV },
[RSL_IE_IPAC_SRTP_CONFIG] = { TLV_TYPE_TLV },
[RSL_IE_IPAC_PROXY_UDP] = { TLV_TYPE_FIXED, 2 },
[RSL_IE_IPAC_BSCMPL_TOUT] = { TLV_TYPE_TV },