diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-08-01 14:51:31 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 11:49:34 -0800 |
commit | 1e51dd7774017cbad84315284596417636ab044d (patch) | |
tree | 689d32b7b55e51c26871ef1ae9364cf00dba4bc0 /host/lib/include/uhdlib/rfnoc | |
parent | b89c53c0691c6d70fb24561243a930bbcc32363b (diff) | |
download | uhd-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.hpp | 5 |
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 |