mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-11-02 13:13:17 +00:00
Transceiver52M: Fix retransmissions when filler table is enabled
Commit 15d743efaf "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>
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user