From 1e51dd7774017cbad84315284596417636ab044d Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 1 Aug 2019 14:51:31 -0700 Subject: rfnoc: radio: Add async message validation This adds a method to the radio to check if an async message is valid, which can be used to ack async messages immediately. --- host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'host/lib/include/uhdlib/rfnoc') diff --git a/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp b/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp index fc90035f7..5440c1e37 100644 --- a/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp +++ b/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp @@ -278,6 +278,11 @@ protected: std::vector> _samp_rate_out; private: + //! Validator for the async messages + // + // We only know about overruns, underruns, and late commands/packets. + bool async_message_validator(uint32_t addr, const std::vector& data); + //! Receiver for the async messages // // This block will receive all async messages. The following async messages -- cgit v1.2.3