aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-11-08 18:46:57 -0800
committerJosh Blum <josh@joshknows.com>2012-11-21 13:52:19 -0800
commit43e0bd799e5f3dbee8429b16b61b88d25ae2f957 (patch)
tree10d3335f79d007d4153aa2b5d8d6f03d18baa80d /host
parent1a920bce8160ad3389c8ba7940cff7f07317f7cf (diff)
downloaduhd-43e0bd799e5f3dbee8429b16b61b88d25ae2f957.tar.gz
uhd-43e0bd799e5f3dbee8429b16b61b88d25ae2f957.tar.bz2
uhd-43e0bd799e5f3dbee8429b16b61b88d25ae2f957.zip
usrp: poke tune args into dboards that support it
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/multi_usrp.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp
index 0331cf93a..46dd8b670 100644
--- a/host/lib/usrp/multi_usrp.cpp
+++ b/host/lib/usrp/multi_usrp.cpp
@@ -140,6 +140,14 @@ static tune_result_t tune_xx_subdev_and_dsp(
}
//------------------------------------------------------------------
+ //-- poke the tune request args into the dboard
+ //------------------------------------------------------------------
+ if (rf_fe_subtree->exists("tune_args"))
+ {
+ rf_fe_subtree->access<device_addr_t>("tune_args").set(tune_request.args);
+ }
+
+ //------------------------------------------------------------------
//-- set the RF frequency depending upon the policy
//------------------------------------------------------------------
double target_rf_freq = 0.0;