Change in osmo-pcu[master]: bts: Rename 11bit RACH request counter

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

pespin gerrit-no-reply at lists.osmocom.org
Tue Nov 2 17:51:43 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/26073 )


Change subject: bts: Rename 11bit RACH request counter
......................................................................

bts: Rename 11bit RACH request counter

This way it fits better the structure where the general one counts all
rachs, and 11bit only the 11 bits. More per-type splitting will be done
in follow-up commits where new types are added.

Change-Id: Ibdfb10dcc65d71e98e2fe8b05001cafea786f071
---
M src/bts.cpp
M src/bts.h
2 files changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/73/26073/1

diff --git a/src/bts.cpp b/src/bts.cpp
index bd1366e..4ce036b 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -136,7 +136,7 @@
 	{ "pch:requests",		"PCH requests sent    "},
 	{ "pch:requests:timeout",	"PCH requests timeout "},
 	{ "rach:requests",		"RACH requests received"},
-	{ "11bit_rach:requests",	"11BIT_RACH requests received"},
+	{ "rach:requests:11bit",	"11BIT_RACH requests received"},
 	{ "spb:uplink_first_segment",   "First seg of UL SPB  "},
 	{ "spb:uplink_second_segment",  "Second seg of UL SPB "},
 	{ "spb:downlink_first_segment", "First seg of DL SPB  "},
@@ -880,7 +880,7 @@
 	bts_do_rate_ctr_inc(bts, CTR_RACH_REQUESTS);
 
 	if (rip->is_11bit)
-		bts_do_rate_ctr_inc(bts, CTR_11BIT_RACH_REQUESTS);
+		bts_do_rate_ctr_inc(bts, CTR_RACH_REQUESTS_11BIT);
 
 	/* Determine full frame number */
 	uint32_t Fn = bts_rfn_to_fn(bts, rip->rfn);
diff --git a/src/bts.h b/src/bts.h
index d9a86eb..63f80a8 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -128,7 +128,7 @@
 	CTR_PCH_REQUESTS,
 	CTR_PCH_REQUESTS_TIMEDOUT,
 	CTR_RACH_REQUESTS,
-	CTR_11BIT_RACH_REQUESTS,
+	CTR_RACH_REQUESTS_11BIT,
 	CTR_SPB_UL_FIRST_SEGMENT,
 	CTR_SPB_UL_SECOND_SEGMENT,
 	CTR_SPB_DL_FIRST_SEGMENT,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/26073
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfb10dcc65d71e98e2fe8b05001cafea786f071
Gerrit-Change-Number: 26073
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211102/eac3e70d/attachment.htm>


More information about the gerrit-log mailing list