diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2020-07-28 16:53:27 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-07-31 21:23:49 +0000 |
commit | 6d21448911514c818da58380d7f1345c78eeaae7 (patch) | |
tree | 4077b2da01f8a7287e332f23786e9e8d26ff3953 | |
parent | a184701108c2aaf188dbb3d306575abceda55bd9 (diff) |
gsm_08_58: add missing RSL error cause codes
The define constants for the cause codes "BTS not equipped",
"remote transcoder failure" and "notification overflow" are missing.
Lets add them including value strings.
Change-Id: Ic3e936da00bd256bae03867887851f1a4e30e218
-rw-r--r-- | include/osmocom/gsm/protocol/gsm_08_58.h | 3 | ||||
-rw-r--r-- | src/gsm/rsl.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_08_58.h b/include/osmocom/gsm/protocol/gsm_08_58.h index da55a8d9..cd13a7dc 100644 --- a/include/osmocom/gsm/protocol/gsm_08_58.h +++ b/include/osmocom/gsm/protocol/gsm_08_58.h @@ -542,6 +542,9 @@ struct rsl_ie_chan_ident { #define RSL_ERR_CCCH_OVERLOAD 0x23 #define RSL_ERR_ACCH_OVERLOAD 0x24 #define RSL_ERR_PROCESSOR_OVERLOAD 0x25 +#define RSL_ERR_BTS_NOT_EQUIPPED 0x27 +#define RSL_ERR_REMOTE_TRANSC_FAIL 0x28 +#define RSL_ERR_NOTIFICATION_OVERFL 0x29 #define RSL_ERR_RES_UNAVAIL 0x2f /* service or option not available */ #define RSL_ERR_TRANSC_UNAVAIL 0x30 diff --git a/src/gsm/rsl.c b/src/gsm/rsl.c index 5534aa2a..cdbdf913 100644 --- a/src/gsm/rsl.c +++ b/src/gsm/rsl.c @@ -295,6 +295,9 @@ static const struct value_string rsl_err_vals[] = { { RSL_ERR_CCCH_OVERLOAD, "CCCH Overload" }, { RSL_ERR_ACCH_OVERLOAD, "ACCH Overload" }, { RSL_ERR_PROCESSOR_OVERLOAD, "Processor Overload" }, + { RSL_ERR_BTS_NOT_EQUIPPED, "BTS not equipped" }, + { RSL_ERR_REMOTE_TRANSC_FAIL, "Remote Transcoder Failure" }, + { RSL_ERR_NOTIFICATION_OVERFL, "Notification Overflow" }, { RSL_ERR_RES_UNAVAIL, "Resource not available, unspecified" }, { RSL_ERR_TRANSC_UNAVAIL, "Transcoding not available" }, { RSL_ERR_SERV_OPT_UNAVAIL, "Service or Option not available" }, |