Change in osmo-bts[master]: load_indication: Fix missing re-set of RACH parameters

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
Fri May 24 08:38:12 UTC 2019


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/14158


Change subject: load_indication: Fix missing re-set of RACH parameters
......................................................................

load_indication: Fix missing re-set of RACH parameters

While we re-set the PCH load counters after every report, we never
actually re-set the RACH load counters.  This meant that the
period/window for RACH load averaging would always grow, rather than
being reset every load indication period.

Related: OS#3750
Change-Id: Icd9150ba56d77d031c3cf496c5936c2de52b364c
---
M src/common/load_indication.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/58/14158/1

diff --git a/src/common/load_indication.c b/src/common/load_indication.c
index e91f6d4..fa4745b 100644
--- a/src/common/load_indication.c
+++ b/src/common/load_indication.c
@@ -32,6 +32,7 @@
 {
 	/* re-set the counters */
 	bts->load.ccch.pch_used = bts->load.ccch.pch_total = 0;
+	bts->load.rach.busy = bts->load.rach.access = bts->load.rach.total = 0;
 }
 
 static void load_timer_cb(void *data)

-- 
To view, visit https://gerrit.osmocom.org/14158
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icd9150ba56d77d031c3cf496c5936c2de52b364c
Gerrit-Change-Number: 14158
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190524/854fbaae/attachment.htm>


More information about the gerrit-log mailing list