<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/15416">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Introduce BTS_FEAT_ETWS_PN for communicating ETWS PN capability<br><br>As 3GPP doesn't specify how the BSC shall communicate ETWS Primary<br>Notifications over Abis/RSL, we have to use a vendor-specific RSL<br>message for this. And in order to know if the peer supports this<br>feature, we introduces BTS_FEAT_ETWS_PN.<br><br>Change-Id: I89c24a81ada6627694a9632e87485a61cbd3e680<br>Related: OS#4046, OS#4047<br>---<br>M include/osmocom/gsm/bts_features.h<br>M include/osmocom/gsm/protocol/gsm_08_58.h<br>M src/gsm/bts_features.c<br>M src/gsm/rsl.c<br>4 files changed, 4 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/16/15416/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/gsm/bts_features.h b/include/osmocom/gsm/bts_features.h</span><br><span>index e84f95b..7ead020 100644</span><br><span>--- a/include/osmocom/gsm/bts_features.h</span><br><span>+++ b/include/osmocom/gsm/bts_features.h</span><br><span>@@ -23,6 +23,7 @@</span><br><span> BTS_FEAT_SPEECH_F_EFR,</span><br><span> BTS_FEAT_SPEECH_F_AMR,</span><br><span> BTS_FEAT_SPEECH_H_AMR,</span><br><span style="color: hsl(120, 100%, 40%);">+ BTS_FEAT_ETWS_PN,</span><br><span> _NUM_BTS_FEAT</span><br><span> };</span><br><span> </span><br><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 72e9de6..da55a8d 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>@@ -237,7 +237,7 @@</span><br><span> RSL_MT_IPAC_DLCX_ACK,</span><br><span> RSL_MT_IPAC_DLCX_NACK,</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- RSL_MT_OSMO_ETWS_CMD = 0xf0,</span><br><span style="color: hsl(120, 100%, 40%);">+ RSL_MT_OSMO_ETWS_CMD = 0x7f,</span><br><span> };</span><br><span> </span><br><span> /*! Siemens vendor-specific RSL message types */</span><br><span>diff --git a/src/gsm/bts_features.c b/src/gsm/bts_features.c</span><br><span>index 4ec24fa..e4ff76c 100644</span><br><span>--- a/src/gsm/bts_features.c</span><br><span>+++ b/src/gsm/bts_features.c</span><br><span>@@ -38,6 +38,7 @@</span><br><span> { BTS_FEAT_SPEECH_F_EFR, "Fullrate speech EFR" },</span><br><span> { BTS_FEAT_SPEECH_F_AMR, "Fullrate speech AMR" },</span><br><span> { BTS_FEAT_SPEECH_H_AMR, "Halfrate speech AMR" },</span><br><span style="color: hsl(120, 100%, 40%);">+ { BTS_FEAT_ETWS_PN, "ETWS Primary Notification via PCH" },</span><br><span> { 0, NULL }</span><br><span> };</span><br><span> </span><br><span>diff --git a/src/gsm/rsl.c b/src/gsm/rsl.c</span><br><span>index 3be0111..5534aa2 100644</span><br><span>--- a/src/gsm/rsl.c</span><br><span>+++ b/src/gsm/rsl.c</span><br><span>@@ -389,6 +389,7 @@</span><br><span> { RSL_MT_TFO_REP, "TFO_REP" },</span><br><span> { RSL_MT_TFO_MOD_REQ, "TFO_MOD_REQ" },</span><br><span> { RSL_MT_LOCATION_INFO, "LOCATION_INFO" },</span><br><span style="color: hsl(120, 100%, 40%);">+ { RSL_MT_OSMO_ETWS_CMD, "OSMO_ETWS_CMD" },</span><br><span> { 0, NULL }</span><br><span> };</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/15416">change 15416</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/+/15416"/><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: I89c24a81ada6627694a9632e87485a61cbd3e680 </div>
<div style="display:none"> Gerrit-Change-Number: 15416 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>