From 027cf1fe9b484197bc7f2aeb2f1bb588442d0bdc Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 21 Aug 2019 15:14:39 -0700 Subject: rfnoc: radio/streamer: Handle late commands and burst ACKs - Burst ACKs are already handled by the TX streamer, but the radio now also sends an action upstream on reception of a burst ACK - Late commands were only acquitted by an 'L', now an action gets sent downstream and is handled in the rx streamer --- host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp') diff --git a/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp b/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp index 5327105c8..fc0d19a0a 100644 --- a/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp +++ b/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp @@ -241,13 +241,16 @@ public: struct err_codes { - static const uint32_t ERR_RX_LATE_CMD = - 1; // Late command (arrived after indicated time) - static const uint32_t ERR_RX_OVERRUN = 2; // FIFO overflow - static const uint32_t ERR_TX_UNDERRUN = - 1; // Data underflow (data not available when needed) - static const uint32_t ERR_TX_LATE_DATA = - 2; // Late data (arrived after indicated time) + //! Late command (stream command arrived after indicated time) + static const uint32_t ERR_RX_LATE_CMD = 1; + //! FIFO overflow + static const uint32_t ERR_RX_OVERRUN = 2; + // FIFO underrun (data not available when needed) + static const uint32_t ERR_TX_UNDERRUN = 1; + //! Late data (arrived after indicated time) + static const uint32_t ERR_TX_LATE_DATA = 2; + //! Acknowledge a TX burst with an EOB + static const uint32_t EVENT_TX_BURST_ACK = 3; }; //! Tree path to the dboard-specific properties -- cgit v1.2.3