aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e300/e300_defaults.hpp
diff options
context:
space:
mode:
authorMoritz Fischer <moritz.fischer@ettus.com>2015-07-27 19:14:54 -0700
committerMoritz Fischer <moritz.fischer@ettus.com>2015-07-28 09:21:52 -0700
commit3288048fe443b47d19d340e47fe555539746f511 (patch)
tree3b1e620b9536319f062e7bc890df53ddde9582b4 /host/lib/usrp/e300/e300_defaults.hpp
parent7a0c392f5cc429223b4bd5622aec29f717495b69 (diff)
downloaduhd-3288048fe443b47d19d340e47fe555539746f511.tar.gz
uhd-3288048fe443b47d19d340e47fe555539746f511.tar.bz2
uhd-3288048fe443b47d19d340e47fe555539746f511.zip
e3xx: Make frame sizes configurable.
UHD 3.8.5 increased the TX framesize from 2048 to 4096, this can lead to issues in 2x2. The behaviour can avoided by specifying send_frame_size = 2048 for these scenarios. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Diffstat (limited to 'host/lib/usrp/e300/e300_defaults.hpp')
-rw-r--r--host/lib/usrp/e300/e300_defaults.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/e300/e300_defaults.hpp b/host/lib/usrp/e300/e300_defaults.hpp
index c505df1cd..32b3c33ef 100644
--- a/host/lib/usrp/e300/e300_defaults.hpp
+++ b/host/lib/usrp/e300/e300_defaults.hpp
@@ -49,6 +49,9 @@ static const size_t DEFAULT_CTRL_NUM_FRAMES = 32;
static const size_t MAX_NET_RX_DATA_FRAME_SIZE = 1200;
static const size_t MAX_NET_TX_DATA_FRAME_SIZE = 1200;
+static const size_t MAX_AXI_RX_DATA_FRAME_SIZE = 4096;
+static const size_t MAX_AXI_TX_DATA_FRAME_SIZE = 4096;
+
class e300_ad9361_client_t : public ad9361_params {
public:
~e300_ad9361_client_t() {}