Change in osmo-pcu[master]: Add counters: pcu.bts.N.pch.requests

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

osmith gerrit-no-reply at lists.osmocom.org
Tue Aug 10 10:35:18 UTC 2021


osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/25154 )

Change subject: Add counters: pcu.bts.N.pch.requests
......................................................................

Add counters: pcu.bts.N.pch.requests

Count attempted paging requests over PCH.

Related: SYS#4878
Change-Id: I1026780ef8542f40060b961df2f37213e15c29d7
---
M src/bts.cpp
M src/bts.h
M src/gprs_rlcmac.cpp
3 files changed, 5 insertions(+), 2 deletions(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  daniel: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/bts.cpp b/src/bts.cpp
index ee6b915..4e3b770 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -132,8 +132,9 @@
 	{ "llc:scheduled",		"Scheduled Frames     "},
 	{ "llc:dl_bytes",               "RLC encapsulated PDUs"},
 	{ "llc:ul_bytes",               "full PDUs received   "},
-	{ "rach:requests",		"RACH requests        "},
-	{ "11bit_rach:requests",	"11BIT_RACH requests  "},
+	{ "pch:requests",		"PCH requests sent    "},
+	{ "rach:requests",		"RACH requests received"},
+	{ "11bit_rach:requests",	"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  "},
diff --git a/src/bts.h b/src/bts.h
index a2f4598..c28bd97 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -125,6 +125,7 @@
 	CTR_LLC_FRAME_SCHED,
 	CTR_LLC_DL_BYTES,
 	CTR_LLC_UL_BYTES,
+	CTR_PCH_REQUESTS,
 	CTR_RACH_REQUESTS,
 	CTR_11BIT_RACH_REQUESTS,
 	CTR_SPB_UL_FIRST_SEGMENT,
diff --git a/src/gprs_rlcmac.cpp b/src/gprs_rlcmac.cpp
index 71849b8..ffa656c 100644
--- a/src/gprs_rlcmac.cpp
+++ b/src/gprs_rlcmac.cpp
@@ -47,6 +47,7 @@
 		LOGP(DRLCMAC, LOGL_ERROR, "TX: [PCU -> BTS] Failed to encode Paging Request\n");
 		return -1;
 	}
+	bts_do_rate_ctr_inc(bts, CTR_PCH_REQUESTS);
 	pcu_l1if_tx_pch(bts, paging_request, plen, pgroup);
 	bitvec_free(paging_request);
 

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I1026780ef8542f40060b961df2f37213e15c29d7
Gerrit-Change-Number: 25154
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210810/d2cf1875/attachment.htm>


More information about the gerrit-log mailing list