diff options
author | Josh Blum <josh@joshknows.com> | 2010-06-18 12:33:36 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-06-18 12:33:36 -0700 |
commit | df80be9c61d95402976d3349acf62630044c1939 (patch) | |
tree | 349da246fb6e13f859797242e67a4355a9fbd0ea /host/lib/usrp/usrp2/usrp2_impl.hpp | |
parent | e16adfd201a4a51d9fbd7e1be45cd8d9b33177f5 (diff) | |
parent | a950a544f5c3beb7430a0748b7e76fd6cb713514 (diff) | |
download | uhd-df80be9c61d95402976d3349acf62630044c1939.tar.gz uhd-df80be9c61d95402976d3349acf62630044c1939.tar.bz2 uhd-df80be9c61d95402976d3349acf62630044c1939.zip |
Merge branch 'i2c_resize' into pre_merge
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.hpp')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_impl.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.hpp b/host/lib/usrp/usrp2/usrp2_impl.hpp index ccc09003e..2126b9565 100644 --- a/host/lib/usrp/usrp2/usrp2_impl.hpp +++ b/host/lib/usrp/usrp2/usrp2_impl.hpp @@ -141,15 +141,13 @@ private: /******************************************************************* * Deal with the rx and tx packet sizes ******************************************************************/ - static const size_t _mtu = 1500; //FIXME we have no idea - static const size_t _hdrs = (2 + 14 + 20 + 8); //size of headers (pad, eth, ip, udp) static const size_t _max_rx_bytes_per_packet = - _mtu - _hdrs - + USRP2_UDP_BYTES - USRP2_HOST_RX_VRT_HEADER_WORDS32*sizeof(boost::uint32_t) - USRP2_HOST_RX_VRT_TRAILER_WORDS32*sizeof(boost::uint32_t) ; static const size_t _max_tx_bytes_per_packet = - _mtu - _hdrs - + USRP2_UDP_BYTES - uhd::transport::vrt::max_header_words32*sizeof(boost::uint32_t) ; |