aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2013-08-23 15:16:52 -0700
committerJosh Blum <josh@joshknows.com>2013-08-23 15:16:52 -0700
commitf8b677183937d565045939061cbd57202e388e50 (patch)
tree89c449f67ddd27f4a10b5c8f831e38eccd9c1c79 /host/include
parenta77e4d83cea39908e1b7425b315a6c8c69ac0a7f (diff)
downloaduhd-f8b677183937d565045939061cbd57202e388e50.tar.gz
uhd-f8b677183937d565045939061cbd57202e388e50.tar.bz2
uhd-f8b677183937d565045939061cbd57202e388e50.zip
uhd: fix get_xx_freq_range to use analog bw/2
The proper equation should be: max_freq = max_lo + min(adc/2, bw/2) - sr/2
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/usrp/multi_usrp.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/host/include/uhd/usrp/multi_usrp.hpp b/host/include/uhd/usrp/multi_usrp.hpp
index 2e83823ba..d60f0e60c 100644
--- a/host/include/uhd/usrp/multi_usrp.hpp
+++ b/host/include/uhd/usrp/multi_usrp.hpp
@@ -441,6 +441,10 @@ public:
/*!
* Get the RX center frequency range.
+ * This range includes the overall tunable range of the RX chain,
+ * including frontend chain and digital down conversion chain.
+ * This tunable limit does not include the baseband bandwidth;
+ * users should assume that the actual range is +/- samp_rate/2.
* \param chan the channel index 0 to N-1
* \return a frequency range object
*/
@@ -694,6 +698,10 @@ public:
/*!
* Get the TX center frequency range.
+ * This range includes the overall tunable range of the TX chain,
+ * including frontend chain and digital up conversion chain.
+ * This tunable limit does not include the baseband bandwidth;
+ * users should assume that the actual range is +/- samp_rate/2.
* \param chan the channel index 0 to N-1
* \return a frequency range object
*/