EDGE: Add interfaces to enable EDGE transceiver
Create EDGE slot type in the Transceiver. When EDGE mode is enabled
for a particular slot, blind detection will be performed by
correlating against EDGE followed by normal bursts if no EDGE burst
is found.
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
diff --git a/Transceiver52M/Transceiver.h b/Transceiver52M/Transceiver.h
index 2fd1aea..fa58053 100644
--- a/Transceiver52M/Transceiver.h
+++ b/Transceiver52M/Transceiver.h
@@ -147,6 +147,7 @@
OFF, ///< timeslot is off
TSC, ///< timeslot should contain a normal burst
RACH, ///< timeslot should contain an access burst
+ EDGE, ///< timeslot should contain an EDGE burst
IDLE ///< timeslot is an idle (or dummy) burst
} CorrType;
@@ -214,7 +215,7 @@
/** Demodulate burst and output soft bits */
SoftVector *demodulate(TransceiverState *state, signalVector &burst,
- complex amp, float toa);
+ complex amp, float toa, CorrType type);
int mSPSTx; ///< number of samples per Tx symbol
int mSPSRx; ///< number of samples per Rx symbol
@@ -272,6 +273,8 @@
/** set priority on current thread */
void setPriority(float prio = 0.5) { mRadioInterface->setPriority(prio); }
+ void logRxBurst(SoftVector *burst, GSM::Time time, double dbm,
+ double rssi, double noise, double toa);
};
void *RxUpperLoopAdapter(TransceiverChannel *);