diff options
author | Max <msuraev@sysmocom.de> | 2018-02-20 18:16:11 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2018-02-20 18:16:11 +0100 |
commit | 847ed9f8cd4fd95776052c8d1934813f0ea2c813 (patch) | |
tree | 48a7749fd3326af60bd3c8bdf3f7e60f282bc268 /src/tbf_ul.cpp | |
parent | 4da385998acedd83e2f2bb029340d3c1ce710faf (diff) |
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
Diffstat (limited to 'src/tbf_ul.cpp')
-rw-r--r-- | src/tbf_ul.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |