aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_rlcmac_sched.cpp
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-05-22 00:02:56 +0200
committerHolger Freyther <holger@freyther.de>2016-05-22 11:11:53 +0000
commitf929e625252c8943339bf909553118f8b484c3c2 (patch)
tree8b199926fbed8964d5df6e1416910da24c7f2b3b /src/gprs_rlcmac_sched.cpp
parent4acb6b72513e63f5a9b874fe26c38788e9d980d1 (diff)
introduce new counter rlc_sent_control
Counts control messages (UL/DL assignment, UL ACKs or page requests) Change-Id: Ib41031d430beddfb48d54470e632436f2c99c360 Reviewed-on: https://gerrit.osmocom.org/99 Reviewed-by: Holger Freyther <holger@freyther.de> Tested-by: Jenkins Builder
Diffstat (limited to 'src/gprs_rlcmac_sched.cpp')
-rw-r--r--src/gprs_rlcmac_sched.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp
index cd5f683c..fce3aafa 100644
--- a/src/gprs_rlcmac_sched.cpp
+++ b/src/gprs_rlcmac_sched.cpp
@@ -339,6 +339,8 @@ int gprs_rlcmac_rcv_rts_block(struct gprs_rlcmac_bts *bts,
/* Prio 1: select control message */
msg = sched_select_ctrl_msg(trx, ts, fn, block_nr, pdch, ul_ass_tbf,
dl_ass_tbf, ul_ack_tbf);
+ if (msg)
+ bts->bts->rlc_sent_control();
/* Prio 2: select data message for downlink */
if (!msg) {