diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2020-05-16 18:49:59 +0300 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-05-19 20:00:32 +0000 |
commit | 43def7493c26f623cdf44640a13716a26f13e0c9 (patch) | |
tree | af8720dc92b09e8a85f9959e2643c830293433f5 /src | |
parent | 5d6382731850ce95fde741877b8551b92deb321f (diff) |
stats: Add a BTS/BSC counter PAGING_NO_ACTIVE_PAGING.
This is a corner case but still we should count the events to
know when is this happening. And for the number of paging requests
to match the number of paging responses.
Change-Id: I1755be40d29980b75353cb4b8087d1ce0d92854a
Diffstat (limited to 'src')
-rw-r--r-- | src/osmo-bsc/gsm_08_08.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bsc/gsm_08_08.c b/src/osmo-bsc/gsm_08_08.c index 4f9c69eb6..8a4b1c5fe 100644 --- a/src/osmo-bsc/gsm_08_08.c +++ b/src/osmo-bsc/gsm_08_08.c @@ -388,6 +388,8 @@ static int handle_page_resp(struct gsm_subscriber_connection *conn, struct msgb if (!subscr) { LOGP(DMSC, LOGL_ERROR, "Non active subscriber got paged.\n"); + rate_ctr_inc(&conn->lchan->ts->trx->bts->bts_ctrs->ctr[BTS_CTR_PAGING_NO_ACTIVE_PAGING]); + rate_ctr_inc(&conn->network->bsc_ctrs->ctr[BSC_CTR_PAGING_NO_ACTIVE_PAGING]); return -1; } |