<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/19448">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  laforge: Looks good to me, approved; Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gsm_08_58: add missing RSL error cause codes<br><br>The define constants for the cause codes "BTS not equipped",<br>"remote transcoder failure" and "notification overflow" are missing.<br>Lets add them including value strings.<br><br>Change-Id: Ic3e936da00bd256bae03867887851f1a4e30e218<br>---<br>M include/osmocom/gsm/protocol/gsm_08_58.h<br>M src/gsm/rsl.c<br>2 files changed, 6 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/gsm/protocol/gsm_08_58.h b/include/osmocom/gsm/protocol/gsm_08_58.h</span><br><span>index da55a8d..cd13a7d 100644</span><br><span>--- a/include/osmocom/gsm/protocol/gsm_08_58.h</span><br><span>+++ b/include/osmocom/gsm/protocol/gsm_08_58.h</span><br><span>@@ -542,6 +542,9 @@</span><br><span> #define RSL_ERR_CCCH_OVERLOAD               0x23</span><br><span> #define RSL_ERR_ACCH_OVERLOAD           0x24</span><br><span> #define RSL_ERR_PROCESSOR_OVERLOAD      0x25</span><br><span style="color: hsl(120, 100%, 40%);">+#define RSL_ERR_BTS_NOT_EQUIPPED  0x27</span><br><span style="color: hsl(120, 100%, 40%);">+#define RSL_ERR_REMOTE_TRANSC_FAIL        0x28</span><br><span style="color: hsl(120, 100%, 40%);">+#define RSL_ERR_NOTIFICATION_OVERFL       0x29</span><br><span> #define RSL_ERR_RES_UNAVAIL             0x2f</span><br><span> /* service or option not available */</span><br><span> #define RSL_ERR_TRANSC_UNAVAIL         0x30</span><br><span>diff --git a/src/gsm/rsl.c b/src/gsm/rsl.c</span><br><span>index 5534aa2..cdbdf91 100644</span><br><span>--- a/src/gsm/rsl.c</span><br><span>+++ b/src/gsm/rsl.c</span><br><span>@@ -295,6 +295,9 @@</span><br><span>  { RSL_ERR_CCCH_OVERLOAD,        "CCCH Overload" },</span><br><span>         { RSL_ERR_ACCH_OVERLOAD,        "ACCH Overload" },</span><br><span>         { RSL_ERR_PROCESSOR_OVERLOAD,   "Processor Overload" },</span><br><span style="color: hsl(120, 100%, 40%);">+     { RSL_ERR_BTS_NOT_EQUIPPED,     "BTS not equipped" },</span><br><span style="color: hsl(120, 100%, 40%);">+       { RSL_ERR_REMOTE_TRANSC_FAIL,   "Remote Transcoder Failure" },</span><br><span style="color: hsl(120, 100%, 40%);">+      { RSL_ERR_NOTIFICATION_OVERFL,  "Notification Overflow" },</span><br><span>         { RSL_ERR_RES_UNAVAIL,          "Resource not available, unspecified" },</span><br><span>   { RSL_ERR_TRANSC_UNAVAIL,       "Transcoding not available" },</span><br><span>     { RSL_ERR_SERV_OPT_UNAVAIL,     "Service or Option not available" },</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/19448">change 19448</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmocore/+/19448"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ic3e936da00bd256bae03867887851f1a4e30e218 </div>
<div style="display:none"> Gerrit-Change-Number: 19448 </div>
<div style="display:none"> Gerrit-PatchSet: 6 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>