aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/Transceiver.cpp
diff options
context:
space:
mode:
authorThomas Tsou <tom@tsou.cc>2014-04-15 17:41:28 -0400
committerThomas Tsou <tom@tsou.cc>2014-04-15 17:47:48 -0400
commitccb73e15f312a9a4c8ee5c0f0371efb16f9a543a (patch)
treefd073980712ec76bdd7e3acb89de69f8310aefe7 /Transceiver52M/Transceiver.cpp
parenta5c83aeb5629644d3455d5cc9529cd5b16608a4e (diff)
Transceiver52M: Fix retransmissions when filler table is enabled
Commit 15d743efaf8d3ec8dacd37fbac434c1e719c0b30 "Disable filler table retransmissions by default" made OpenBTS style filler table behavior optional. When enabled, dummy bursts were automatically loaded into the filler table, but the table was not updated and only filler busts were retransmitted. Enable the restransmit state flag when the filler table option is specified. Only preload filler table and enable retransmissions on channel zero. Signed-off-by: Thomas Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/Transceiver.cpp')
-rw-r--r--Transceiver52M/Transceiver.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp
index 724fe8d..415505c 100644
--- a/Transceiver52M/Transceiver.cpp
+++ b/Transceiver52M/Transceiver.cpp
@@ -146,6 +146,10 @@ bool Transceiver::init(bool filler)
mReceiveFIFO.resize(mChans);
mStates.resize(mChans);
+ /* Filler table retransmissions - support only on channel 0 */
+ if (filler)
+ mStates[0].mRetrans = true;
+
mClockSocket = new UDPSocket(mBasePort, mAddr.c_str(), mBasePort + 100);
for (size_t i = 0; i < mChans; i++) {