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/250 to look at the new patch set (#2). LC15: osmo-bts-litecell15/calib_file.c: Alarm - Calibration file path not specified Change-Id: Iff46e7ed6093cf77b95758a866a58991cd807bfa --- M src/osmo-bts-litecell15/calib_file.c 1 file changed, 19 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/50/250/2 diff --git a/src/osmo-bts-litecell15/calib_file.c b/src/osmo-bts-litecell15/calib_file.c index 87b9764..857e6d0 100644 --- a/src/osmo-bts-litecell15/calib_file.c +++ b/src/osmo-bts-litecell15/calib_file.c @@ -321,11 +321,26 @@ int rc; struct calib_send_state *st = &fl1h->st; char *calib_path = fl1h->phy_inst->u.lc15.calib_path; + char log_msg[100]; + struct gsm_failure_evt_rep failure_rep; - if (!calib_path) { - LOGP(DL1C, LOGL_ERROR, "Calibration file path not specified\n"); - return -1; - } + if (!calib_path) { + snprintf(log_msg, 100, "Calibration file path not specified\n"); + 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 = 0x0401; + 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); + } + return -1; + } rc = get_next_calib_file_idx(fl1h, -1); if (rc < 0) { -- To view, visit https://gerrit.osmocom.org/250 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Iff46e7ed6093cf77b95758a866a58991cd807bfa 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