diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-12-14 14:34:16 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-12-14 15:03:43 +0100 |
commit | 00d64fd5ec3e5672eef52bbc256f60c363a02f97 (patch) | |
tree | ec4713c49fbd3098e05027195b01faa24799e6f2 /src/libbsc/abis_rsl.c | |
parent | 581398afab97392227b4899e47349796d0985377 (diff) |
Add new "chan:mode_modify_nack" counter to count RSL MODE MODIFY NACK
Those NACKs shouldn't happen in production, and if they do, you probably
want to have a more persistent figure than a line in the log file about
it. Having counters allows the user to monitor this efficiently.
Change-Id: Ic82c6baaf4cb88d07bc5cdc200f8279cf130f396
Diffstat (limited to 'src/libbsc/abis_rsl.c')
-rw-r--r-- | src/libbsc/abis_rsl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libbsc/abis_rsl.c b/src/libbsc/abis_rsl.c index c9d0a208e..ef7a6fbd5 100644 --- a/src/libbsc/abis_rsl.c +++ b/src/libbsc/abis_rsl.c @@ -1642,6 +1642,7 @@ static int abis_rsl_rx_dchan(struct msgb *msg) break; case RSL_MT_MODE_MODIFY_NACK: LOGP(DRSL, LOGL_ERROR, "%s CHANNEL MODE MODIFY NACK\n", ts_name); + rate_ctr_inc(&sign_link->trx->bts->bts_ctrs->ctr[BTS_CTR_MODE_MODIFY_NACK]); break; case RSL_MT_IPAC_PDCH_ACT_ACK: DEBUGP(DRSL, "%s IPAC PDCH ACT ACK\n", ts_name); |