From 847ed9f8cd4fd95776052c8d1934813f0ea2c813 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 20 Feb 2018 18:16:11 +0100 Subject: TBF: make network counters internal * store N310* counters in shared array similar to corresponding timers * add functions to increment/reset counters This avoids direct access to TBF counters from PDCH. Change-Id: I8ffff9c7186f74bde7e6ac5f6e98f0b3e4c35274 Related: OS#1539 --- src/tbf_ul.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tbf_ul.cpp') diff --git a/src/tbf_ul.cpp b/src/tbf_ul.cpp index a4d3499e..02f4ddb8 100644 --- a/src/tbf_ul.cpp +++ b/src/tbf_ul.cpp @@ -333,7 +333,7 @@ int gprs_rlcmac_ul_tbf::rcv_data_block_acknowledged( LOGPTBFUL(this, LOGL_DEBUG, "Finished with UL TBF\n"); TBF_SET_STATE(this, GPRS_RLCMAC_FINISHED); /* Reset N3103 counter. */ - this->m_n3103 = 0; + this->n_reset(N3103); } } -- cgit v1.2.3