aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300/x300_impl.cpp
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2014-06-27 10:50:51 -0700
committerAshish Chaudhari <ashish@ettus.com>2014-06-27 10:50:51 -0700
commit1bca847406dc4829fd6cfe0ba8bc49b83d25e1ee (patch)
tree0c248544b07d0f05d547526d035b932a4867e9d4 /host/lib/usrp/x300/x300_impl.cpp
parent96c30a11f2924fcb5f914f2922506fe6cfdd93ec (diff)
downloaduhd-1bca847406dc4829fd6cfe0ba8bc49b83d25e1ee.tar.gz
uhd-1bca847406dc4829fd6cfe0ba8bc49b83d25e1ee.tar.bz2
uhd-1bca847406dc4829fd6cfe0ba8bc49b83d25e1ee.zip
x300: Bugfix for overflows on PCIe at 200MS/s
Diffstat (limited to 'host/lib/usrp/x300/x300_impl.cpp')
-rw-r--r--host/lib/usrp/x300/x300_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp
index 2c291f422..a624ebf6b 100644
--- a/host/lib/usrp/x300/x300_impl.cpp
+++ b/host/lib/usrp/x300/x300_impl.cpp
@@ -1129,12 +1129,12 @@ x300_impl::both_xports_t x300_impl::make_transport(
if (mb.xport_path == "nirio") {
default_buff_args.send_frame_size =
(prefix == X300_RADIO_DEST_PREFIX_TX)
- ? X300_PCIE_DATA_FRAME_SIZE
+ ? X300_PCIE_TX_DATA_FRAME_SIZE
: X300_PCIE_MSG_FRAME_SIZE;
default_buff_args.recv_frame_size =
(prefix == X300_RADIO_DEST_PREFIX_RX)
- ? X300_PCIE_DATA_FRAME_SIZE
+ ? X300_PCIE_RX_DATA_FRAME_SIZE
: X300_PCIE_MSG_FRAME_SIZE;
default_buff_args.num_send_frames =