aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-09-11 17:41:21 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:46 -0800
commit67dbaa41f21fb8610444fd8a61b14af78a4ce48c (patch)
tree060eb3cc2cdabdb63a5b394f5239ec761a2816e6 /host/include
parent96dd8f437ec88f3c60e7273d0880347239a91426 (diff)
downloaduhd-67dbaa41f21fb8610444fd8a61b14af78a4ce48c.tar.gz
uhd-67dbaa41f21fb8610444fd8a61b14af78a4ce48c.tar.bz2
uhd-67dbaa41f21fb8610444fd8a61b14af78a4ce48c.zip
rfnoc: radio: Add API call to disable timestamps
By calling radio_control::enable_rx_timestamps(false, chan), the radio will not add timestamps to outgoing packets.
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/rfnoc/radio_control.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/include/uhd/rfnoc/radio_control.hpp b/host/include/uhd/rfnoc/radio_control.hpp
index eb948cb3c..4b1bd3d82 100644
--- a/host/include/uhd/rfnoc/radio_control.hpp
+++ b/host/include/uhd/rfnoc/radio_control.hpp
@@ -647,6 +647,10 @@ public:
virtual void issue_stream_cmd(
const uhd::stream_cmd_t& stream_cmd, const size_t port) = 0;
+ /*! Enable or disable the setting of timestamps on Rx.
+ */
+ virtual void enable_rx_timestamps(const bool enable, const size_t chan) = 0;
+
/**************************************************************************
* Radio Identification API Calls
*************************************************************************/