diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2016-10-04 17:53:21 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2016-10-04 17:53:21 +0200 |
commit | 33163979212119c6c52d5c4c731a03707710be73 (patch) | |
tree | baaf825e28128305659933f01dc5f240c0274b38 /openbsc | |
parent | 92f552f344541977d952596bd3d2eaaef4435809 (diff) |
gprs/gprs_llc: count UI frames over SAPI in the statistics
Change-Id: I5f38d70e046ce9ca1342e6f862329dc3cded8995
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/gprs/gprs_llc.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |