aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/rfnoc
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-08-01 14:51:31 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:34 -0800
commit1e51dd7774017cbad84315284596417636ab044d (patch)
tree689d32b7b55e51c26871ef1ae9364cf00dba4bc0 /host/lib/include/uhdlib/rfnoc
parentb89c53c0691c6d70fb24561243a930bbcc32363b (diff)
downloaduhd-1e51dd7774017cbad84315284596417636ab044d.tar.gz
uhd-1e51dd7774017cbad84315284596417636ab044d.tar.bz2
uhd-1e51dd7774017cbad84315284596417636ab044d.zip
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.
Diffstat (limited to 'host/lib/include/uhdlib/rfnoc')
-rw-r--r--host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp5
1 files changed, 5 insertions, 0 deletions
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<property_t<double>> _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<uint32_t>& data);
+
//! Receiver for the async messages
//
// This block will receive all async messages. The following async messages