aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioDevice.h
diff options
context:
space:
mode:
authorkurtis.heimerl <kurtis.heimerl@19bc5d8c-e614-43d4-8b26-e1612bc8e597>2011-11-26 03:18:55 +0000
committerkurtis.heimerl <kurtis.heimerl@19bc5d8c-e614-43d4-8b26-e1612bc8e597>2011-11-26 03:18:55 +0000
commite380af3ecc94b64754de501deb211a31ba6573f9 (patch)
tree2fea0a8446748b4e5d287e56f27ce21bbf83b474 /Transceiver52M/radioDevice.h
parent0803ad9ad96a59427dbb8093375572ba683c0be2 (diff)
transceiver: make the transmit drive loop bus dependent
With the introduction of the B100, there is USB support using UHD devices. The characteristics of the trasmit side burst submissions are more reflective of the bus type than the device or driver. Use a fixed latency interval for network devices and the adaptive underrun approach for USB devices - regardless of driver or device type. The GPMC based transport on the E100 appears unaffected by either latency scheme, which defaults to network. Signed-off-by: Thomas Tsou <ttsou@vt.edu> git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2677 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Diffstat (limited to 'Transceiver52M/radioDevice.h')
-rw-r--r--Transceiver52M/radioDevice.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Transceiver52M/radioDevice.h b/Transceiver52M/radioDevice.h
index f10da3e..47012a1 100644
--- a/Transceiver52M/radioDevice.h
+++ b/Transceiver52M/radioDevice.h
@@ -27,6 +27,9 @@ typedef unsigned long long TIMESTAMP;
class RadioDevice {
public:
+ /* Available transport bus types */
+ enum busType { USB, NET };
+
static RadioDevice *make(double desiredSampleRate, bool skipRx = false);
/** Initialize the USRP */
@@ -38,6 +41,9 @@ class RadioDevice {
/** Stop the USRP */
virtual bool stop()=0;
+ /** Get the bus type */
+ virtual enum busType getBus()=0;
+
/** Enable thread priority */
virtual void setPriority()=0;