From 81289ab0510c847daacf75e261cad2de5cd7d508 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 20 Dec 2011 17:38:00 -0800 Subject: usrp: added underflow_policy to tx streamer args --- host/include/uhd/stream.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'host/include') diff --git a/host/include/uhd/stream.hpp b/host/include/uhd/stream.hpp index 8f3219dbd..b41c1733d 100644 --- a/host/include/uhd/stream.hpp +++ b/host/include/uhd/stream.hpp @@ -78,10 +78,16 @@ struct UHD_API stream_args_t{ /*! * The args parameter is used to pass arbitrary key/value pairs. * Possible keys used by args (depends on implementation): + * * - scalar: an integer scaling factor used with the sc8 wire format. * The key/value pair scalar=1024 means that the sample in the DSP * was multiplied by 1024 before its upper 8 bits were harvested. * + * - underflow_policy: how the TX DSP should recover from underflow. + * Possible options are "next_burst" or "next_packet". + * In the "next_burst" mode, the DSP drops incoming packets until a new burst is started. + * In the "next_packet" mode, the DSP starts transmitting again at the next packet. + * * The following are not implemented, but are listed for conceptual purposes: * - function: magnitude or phase/magnitude * - units: numeric units like counts or dBm -- cgit v1.2.3