mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-20 20:14:57 +00:00
lf_cisco_dfs.py : modification to sweep time
This commit is contained in:
@@ -1431,7 +1431,8 @@ class L3VariableTime(Realm):
|
|||||||
interval_ = "1428"
|
interval_ = "1428"
|
||||||
count_ = "18"
|
count_ = "18"
|
||||||
frequency_ = "5260000" # channel 52
|
frequency_ = "5260000" # channel 52
|
||||||
sweep_time_ = "1000"
|
#sweep_time_ = "1000"
|
||||||
|
sweep_time_ = "0"
|
||||||
if_gain_ = "40"
|
if_gain_ = "40"
|
||||||
bb_gain_ = "20"
|
bb_gain_ = "20"
|
||||||
|
|
||||||
@@ -1456,7 +1457,7 @@ class L3VariableTime(Realm):
|
|||||||
child.expect('lanforge:')
|
child.expect('lanforge:')
|
||||||
print(child.before.decode('utf-8', 'ignore'))
|
print(child.before.decode('utf-8', 'ignore'))
|
||||||
child.sendline('lanforge')
|
child.sendline('lanforge')
|
||||||
time.sleep(2)
|
time.sleep(5)
|
||||||
child.expect('>>>')
|
child.expect('>>>')
|
||||||
print(child.before.decode('utf-8', 'ignore'))
|
print(child.before.decode('utf-8', 'ignore'))
|
||||||
child.sendline('s')
|
child.sendline('s')
|
||||||
|
|||||||
Reference in New Issue
Block a user