summaryrefslogtreecommitdiff
path: root/gr-uhd/include/gnuradio/uhd/usrp_source.h
diff options
context:
space:
mode:
authorJulian Arnold <julian.arnold@ettus.com>2015-02-02 16:04:06 -0800
committerJulian Arnold <julian.arnold@ettus.com>2015-03-24 11:53:52 -0700
commit24f4e1c2e60bf7af551dfed8c34001e5c661d843 (patch)
tree84571d611e735aaec570e7f921c75babb1512b48 /gr-uhd/include/gnuradio/uhd/usrp_source.h
parent9024682186cf176749df4de948d034661b19638f (diff)
gr-uhd: support for IQ imbalance enable/disable
Diffstat (limited to 'gr-uhd/include/gnuradio/uhd/usrp_source.h')
-rw-r--r--gr-uhd/include/gnuradio/uhd/usrp_source.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gr-uhd/include/gnuradio/uhd/usrp_source.h b/gr-uhd/include/gnuradio/uhd/usrp_source.h
index 61f63bdf3b..7da39683d1 100644
--- a/gr-uhd/include/gnuradio/uhd/usrp_source.h
+++ b/gr-uhd/include/gnuradio/uhd/usrp_source.h
@@ -359,6 +359,14 @@ namespace gr {
virtual void set_dc_offset(const std::complex<double> &offset, size_t chan = 0) = 0;
/*!
+ * Enable/Disable the RX frontend IQ imbalance correction.
+ *
+ * \param enb true to enable automatic IQ imbalance correction
+ * \param chan the channel index 0 to N-1
+ */
+ virtual void set_auto_iq_balance(const bool enb, size_t chan = 0) = 0;
+
+ /*!
* Set the RX frontend IQ imbalance correction.
* Use this to adjust the magnitude and phase of I and Q.
*