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, Holger Freyther, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/261 to look at the new patch set (#2). LC15: common/rsl.c : Alarm - BTS page table is full Change-Id: Ie17a87103e289fbbf3fcb3cd60dfd9a1b48d8824 --- M src/common/rsl.c 1 file changed, 23 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/61/261/2 diff --git a/src/common/rsl.c b/src/common/rsl.c index dddde69..e661b18 100644 --- a/src/common/rsl.c +++ b/src/common/rsl.c @@ -50,6 +50,7 @@ #include <osmo-bts/cbch.h> #include <osmo-bts/l1sap.h> #include <osmo-bts/bts_model.h> +#include "osmo-bts/oml.h" //#define FAKE_CIPH_MODE_COMPL @@ -415,6 +416,8 @@ uint8_t chan_needed = 0, paging_group; const uint8_t *identity_lv; int rc; + char log_msg[100]; + struct gsm_failure_evt_rep failure_rep; rsl_tlv_parse(&tp, msgb_l3(msg), msgb_l3len(msg)); @@ -432,6 +435,26 @@ identity_lv, chan_needed); if (rc < 0) { /* FIXME: notfiy the BSC somehow ?*/ + switch(rc) { + /* Send Failure event report of BTS page table is full to BSC */ + case -ENOSPC: + snprintf(log_msg, 100, "BTS page table is full\n"); + if(trx) { + + failure_rep.event_type = NM_EVT_ENV_FAIL; + failure_rep.event_serverity = NM_SEVER_MINOR; + failure_rep.cause_type = NM_PCAUSE_T_MANUF; + failure_rep.event_cause = NM_MM_EVT_MIN_PAG_TAB_FULL; + failure_rep.add_text = (char *)&log_msg; + + oml_tx_failure_event_rep(&trx->mo, failure_rep); + } + break; + + default: + break; + } + } pcu_tx_pag_req(identity_lv, chan_needed); -- To view, visit https://gerrit.osmocom.org/261 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ie17a87103e289fbbf3fcb3cd60dfd9a1b48d8824 Gerrit-PatchSet: 2 Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Owner: Minh-Quang Nguyen <minh-quang.nguyen at nutaq.com> Gerrit-Reviewer: Holger Freyther <holger at freyther.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Minh-Quang Nguyen <minh-quang.nguyen at nutaq.com>