diff options
author | Max <msuraev@sysmocom.de> | 2017-12-20 17:31:13 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-12-20 17:49:25 +0100 |
commit | ee5be3a0095b4bae430032d35e3ad0716eff34ab (patch) | |
tree | 43d74ede1ad950f6d73cd251f8677b4c73d3f60d /src/tbf_ul.cpp | |
parent | c21f007277713b15d9a48d0bcc6f28aa51b4f908 (diff) |
TBF: implement independent T31xx timers
Previously TBF got single timer so the pending timer was automatically
cancelled when new one was scheduled. Let's make it more robust by
implementing independent T31 xx timers from 3GPP TS 44.060 ยง13.2 with
corresponding start/stop functions and counters.
The semantics of the timers is preserved as before: pending timers are
restarted unconditionally. It might be neecessary to change this later on
after spec review.
N. B. T0: used for assign/reject timeouts, have to be properly
attributed and documented first.
Change-Id: I0305873ca47534f53441247217881da59625e1f7
Related: OS#2407
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 09ee1f04..8e4e57e8 100644 --- a/src/tbf_ul.cpp +++ b/src/tbf_ul.cpp @@ -191,7 +191,7 @@ int gprs_rlcmac_ul_tbf::rcv_data_block_acknowledged( unsigned int block_idx; /* restart T3169 */ - tbf_timer_start(this, 3169, bts_data()->t3169, 0, "acked (data)"); + t_start(T3169, bts_data()->t3169, 0, "acked (data)", true); /* Increment RX-counter */ this->m_rx_counter++; |