summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorNick Foster <nick@ettus.com>2012-01-12 11:43:40 -0800
committerJosh Blum <josh@joshknows.com>2012-02-01 10:05:03 -0800
commitbe14ffa819f2c88d24903d01a32eb85afc182a7d (patch)
treeeddc5b65aa61236e83b6c27024ecf2c8ecfe26f7 /host
parent081714b4ce40701067e5513127dd9b9322cbfa5d (diff)
downloaduhd-be14ffa819f2c88d24903d01a32eb85afc182a7d.tar.gz
uhd-be14ffa819f2c88d24903d01a32eb85afc182a7d.tar.bz2
uhd-be14ffa819f2c88d24903d01a32eb85afc182a7d.zip
B100: Modified TX send size to achieve 10.7Msps.
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/b100/io_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/b100/io_impl.cpp b/host/lib/usrp/b100/io_impl.cpp
index da3abada8..60c37bded 100644
--- a/host/lib/usrp/b100/io_impl.cpp
+++ b/host/lib/usrp/b100/io_impl.cpp
@@ -267,7 +267,7 @@ tx_streamer::sptr b100_impl::get_tx_stream(const uhd::stream_args_t &args_){
- 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;
+ static const size_t bpp = _data_transport->get_send_frame_size() - hdr_size;
const size_t spp = bpp/convert::get_bytes_per_item(args.otw_format);
//make the new streamer given the samples per packet