From ccb73e15f312a9a4c8ee5c0f0371efb16f9a543a Mon Sep 17 00:00:00 2001 From: Thomas Tsou Date: Tue, 15 Apr 2014 17:41:28 -0400 Subject: 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 --- Transceiver52M/Transceiver.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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++) { -- cgit v1.2.3