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/transport/rx_streamer_impl.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'host/lib/include/uhdlib/transport/rx_streamer_impl.hpp') diff --git a/host/lib/include/uhdlib/transport/rx_streamer_impl.hpp b/host/lib/include/uhdlib/transport/rx_streamer_impl.hpp index b52358e55..c57a8e0d1 100644 --- a/host/lib/include/uhdlib/transport/rx_streamer_impl.hpp +++ b/host/lib/include/uhdlib/transport/rx_streamer_impl.hpp @@ -220,6 +220,12 @@ protected: _zero_copy_streamer.set_stopped_due_to_overrun(); } + //! Notifies the streamer that an overrun has occured + void set_stopped_due_to_late_command() + { + _zero_copy_streamer.set_stopped_due_to_late_command(); + } + //! Provides a callback to handle overruns void set_overrun_handler( typename rx_streamer_zero_copy::overrun_handler_t handler) -- cgit v1.2.3