aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.cpp
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-09-05 15:12:20 +0200
committerosmith <osmith@sysmocom.de>2019-09-11 06:16:29 +0000
commit45fdc44d683365b806b90e694cb7b960dc967b31 (patch)
tree47c03bfb2f93ffdb6594c24e2e8a523072954256 /src/bts.cpp
parent37ae22ab13d799ad392d6b6b0e5997801589d044 (diff)
tbf_dl: make preemptive retransmission optional
Since [1], OsmoPCU already starts to retransmit downlink blocks before the MS has had a chance to receive them and/or send the related acknowledgement in uplink. Make this optional with the new VTY option "no dl-tbf-preemptive-retransmission". [1] e25b5b91f60f20f61096bc6199a05b58ee6c6328 ("tbf: Only create dummy frames if necessary") Related: OS#2408 Change-Id: Id08aed513d4033aa0d4324c6ce07cbb2852f2f92
Diffstat (limited to 'src/bts.cpp')
-rw-r--r--src/bts.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bts.cpp b/src/bts.cpp
index 26dd4015..60f74dd6 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -216,6 +216,7 @@ BTS::BTS()
{
memset(&m_bts, 0, sizeof(m_bts));
m_bts.bts = this;
+ m_bts.dl_tbf_preemptive_retransmission = true;
/* initialize back pointers */
for (size_t trx_no = 0; trx_no < ARRAY_SIZE(m_bts.trx); ++trx_no) {