aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioInterface.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/radioInterface.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/radioInterface.h')
-rw-r--r--Transceiver52M/radioInterface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Transceiver52M/radioInterface.h b/Transceiver52M/radioInterface.h
index 31716b3..cac20de 100644
--- a/Transceiver52M/radioInterface.h
+++ b/Transceiver52M/radioInterface.h
@@ -138,6 +138,9 @@ public:
/** set thread priority on current thread */
void setPriority() { mRadio->setPriority(); }
+ /** get transport bus type of attached device */
+ enum RadioDevice::busType getBus() { return mRadio->getBus(); }
+
protected:
/** drive synchronization of Tx/Rx of USRP */