neels has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-hnbgw/+/33170 )
Change subject: make public: umts_cell_id_name()
......................................................................
make public: umts_cell_id_name()
Upcoming logging tweaks will call this from hnbgw_hnbap.c as well.
See I41275d8c3e272177976a9302795884666c35cd06
Related: SYS#6412
Change-Id: I499d18876685062d066a9a66d2def827efb77640
---
M include/osmocom/hnbgw/hnbgw.h
M src/osmo-hnbgw/hnbgw.c
2 files changed, 15 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/70/33170/1
diff --git a/include/osmocom/hnbgw/hnbgw.h b/include/osmocom/hnbgw/hnbgw.h
index 62e5392..90aee5b 100644
--- a/include/osmocom/hnbgw/hnbgw.h
+++ b/include/osmocom/hnbgw/hnbgw.h
@@ -71,6 +71,7 @@
uint16_t sac; /*!< Service Area Code */
uint32_t cid; /*!< Cell ID */
};
+const char *umts_cell_id_name(const struct umts_cell_id *ucid);
struct hnbgw_context_map;
diff --git a/src/osmo-hnbgw/hnbgw.c b/src/osmo-hnbgw/hnbgw.c
index bc5cd9f..f435043 100644
--- a/src/osmo-hnbgw/hnbgw.c
+++ b/src/osmo-hnbgw/hnbgw.c
@@ -343,7 +343,7 @@
return ctx;
}
-static const char *umts_cell_id_name(const struct umts_cell_id *ucid)
+const char *umts_cell_id_name(const struct umts_cell_id *ucid)
{
return talloc_asprintf(OTC_SELECT, "%u-%u-L%u-R%u-S%u-C%u", ucid->mcc,
ucid->mnc, ucid->lac, ucid->rac,
ucid->sac, ucid->cid);
--
To view, visit
https://gerrit.osmocom.org/c/osmo-hnbgw/+/33170
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I499d18876685062d066a9a66d2def827efb77640
Gerrit-Change-Number: 33170
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: newchange