Change in osmo-bsc[master]: abis_nm: Introduce new signal S_NM_GET_ATTR_REP

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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu Nov 8 13:43:19 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/11684


Change subject: abis_nm: Introduce new signal S_NM_GET_ATTR_REP
......................................................................

abis_nm: Introduce new signal S_NM_GET_ATTR_REP

This signal can be used for tools willing to request and parse Attribute Response
and do something with the information.

Related: OS#3624
Change-Id: I9a121bbfe1b96904d4e16845abc90bb6ef20d2c9
---
M include/osmocom/bsc/signal.h
M src/osmo-bsc/abis_nm.c
2 files changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/84/11684/1

diff --git a/include/osmocom/bsc/signal.h b/include/osmocom/bsc/signal.h
index 1b351aa..62a3d2c 100644
--- a/include/osmocom/bsc/signal.h
+++ b/include/osmocom/bsc/signal.h
@@ -72,6 +72,7 @@
 	S_NM_STATECHG_ADM,	/* Administrative State changed */
 	S_NM_OM2K_CONF_RES,	/* OM2K Configuration Result */
 	S_NM_OPSTART_ACK,	/* Received OPSTART ACK, arg is struct msgb *oml_msg */
+	S_NM_GET_ATTR_REP,	/* Received Get Attributes Response, arg is struct msgb *oml_msg */
 };
 
 /* SS_LCHAN signals */
diff --git a/src/osmo-bsc/abis_nm.c b/src/osmo-bsc/abis_nm.c
index ba3801d..94c014c 100644
--- a/src/osmo-bsc/abis_nm.c
+++ b/src/osmo-bsc/abis_nm.c
@@ -602,6 +602,7 @@
 	else
 		parse_attr_resp_info_attr(bts, trx, foh, &tp);
 
+	osmo_signal_dispatch(SS_NM, S_NM_GET_ATTR_REP, mb);
 
 	return 0;
 }

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9a121bbfe1b96904d4e16845abc90bb6ef20d2c9
Gerrit-Change-Number: 11684
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181108/cb193fc4/attachment.htm>


More information about the gerrit-log mailing list