This commit is contained in:
LoganLipke
2020-10-02 16:00:02 -07:00

View File

@@ -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