lf_cisco_power.py cisco_wifi_ctl.py: made consistant time out and impoved comments

This commit is contained in:
Chuck SmileyRekiere
2020-10-03 17:02:31 -06:00
parent 714d768d37
commit 8c600420b2
2 changed files with 4 additions and 2 deletions

View File

@@ -614,7 +614,7 @@ def main():
logg.info("9800 Timed out waiting for initial prompt send logout loop_count: {} i: {} before {} after {}".format(loop_count, i, egg.before,egg.after))
logg.info("9800 Closing the connection and try to re-establish, ")
egg.close(force = True)
sleep(0.1)
sleep(1)
#egg.close(force = True)
#sleep(0.2)
@@ -1075,6 +1075,7 @@ def main():
sleep(0.2)
logg.info("send close to the egg child process")
egg.close(force = True)
sleep(1)
# 3504
else:
if (command is None ):

View File

@@ -533,10 +533,11 @@ def main():
# 9984 hardware needs 2 chains to do one NSS at 160Mhz
if (ni > 2):
if(args.vht160):
print("NOTE: --vht160 set will set spacial streams to 2")
ni = 2
print("NOTE: --vht160 set will set ni : {}".format(ni))
# Set radio to 2x requested value
ni *=2
print("NOTE: --vht160 set will set ni * 2 : {}".format(ni))
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")