diff options
author | Josh Blum <josh@joshknows.com> | 2012-01-30 22:23:38 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-01-31 14:56:31 -0800 |
commit | d46c176af34b728fd43b3dd46485b38623a7335e (patch) | |
tree | 4c93a5dc27c6c5213c858f6c4312d1195a44e32d /host/lib/usrp/usrp2 | |
parent | 781cafa8717f00b883a4543b4a9150060691eee3 (diff) | |
download | uhd-d46c176af34b728fd43b3dd46485b38623a7335e.tar.gz uhd-d46c176af34b728fd43b3dd46485b38623a7335e.tar.bz2 uhd-d46c176af34b728fd43b3dd46485b38623a7335e.zip |
dsp rework: tx trailer, scaling work (peak)
Diffstat (limited to 'host/lib/usrp/usrp2')
-rw-r--r-- | host/lib/usrp/usrp2/io_impl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/io_impl.cpp b/host/lib/usrp/usrp2/io_impl.cpp index 58a5df2a5..6dcec6f1f 100644 --- a/host/lib/usrp/usrp2/io_impl.cpp +++ b/host/lib/usrp/usrp2/io_impl.cpp @@ -450,6 +450,7 @@ tx_streamer::sptr usrp2_impl::get_tx_stream(const uhd::stream_args_t &args_){ //calculate packet size static const size_t hdr_size = 0 + vrt::max_if_hdr_words32*sizeof(boost::uint32_t) + + sizeof(vrt::if_packet_info_t().tlr) //forced to have trailer + vrt_send_header_offset_words32*sizeof(boost::uint32_t) - sizeof(vrt::if_packet_info_t().cid) //no class id ever used ; |