aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2022-05-18 17:23:12 +0200
committerskooNI <60897865+skooNI@users.noreply.github.com>2022-07-20 15:57:20 -0500
commita9a9a8ac845ae9481dbe7c8445b45eb5b28cdf09 (patch)
tree8c86b2e69db7fe3aee452d6ff5c7aaa4d80c180a /mpm/python/usrp_mpm
parentc741604b1e43047b45778bde13fb1342e66adfef (diff)
downloaduhd-a9a9a8ac845ae9481dbe7c8445b45eb5b28cdf09.tar.gz
uhd-a9a9a8ac845ae9481dbe7c8445b45eb5b28cdf09.tar.bz2
uhd-a9a9a8ac845ae9481dbe7c8445b45eb5b28cdf09.zip
mpm: x4xx: Make get_chdr_link_types() more generic
This code was copy/pasta'd from N3x0. In theory, X410 can have more options regarding streaming than UDP, although for now, this function returns the exact same as before, it's just no longer hard coded.
Diffstat (limited to 'mpm/python/usrp_mpm')
-rw-r--r--mpm/python/usrp_mpm/periph_manager/x4xx.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/x4xx.py b/mpm/python/usrp_mpm/periph_manager/x4xx.py
index e72b2e41e..fdebaeb3c 100644
--- a/mpm/python/usrp_mpm/periph_manager/x4xx.py
+++ b/mpm/python/usrp_mpm/periph_manager/x4xx.py
@@ -718,13 +718,12 @@ class x4xx(ZynqComponents, PeriphManagerBase):
###########################################################################
# Transport API
###########################################################################
- # pylint: disable=no-self-use
def get_chdr_link_types(self):
"""
- This will only ever return a single item (udp).
+ Return a list of ways how UHD can connect to the X4xx. See
+ PeriphManagerBase.get_chdr_link_types() for more docs.
"""
- return ["udp"]
- # pylint: enable=no-self-use
+ return list(self._xport_mgrs.keys())
def get_chdr_link_options(self, xport_type):
"""