From 8c600420b2ee755fdcf76e6cd84f1c060c4bffee Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Sat, 3 Oct 2020 17:02:31 -0600 Subject: [PATCH] lf_cisco_power.py cisco_wifi_ctl.py: made consistant time out and impoved comments --- cisco_wifi_ctl.py | 3 ++- lf_cisco_power.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cisco_wifi_ctl.py b/cisco_wifi_ctl.py index 56bd87cc..1cf927ca 100755 --- a/cisco_wifi_ctl.py +++ b/cisco_wifi_ctl.py @@ -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 ): diff --git a/lf_cisco_power.py b/lf_cisco_power.py index c0cbc241..77de3f51 100755 --- a/lf_cisco_power.py +++ b/lf_cisco_power.py @@ -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")