aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioInterface.h
diff options
context:
space:
mode:
authorTom Tsou <tom.tsou@ettus.com>2016-07-20 16:35:03 -0700
committerTom Tsou <tom.tsou@ettus.com>2016-07-20 16:36:27 -0700
commit8f0ccf618d553b2731caa24a2575a48065917959 (patch)
treea2023374ba4f3094307c98a16dd13bb122f90656 /Transceiver52M/radioInterface.h
parent06676ead634d85d2acdd84dfdd79d55dd618187b (diff)
uhd: Update USRP2/N200/N210 for 4 SPS Rx
Requires changing the radioInterface API to pass in Rx side SPS value. Update the (deprecated) diversity configuration to match as well. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
Diffstat (limited to 'Transceiver52M/radioInterface.h')
-rw-r--r--Transceiver52M/radioInterface.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/Transceiver52M/radioInterface.h b/Transceiver52M/radioInterface.h
index b63cc4c..f77cf9e 100644
--- a/Transceiver52M/radioInterface.h
+++ b/Transceiver52M/radioInterface.h
@@ -85,8 +85,7 @@ public:
virtual void close();
/** constructor */
- RadioInterface(RadioDevice* wRadio = NULL,
- size_t tx_sps = 4, size_t rx_sps = 1,
+ RadioInterface(RadioDevice* wRadio, size_t tx_sps, size_t rx_sps,
size_t chans = 1, size_t diversity = 1,
int receiveOffset = 3, GSM::Time wStartTime = GSM::Time(0));
@@ -159,7 +158,7 @@ private:
void pullBuffer();
public:
- RadioInterfaceResamp(RadioDevice* wRadio, size_t wSPS = 4, size_t chans = 1);
+ RadioInterfaceResamp(RadioDevice* wRadio, size_t tx_sps, size_t rx_sps);
~RadioInterfaceResamp();
bool init(int type);
@@ -196,8 +195,7 @@ public:
class RadioInterfaceDiversity : public RadioInterface {
public:
- RadioInterfaceDiversity(RadioDevice* wRadio,
- size_t sps = 4, size_t chans = 2);
+ RadioInterfaceDiversity(RadioDevice* wRadio, size_t tx_sps, size_t chans);
~RadioInterfaceDiversity();