[MERGED] osmo-bts[master]: common/l1sap.c: increase the BTS_CTR_RACH_DROP in RACH BER c...

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Mar 5 17:29:53 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: common/l1sap.c: increase the BTS_CTR_RACH_DROP in RACH BER check
......................................................................


common/l1sap.c: increase the BTS_CTR_RACH_DROP in RACH BER check

The BTS_CTR_RACH_DROP counter is being increased in case if a RACH
request is ignored due to exceeding ToA value, but remains untouched
in case of exceeding BER (Bit Error Rate). Let's fix this.

Change-Id: Ia02e781d6c47d9d8012a4c8846fe4b731aab74d7
---
M src/common/l1sap.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 330b40a..f83c46d 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -1207,6 +1207,7 @@
 	if (rach_ind->ber10k > btsb->max_ber10k_rach) {
 		DEBUGPFN(DL1C, rach_ind->fn, "ignoring RACH request: %u > %u (max BER)\n",
 			rach_ind->ber10k, btsb->max_ber10k_rach);
+		rate_ctr_inc2(trx->bts->ctrs, BTS_CTR_RACH_DROP);
 		return 0;
 	}
 

-- 
To view, visit https://gerrit.osmocom.org/7085
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia02e781d6c47d9d8012a4c8846fe4b731aab74d7
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list