aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300/x300_impl.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-02-28 18:14:12 +0100
committerMartin Braun <martin.braun@ettus.com>2014-04-01 19:38:56 +0200
commite1ac59d7959fe06a898937a62a001c133e127b6f (patch)
treeca0a14e147d6547e3913750bfecb6173287c5fb2 /host/lib/usrp/x300/x300_impl.hpp
parentfd2267819a414c6adb25c6c0bdac6a78cc480b8d (diff)
downloaduhd-e1ac59d7959fe06a898937a62a001c133e127b6f.tar.gz
uhd-e1ac59d7959fe06a898937a62a001c133e127b6f.tar.bz2
uhd-e1ac59d7959fe06a898937a62a001c133e127b6f.zip
x300: Added max link rate info
Diffstat (limited to 'host/lib/usrp/x300/x300_impl.hpp')
-rw-r--r--host/lib/usrp/x300/x300_impl.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/usrp/x300/x300_impl.hpp b/host/lib/usrp/x300/x300_impl.hpp
index 692427f31..4b3efc845 100644
--- a/host/lib/usrp/x300/x300_impl.hpp
+++ b/host/lib/usrp/x300/x300_impl.hpp
@@ -85,6 +85,10 @@ static const size_t X300_RX_MAX_HDR_LEN = // bytes
+ sizeof(uhd::transport::vrt::if_packet_info_t().sid) // SID
+ sizeof(uhd::transport::vrt::if_packet_info_t().tsf); // Timestamp
+static const size_t X300_MAX_RATE_PCIE = 800000000; // bytes/s
+static const size_t X300_MAX_RATE_10GIGE = 800000000; // bytes/s
+static const size_t X300_MAX_RATE_1GIGE = 100000000; // bytes/s
+
#define X300_RADIO_DEST_PREFIX_TX 0
#define X300_RADIO_DEST_PREFIX_CTRL 1
#define X300_RADIO_DEST_PREFIX_RX 2