From 7b5fe58ce9a5c805444682da85a073f1742a5ac5 Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Fri, 2 Oct 2020 16:03:44 -0600 Subject: [PATCH] lf_cisco_power.py: --vht160 will force 2 spatial streams --- lf_cisco_power.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lf_cisco_power.py b/lf_cisco_power.py index 85d89f5c..c0cbc241 100755 --- a/lf_cisco_power.py +++ b/lf_cisco_power.py @@ -532,8 +532,15 @@ def main(): if (bw == "160"): # 9984 hardware needs 2 chains to do one NSS at 160Mhz if (ni > 2): - print("NOTE: Skipping NSS %s for 160Mhz, LANforge radios do not support more than 2NSS at 160Mhz currently."%(n)) - continue + if(args.vht160): + print("NOTE: --vht160 set will set spacial streams to 2") + ni = 2 + # Set radio to 2x requested value + ni *=2 + else: + print("NOTE: Skipping NSS %s for 160Mhz, LANforge radios do not support more than 2NSS at 160Mhz currently."%(n)) + print("NOTE: use --vht160 to force 2NSS at 160Mhz") + continue else: # Set radio to 2x requested value for 160Mhz ni *= 2