commit 3ec3855de93553c8fe7568f9bc96ca89c1840db7
parent 91adbcb7f4fff461d068d7a9a04a4fb982bdae97
Author: James Prestwood <prestwoj@gmail.com>
Date: Thu, 10 Sep 2020 16:12:28 -0700
auto-t: remove wiphy.py
This is no longer needed
Diffstat:
1 file changed, 0 insertions(+), 32 deletions(-)
diff --git a/autotests/util/wiphy.py b/autotests/util/wiphy.py
@@ -1,32 +0,0 @@
-#! /usr/bin/python3
-import os
-import collections
-
-wiphy_map = {}
-
-Wiphy = collections.namedtuple('Wiphy', ['name', 'use', 'interface_map'])
-
-Intf = collections.namedtuple('Intf',
- ['name', 'wiphy', 'ctrl_interface', 'config'])
-
-def parse_list():
- for entry in os.environ['TEST_WIPHY_LIST'].split('\n'):
- wname, use_str = entry.split('=', 1)
- use = use_str.split(',')
-
- if wname not in wiphy_map:
- wiphy_map[wname] = Wiphy(use=use[0], name=wname, interface_map={})
-
- if len(use) <= 1:
- continue
-
- intf = {}
- intf['name'] = None
- intf['wiphy'] = wiphy_map[wname]
- intf['ctrl_interface'] = None
- intf['config'] = None
- intf.update(dict([param.split('=', 1) for param in use[1:]]))
-
- wiphy_map[wname].interface_map[intf['name']] = Intf(**intf)
-
-parse_list()