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

Count attempted paging requests over PCH.

Related: SYS#4878
Change-Id: I1026780ef8542f40060b961df2f37213e15c29d7
This commit is contained in:
Oliver Smith 2021-06-24 17:01:41 +02:00 committed by osmith
parent 978396732b
commit 4df959d305
3 changed files with 5 additions and 2 deletions

View File

@ -132,8 +132,9 @@ static const struct rate_ctr_desc bts_ctr_description[] = {
{ "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 "},

View File

@ -125,6 +125,7 @@ enum {
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,

View File

@ -47,6 +47,7 @@ int gprs_rlcmac_paging_request(struct gprs_rlcmac_bts *bts, const struct osmo_mo
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);