From ec3e7e43ab71856b40ca32b5645707de78e5aa56 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 3 Sep 2020 23:56:13 +0200 Subject: enum osmo_sccp_ssn: rename to OSMO_SCCP_SSN_SMLC_BSSAP_LE Quoting 3GPP TS 23.003 8.2: 1111 1010 BSC (BSSAP-LE); 1111 1011 MSC (BSSAP-LE); 1111 1100 SMLC (BSSAP-LE); Hence the SMLC one should also be named *_BSSAP_LE. I'm certain no other osmocom code is using this SSN yet, but anyway keep a backwards compat shim #define. Change-Id: I3e0c1be0ebbd3883d024174d1e7e9167a8281cfb --- include/osmocom/sigtran/sccp_sap.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/osmocom/sigtran/sccp_sap.h b/include/osmocom/sigtran/sccp_sap.h index e012635..817ac45 100644 --- a/include/osmocom/sigtran/sccp_sap.h +++ b/include/osmocom/sigtran/sccp_sap.h @@ -131,11 +131,14 @@ enum osmo_sccp_ssn { OSMO_SCCP_SSN_PCAP = 249, OSMO_SCCP_SSN_BSC_BSSAP_LE = 250, OSMO_SCCP_SSN_MSC_BSSAP_LE = 251, - OSMO_SCCP_SSN_SMLC_BSSAP = 252, + OSMO_SCCP_SSN_SMLC_BSSAP_LE = 252, OSMO_SCCP_SSN_BSS_OAM = 253, OSMO_SCCP_SSN_BSSAP = 254, }; +/* legacy shim for name change */ +#define OSMO_SCCP_SSN_SMLC_BSSAP OSMO_SCCP_SSN_SMLC_BSSAP_LE + extern const struct value_string osmo_sccp_ssn_names[]; static inline const char *osmo_sccp_ssn_name(enum osmo_sccp_ssn val) { return get_value_string(osmo_sccp_ssn_names, val); } -- cgit v1.2.3