From 43e0bd799e5f3dbee8429b16b61b88d25ae2f957 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 8 Nov 2012 18:46:57 -0800 Subject: usrp: poke tune args into dboards that support it --- host/lib/usrp/multi_usrp.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'host/lib/usrp') 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 @@ -139,6 +139,14 @@ static tune_result_t tune_xx_subdev_and_dsp( if (bw > rate) lo_offset = std::min((bw - rate)/2, rate/2); } + //------------------------------------------------------------------ + //-- poke the tune request args into the dboard + //------------------------------------------------------------------ + if (rf_fe_subtree->exists("tune_args")) + { + rf_fe_subtree->access("tune_args").set(tune_request.args); + } + //------------------------------------------------------------------ //-- set the RF frequency depending upon the policy //------------------------------------------------------------------ -- cgit v1.2.3