aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/Transceiver.cpp
diff options
context:
space:
mode:
authorTom Tsou <tom.tsou@ettus.com>2016-03-06 01:28:40 -0800
committerTom Tsou <tom.tsou@ettus.com>2016-03-06 19:11:05 -0800
commit5cd70dc4ec6a658c2835c805a8b941351c90ccb0 (patch)
tree571f45571df6ed78ec04fb19a607aabcc4feb815 /Transceiver52M/Transceiver.cpp
parent465694027b297d624f1a87803c46b1ed46d5be95 (diff)
EDGE: Setup variable sampling on receive path
Allow setting the device to non single SPS sample rates - mainly running at 4 SPS as the signal processing library does not support other rates. Wider bandwith support is required on the receive path to avoid 8-PSK bandlimiting distortion for EDGE. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
Diffstat (limited to 'Transceiver52M/Transceiver.cpp')
-rw-r--r--Transceiver52M/Transceiver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp
index 48f4a19..2be7ab0 100644
--- a/Transceiver52M/Transceiver.cpp
+++ b/Transceiver52M/Transceiver.cpp
@@ -143,7 +143,7 @@ bool TransceiverState::init(int filler, size_t sps, float scale, size_t rtsc)
Transceiver::Transceiver(int wBasePort,
const char *wTRXAddress,
- size_t wSPS, size_t wChans,
+ size_t tx_sps, size_t rx_sps, size_t chans,
GSM::Time wTransmitLatency,
RadioInterface *wRadioInterface,
double wRssiOffset)
@@ -151,7 +151,7 @@ Transceiver::Transceiver(int wBasePort,
mClockSocket(wBasePort, wTRXAddress, mBasePort + 100),
mTransmitLatency(wTransmitLatency), mRadioInterface(wRadioInterface),
rssiOffset(wRssiOffset),
- mSPSTx(wSPS), mSPSRx(1), mChans(wChans), mOn(false),
+ mSPSTx(tx_sps), mSPSRx(rx_sps), mChans(chans), mOn(false),
mTxFreq(0.0), mRxFreq(0.0), mTSC(0), mMaxExpectedDelay(0), mWriteBurstToDiskMask(0)
{
txFullScale = mRadioInterface->fullScaleInputValue();