<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11684">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">abis_nm: Introduce new signal S_NM_GET_ATTR_REP<br><br>This signal can be used for tools willing to request and parse Attribute Response<br>and do something with the information.<br><br>Related: OS#3624<br>Change-Id: I9a121bbfe1b96904d4e16845abc90bb6ef20d2c9<br>---<br>M include/osmocom/bsc/signal.h<br>M src/osmo-bsc/abis_nm.c<br>2 files changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/84/11684/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/bsc/signal.h b/include/osmocom/bsc/signal.h</span><br><span>index 1b351aa..62a3d2c 100644</span><br><span>--- a/include/osmocom/bsc/signal.h</span><br><span>+++ b/include/osmocom/bsc/signal.h</span><br><span>@@ -72,6 +72,7 @@</span><br><span>      S_NM_STATECHG_ADM,      /* Administrative State changed */</span><br><span>   S_NM_OM2K_CONF_RES,     /* OM2K Configuration Result */</span><br><span>      S_NM_OPSTART_ACK,       /* Received OPSTART ACK, arg is struct msgb *oml_msg */</span><br><span style="color: hsl(120, 100%, 40%);">+       S_NM_GET_ATTR_REP,      /* Received Get Attributes Response, arg is struct msgb *oml_msg */</span><br><span> };</span><br><span> </span><br><span> /* SS_LCHAN signals */</span><br><span>diff --git a/src/osmo-bsc/abis_nm.c b/src/osmo-bsc/abis_nm.c</span><br><span>index ba3801d..94c014c 100644</span><br><span>--- a/src/osmo-bsc/abis_nm.c</span><br><span>+++ b/src/osmo-bsc/abis_nm.c</span><br><span>@@ -602,6 +602,7 @@</span><br><span>   else</span><br><span>                 parse_attr_resp_info_attr(bts, trx, foh, &tp);</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+        osmo_signal_dispatch(SS_NM, S_NM_GET_ATTR_REP, mb);</span><br><span> </span><br><span>      return 0;</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11684">change 11684</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/11684"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I9a121bbfe1b96904d4e16845abc90bb6ef20d2c9 </div>
<div style="display:none"> Gerrit-Change-Number: 11684 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>