Transceiver: Enable EDGE detection only on PDCH timeslots

Related: OS#3664
Change-Id: Id16248a1c03f9bc9f323c707857cdf3bf34c4e3e
This commit is contained in:
Pau Espin 2019-08-26 16:34:45 +02:00
parent 76ff96e210
commit bfc1d0bed7
1 changed files with 2 additions and 6 deletions

View File

@ -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 */