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/.
Minh-Quang Nguyen gerrit-no-reply at lists.osmocom.orgHello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/249
to look at the new patch set (#2).
LC15: osmo-bts-litecell15/calib_file.c: Alarm - Failed to verify calibration data file
Change-Id: I0472ca8024124a9123eef1a2a93742cf15e1371f
---
M src/osmo-bts-litecell15/calib_file.c
1 file changed, 18 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/49/249/2
diff --git a/src/osmo-bts-litecell15/calib_file.c b/src/osmo-bts-litecell15/calib_file.c
index 1b60d3e..87b9764 100644
--- a/src/osmo-bts-litecell15/calib_file.c
+++ b/src/osmo-bts-litecell15/calib_file.c
@@ -252,7 +252,24 @@
rc = calib_verify(fl1h, desc);
if ( rc < 0 ) {
- LOGP(DL1C, LOGL_ERROR, "Verify L1 calibration table %s -> failed (%d)\n", desc->fname, rc);
+ char log_msg[100];
+ struct gsm_failure_evt_rep failure_rep;
+
+ snprintf(log_msg, 100, "Verify L1 calibration table %s -> failed (%d)\n", desc->fname, rc);
+ LOGP(DL1C, LOGL_ERROR, "%s", log_msg);
+
+ if( fl1h->phy_inst->trx ){
+ failure_rep.event_type = NM_EVT_PROC_FAIL;
+ failure_rep.event_serverity = NM_SEVER_CRITICAL;
+ failure_rep.cause_type = NM_PCAUSE_T_MANUF;
+ failure_rep.event_cause = NM_MM_EVT_CRIT_BOOT_FAIL;
+ failure_rep.add_text = (char *)&log_msg;
+
+ fl1h->phy_inst->trx->mo.obj_inst.trx_nr = fl1h->phy_inst->trx->nr;
+
+ oml_tx_failure_event_rep(&fl1h->phy_inst->trx->mo, failure_rep);
+ }
+
st->last_file_idx = get_next_calib_file_idx(fl1h, st->last_file_idx);
if (st->last_file_idx >= 0)
--
To view, visit https://gerrit.osmocom.org/249
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I0472ca8024124a9123eef1a2a93742cf15e1371f
Gerrit-PatchSet: 2
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Minh-Quang Nguyen <minh-quang.nguyen at nutaq.com>
Gerrit-Reviewer: Jenkins Builder