diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-02-24 12:36:52 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-02-24 19:26:42 +0100 |
commit | d7f8a1c16e8a6337539b5dae291f435cf0cf426e (patch) | |
tree | d394995e58a5101561ed72623519cae54230db9d /src/common/rsl.c | |
parent | c1135015135f9c664dd6735f30fc94772c0d9ce8 (diff) |
BTS: add rate_ctr about CCCH (paging, agch, pch)
Change-Id: Id6c833746150a3c2e32b00ea6604669f16b84bc4
Diffstat (limited to 'src/common/rsl.c')
-rw-r--r-- | src/common/rsl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c index bffe69d0..de04b3bf 100644 --- a/src/common/rsl.c +++ b/src/common/rsl.c @@ -552,6 +552,8 @@ static int rsl_rx_imm_ass(struct gsm_bts_trx *trx, struct msgb *msg) if (!TLVP_PRESENT(&tp, RSL_IE_FULL_IMM_ASS_INFO)) return rsl_tx_error_report(trx, RSL_ERR_MAND_IE_ERROR); + rate_ctr_inc2(trx->bts->ctrs, BTS_CTR_AGCH_RCVD); + /* cut down msg to the 04.08 RR part */ msg->l3h = (uint8_t *) TLVP_VAL(&tp, RSL_IE_FULL_IMM_ASS_INFO); msg->data = msg->l3h; @@ -563,6 +565,7 @@ static int rsl_rx_imm_ass(struct gsm_bts_trx *trx, struct msgb *msg) /* if there is no space in the queue: send DELETE IND */ rsl_tx_delete_ind(trx->bts, TLVP_VAL(&tp, RSL_IE_FULL_IMM_ASS_INFO), TLVP_LEN(&tp, RSL_IE_FULL_IMM_ASS_INFO)); + rate_ctr_inc2(trx->bts->ctrs, BTS_CTR_AGCH_DELETED); msgb_free(msg); } |