diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-09-03 23:56:13 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2020-09-03 23:56:13 +0200 |
commit | ec3e7e43ab71856b40ca32b5645707de78e5aa56 (patch) | |
tree | 07197d27a1b8a6ff39f3e5ca987f7af7febd110e /include/osmocom/sigtran | |
parent | b35dc5fc8177216f095524431a5a63bd6a4cb9d3 (diff) |
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
Diffstat (limited to 'include/osmocom/sigtran')
-rw-r--r-- | include/osmocom/sigtran/sccp_sap.h | 5 |
1 files changed, 4 insertions, 1 deletions
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); } |