autotest: Accept TDLS feature
In addition to the TDLS operational commands, accept the TDLS
feature as sufficient to consider a system as supporting TDLS.
BUG=chrome-os-partner:37850
TEST=wifi_matfunc
Change-Id: I0a16564735365ec992497525d51bd16f52046c10
Reviewed-on: https://chromium-review.googlesource.com/266605
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
diff --git a/server/site_linux_system.py b/server/site_linux_system.py
index cb34202..997a0c5 100644
--- a/server/site_linux_system.py
+++ b/server/site_linux_system.py
@@ -210,7 +210,9 @@
elif len(self.phy_bus_type) > 1:
caps.add(self.CAPABILITY_MULTI_AP)
for phy in self.phy_list:
- if 'tdls_mgmt' in phy.commands or 'tdls_oper' in phy.commands:
+ if ('tdls_mgmt' in phy.commands or
+ 'tdls_oper' in phy.commands or
+ 'T-DLS' in phy.features):
caps.add(self.CAPABILITY_TDLS)
if phy.support_vht:
caps.add(self.CAPABILITY_VHT)