patch-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Patch-gnuradio] usrp2_base: config_mimo patch


From: Douglas Geiger
Subject: [Patch-gnuradio] usrp2_base: config_mimo patch
Date: Thu, 12 Mar 2009 14:36:48 -0500
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

 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
address@hidden
address@hidden
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);

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]