aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/lib/usrp/mpmd/mpmd_mb_iface.cpp4
-rw-r--r--mpm/python/usrp_mpm/periph_manager/base.py3
2 files changed, 4 insertions, 3 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_mb_iface.cpp b/host/lib/usrp/mpmd/mpmd_mb_iface.cpp
index b113ad596..cb779f635 100644
--- a/host/lib/usrp/mpmd/mpmd_mb_iface.cpp
+++ b/host/lib/usrp/mpmd/mpmd_mb_iface.cpp
@@ -84,12 +84,12 @@ void mpmd_mboard_impl::mpmd_mb_iface::init()
*****************************************************************************/
uint16_t mpmd_mboard_impl::mpmd_mb_iface::get_proto_ver()
{
- return _rpc->request_with_token<uint16_t>("get_proto_ver");
+ return _rpc->request<uint16_t>("get_proto_ver");
}
uhd::rfnoc::chdr_w_t mpmd_mboard_impl::mpmd_mb_iface::get_chdr_w()
{
- const auto chdr_w_bits = _rpc->request_with_token<size_t>("get_chdr_width");
+ const auto chdr_w_bits = _rpc->request<size_t>("get_chdr_width");
switch (chdr_w_bits) {
case 512:
return CHDR_W_512;
diff --git a/mpm/python/usrp_mpm/periph_manager/base.py b/mpm/python/usrp_mpm/periph_manager/base.py
index 5e5d3889e..3cfab6c79 100644
--- a/mpm/python/usrp_mpm/periph_manager/base.py
+++ b/mpm/python/usrp_mpm/periph_manager/base.py
@@ -534,6 +534,7 @@ class PeriphManagerBase(object):
"""
return self.mboard_regs_control.get_device_id()
+ @no_claim
def get_proto_ver(self):
"""
Return RFNoC protocol version
@@ -542,6 +543,7 @@ class PeriphManagerBase(object):
self.log.debug("RFNoC protocol version supported by this device is {}".format(proto_ver))
return proto_ver
+ @no_claim
def get_chdr_width(self):
"""
Return RFNoC CHDR width
@@ -550,7 +552,6 @@ class PeriphManagerBase(object):
self.log.debug("CHDR width supported by the device is {}".format(chdr_width))
return chdr_width
-
###########################################################################
# Misc device status controls and indicators
###########################################################################