aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-12-20 17:38:00 -0800
committerJosh Blum <josh@joshknows.com>2011-12-20 17:38:00 -0800
commit81289ab0510c847daacf75e261cad2de5cd7d508 (patch)
treeaa8a92f1dab55b9183f1bf14d78c25a3cde255f4 /host/include
parentcdf8de0ca34d787ee9b3fed543f5e45bc2df00fa (diff)
downloaduhd-81289ab0510c847daacf75e261cad2de5cd7d508.tar.gz
uhd-81289ab0510c847daacf75e261cad2de5cd7d508.tar.bz2
uhd-81289ab0510c847daacf75e261cad2de5cd7d508.zip
usrp: added underflow_policy to tx streamer args
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/stream.hpp6
1 files changed, 6 insertions, 0 deletions
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