summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b100
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-02-01 09:48:28 -0800
committerJosh Blum <josh@joshknows.com>2012-02-01 09:48:28 -0800
commitd27125b9ab86e0d44db1317707aff7e9f9f8f32f (patch)
tree31e9379767f4a666e779ae0099b97dc22b32737c /host/lib/usrp/b100
parentd46c176af34b728fd43b3dd46485b38623a7335e (diff)
downloaduhd-d27125b9ab86e0d44db1317707aff7e9f9f8f32f.tar.gz
uhd-d27125b9ab86e0d44db1317707aff7e9f9f8f32f.tar.bz2
uhd-d27125b9ab86e0d44db1317707aff7e9f9f8f32f.zip
dsp rework: account for no sid used in tx vita pkt
Diffstat (limited to 'host/lib/usrp/b100')
-rw-r--r--host/lib/usrp/b100/io_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/b100/io_impl.cpp b/host/lib/usrp/b100/io_impl.cpp
index 9474268ef..da3abada8 100644
--- a/host/lib/usrp/b100/io_impl.cpp
+++ b/host/lib/usrp/b100/io_impl.cpp
@@ -264,6 +264,7 @@ tx_streamer::sptr b100_impl::get_tx_stream(const uhd::stream_args_t &args_){
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
+ - sizeof(vrt::if_packet_info_t().sid) //no stream id ever used
- sizeof(vrt::if_packet_info_t().cid) //no class id ever used
;
static const size_t bpp = 2048 - hdr_size;