aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-11-22 17:00:04 +0100
committerpespin <pespin@sysmocom.de>2022-11-23 11:09:05 +0000
commitfd62ac483e0e938afb30d58cfdd6cba69de32cc5 (patch)
treeee16db8ba2a3cc9f521faada2760acb127acaeed
parent1784524392a2d1def2614a136edbbe5b0dd7db16 (diff)
paging: Rename stat t3113 -> paging:t3113
This way all paging related stats can be grouped (more will be added in follow-up commits). Related: SYS#6200 Change-Id: Iede1b6f68df468c7a3b3bf5fce7f68bb08b78832
-rw-r--r--include/osmocom/bsc/bts.h2
-rw-r--r--src/osmo-bsc/bts.c6
-rw-r--r--src/osmo-bsc/paging.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/include/osmocom/bsc/bts.h b/include/osmocom/bsc/bts.h
index cc4db5aa3..e191fc55c 100644
--- a/include/osmocom/bsc/bts.h
+++ b/include/osmocom/bsc/bts.h
@@ -228,7 +228,7 @@ enum {
BTS_STAT_TS_BORKEN,
BTS_STAT_NUM_TRX_RSL_CONNECTED,
BTS_STAT_NUM_TRX_TOTAL,
- BTS_STAT_T3113,
+ BTS_STAT_PAGING_T3113,
};
extern const struct osmo_stat_item_desc bts_stat_desc[];
diff --git a/src/osmo-bsc/bts.c b/src/osmo-bsc/bts.c
index 95e3197f8..0bd5d4a25 100644
--- a/src/osmo-bsc/bts.c
+++ b/src/osmo-bsc/bts.c
@@ -1042,7 +1042,7 @@ void gsm_bts_stats_reset(struct gsm_bts *bts)
osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg, BTS_STAT_CHAN_SDCCH8_CBCH_TOTAL), 0);
osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg, BTS_STAT_CHAN_OSMO_DYN_USED), 0);
osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg, BTS_STAT_CHAN_OSMO_DYN_TOTAL), 0);
- osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg, BTS_STAT_T3113), 0);
+ osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg, BTS_STAT_PAGING_T3113), 0);
}
const struct rate_ctr_desc bts_ctr_description[] = {
@@ -1694,8 +1694,8 @@ const struct osmo_stat_item_desc bts_stat_desc[] = {
{ "num_trx:total",
"Number of configured TRX in this BTS",
"" },
- [BTS_STAT_T3113] = \
- { "t3113",
+ [BTS_STAT_PAGING_T3113] = \
+ { "paging:t3113",
"T3113 paging timer",
"s", 60, 0 },
};
diff --git a/src/osmo-bsc/paging.c b/src/osmo-bsc/paging.c
index 3909a7f9a..09b9ffc10 100644
--- a/src/osmo-bsc/paging.c
+++ b/src/osmo-bsc/paging.c
@@ -388,7 +388,7 @@ static unsigned int calculate_timer_3113(struct gsm_paging_request *req, unsigne
"Paging request: T3113 expires in %u seconds (estimated %u)\n",
to, estimated_to);
ret:
- osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg, BTS_STAT_T3113), to);
+ osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg, BTS_STAT_PAGING_T3113), to);
return to;
}