From bfc1d0bed77e2454eb954ff2a0ac4b1458ebf3fd Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 26 Aug 2019 16:34:45 +0200 Subject: Transceiver: Enable EDGE detection only on PDCH timeslots Related: OS#3664 Change-Id: Id16248a1c03f9bc9f323c707857cdf3bf34c4e3e --- Transceiver52M/Transceiver.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp index 23aabdd..590101c 100644 --- a/Transceiver52M/Transceiver.cpp +++ b/Transceiver52M/Transceiver.cpp @@ -558,8 +558,8 @@ CorrType Transceiver::expectedCorrType(GSM::Time currTime, return mExtRACH ? EXT_RACH : RACH; else if ((mod52 == 25) || (mod52 == 51)) return IDLE; - else - return TSC; + else /* Enable 8-PSK burst detection if EDGE is enabled */ + return mEdge ? EDGE : TSC; break; } case LOOPBACK: @@ -610,10 +610,6 @@ bool Transceiver::pullRadioVector(size_t chan, struct trx_ul_burst_ind *bi) burstTime = radio_burst->getTime(); CorrType type = expectedCorrType(burstTime, chan); - /* Enable 8-PSK burst detection if EDGE is enabled */ - if (mEdge && (type == TSC)) - type = EDGE; - /* Debug: dump bursts to disk */ /* bits 0-7 - chan 0 timeslots * bits 8-15 - chan 1 timeslots */ -- cgit v1.2.3