aboutsummaryrefslogtreecommitdiffstats
path: root/mpm
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-11-08 10:46:45 -0800
committerMartin Braun <martin.braun@ettus.com>2019-11-26 12:21:33 -0800
commitec488d49c04aab347ebdfa0da3e516fc34610b0b (patch)
treeb9cc3a3f04e95f2467d8843f179f0a5a57627789 /mpm
parent74b0352c4a2b5e54f7f7d5a46bf1c957a946a0f4 (diff)
downloaduhd-ec488d49c04aab347ebdfa0da3e516fc34610b0b.tar.gz
uhd-ec488d49c04aab347ebdfa0da3e516fc34610b0b.tar.bz2
uhd-ec488d49c04aab347ebdfa0da3e516fc34610b0b.zip
mpm/mpmd: Remove token requirement for device info
This removes the token requirement for get_proto_ver() and get_chdr_width().
Diffstat (limited to 'mpm')
-rw-r--r--mpm/python/usrp_mpm/periph_manager/base.py3
1 files changed, 2 insertions, 1 deletions
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
###########################################################################