aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M
diff options
context:
space:
mode:
authorkurtis.heimerl <kurtis.heimerl@19bc5d8c-e614-43d4-8b26-e1612bc8e597>2011-11-26 03:17:13 +0000
committerkurtis.heimerl <kurtis.heimerl@19bc5d8c-e614-43d4-8b26-e1612bc8e597>2011-11-26 03:17:13 +0000
commitdb2aae579cee162e62e44d4efa553b1cd75b2004 (patch)
tree18301909fe60880596c2529eed7496b3ad82fbca /Transceiver52M
parent02d04055a33a8ddf5d27680997c4fda100a7c168 (diff)
uhd: move non-52MHz transceiver to common radio device interface
Use the same header files for the device and start moving toward a commmon transceiver without so much redundant code. Signed-off-by: Thomas Tsou <ttsou@vt.edu> git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2641 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Diffstat (limited to 'Transceiver52M')
-rw-r--r--Transceiver52M/radioDevice.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Transceiver52M/radioDevice.h b/Transceiver52M/radioDevice.h
index 8835ae5..f10da3e 100644
--- a/Transceiver52M/radioDevice.h
+++ b/Transceiver52M/radioDevice.h
@@ -29,6 +29,7 @@ class RadioDevice {
public:
static RadioDevice *make(double desiredSampleRate, bool skipRx = false);
+ /** Initialize the USRP */
virtual bool open()=0;
/** Start the USRP */
@@ -37,6 +38,9 @@ class RadioDevice {
/** Stop the USRP */
virtual bool stop()=0;
+ /** Enable thread priority */
+ virtual void setPriority()=0;
+
/**
Read samples from the radio.
@param buf preallocated buf to contain read result