I've written a patch to add the config_mimo() function call to the usrp2_base block in gr-usrp2.
-- Doug Geiger Research Assistant Communications and Signal Processing Lab Oklahoma State University http://cspl.okstate.edu douglas.gei...@okstate.edu doug.gei...@ieee.org
Index: usrp2_base.cc =================================================================== --- usrp2_base.cc (revision 10441) +++ usrp2_base.cc (working copy) @@ -67,6 +67,12 @@ return d_u2->sync_to_pps(); } +bool +usrp2_base::config_mimo(int flags) +{ + return d_u2->config_mimo(flags); +} + std::vector<uint32_t> usrp2_base::peek32(uint32_t addr, uint32_t words) { Index: usrp2_base.h =================================================================== --- usrp2_base.h (revision 10441) +++ usrp2_base.h (working copy) @@ -64,6 +64,25 @@ bool sync_to_pps(); /*! + * \brief MIMO configuration + * + * \param flags from usrp2_mimo_config.h + * + * <pre> + * one of these: + * + * MC_WE_DONT_LOCK + * MC_WE_LOCK_TO_SMA + * MC_WE_LOCK_TO_MIMO + * + * and optionally this: + * + * MC_PROVIDE_CLK_TO_MIMO + * </pre> + */ + bool config_mimo(int flags); + + /*! * \brief Read memory from Wishbone bus as words */ std::vector<uint32_t> peek32(uint32_t addr, uint32_t words);
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Patch-gnuradio mailing list Patch-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/patch-gnuradio