Change in libosmocore[master]: gsm_08_58: add missing RSL error cause codes

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Jul 31 21:24:06 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/19448 )

Change subject: gsm_08_58: add missing RSL error cause codes
......................................................................

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
---
M include/osmocom/gsm/protocol/gsm_08_58.h
M src/gsm/rsl.c
2 files changed, 6 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved; Verified



diff --git a/include/osmocom/gsm/protocol/gsm_08_58.h b/include/osmocom/gsm/protocol/gsm_08_58.h
index da55a8d..cd13a7d 100644
--- a/include/osmocom/gsm/protocol/gsm_08_58.h
+++ b/include/osmocom/gsm/protocol/gsm_08_58.h
@@ -542,6 +542,9 @@
 #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 5534aa2..cdbdf91 100644
--- a/src/gsm/rsl.c
+++ b/src/gsm/rsl.c
@@ -295,6 +295,9 @@
 	{ 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" },

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/19448
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ic3e936da00bd256bae03867887851f1a4e30e218
Gerrit-Change-Number: 19448
Gerrit-PatchSet: 6
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200731/03c2bb99/attachment.htm>


More information about the gerrit-log mailing list