gprs/gprs_llc: count UI frames over SAPI in the statistics

Change-Id: I5f38d70e046ce9ca1342e6f862329dc3cded8995
This commit is contained in:
Alexander Couzens 2016-10-04 17:53:21 +02:00
parent 92f552f344
commit 3316397921
1 changed files with 3 additions and 0 deletions

View File

@ -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 */