From 33163979212119c6c52d5c4c731a03707710be73 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 4 Oct 2016 17:53:21 +0200 Subject: gprs/gprs_llc: count UI frames over SAPI in the statistics Change-Id: I5f38d70e046ce9ca1342e6f862329dc3cded8995 --- openbsc/src/gprs/gprs_llc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openbsc/src/gprs/gprs_llc.c b/openbsc/src/gprs/gprs_llc.c index 5b1f33329..e5a80e56b 100644 --- a/openbsc/src/gprs/gprs_llc.c +++ b/openbsc/src/gprs/gprs_llc.c @@ -774,6 +774,9 @@ int gprs_llc_tx_ui(struct msgb *msg, uint8_t sapi, int command, } } + rate_ctr_inc(&sgsn->rate_ctrs->ctr[CTR_LLC_DL_PACKETS]); + rate_ctr_add(&sgsn->rate_ctrs->ctr[CTR_LLC_DL_BYTES], msg->len); + /* Identifiers passed down: (BVCI, NSEI) */ /* Send BSSGP-DL-UNITDATA.req */ -- cgit v1.2.3