aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-11-02 16:47:06 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-11-02 16:47:08 +0100
commit7ce56d7c644904c5e90b71fd9c270e478ad18209 (patch)
treeaa6995a9b9674ccad18c7e7cd96c8a488e94a219
parent858f038c1ce1937cc4b295d688b40534b169b01b (diff)
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
-rw-r--r--src/bts.cpp4
-rw-r--r--src/bts.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bts.cpp b/src/bts.cpp
index bd1366e7..4ce036b5 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -136,7 +136,7 @@ static const struct rate_ctr_desc bts_ctr_description[] = {
{ "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 @@ int bts_rcv_rach(struct gprs_rlcmac_bts *bts, const struct rach_ind_params *rip)
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 d9a86ebb..63f80a88 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -128,7 +128,7 @@ enum {
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,