diff options
Diffstat (limited to 'host/lib/usrp/e300/e300_impl.cpp')
-rw-r--r-- | host/lib/usrp/e300/e300_impl.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/usrp/e300/e300_impl.cpp b/host/lib/usrp/e300/e300_impl.cpp index 59a8cec88..5a6376039 100644 --- a/host/lib/usrp/e300/e300_impl.cpp +++ b/host/lib/usrp/e300/e300_impl.cpp @@ -731,6 +731,11 @@ uhd::both_xports_t e300_impl::make_transport( return xports; } +size_t e300_impl::get_mtu(const size_t /*mb_index*/, const uhd::direction_t dir) { + return (dir == RX_DIRECTION) ? _data_xport_params.recv_frame_size : + _data_xport_params.send_frame_size; +} + void e300_impl::_update_clock_source(const std::string &source) { if (source != "internal") { |