mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 03:37:55 +00:00
test_l3_longevity.py : modified to be a float minus a float
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -800,8 +800,8 @@ class L3VariableTime(Realm):
|
||||
if xtop_reported:
|
||||
try:
|
||||
xtop = split_row[7]
|
||||
print("xtop {xtop}".format(xtop=xtop))
|
||||
channel_utilization = 100 - float(xtop)
|
||||
print("xtop 5g {xtop}".format(xtop=xtop))
|
||||
channel_utilization = float(100) - float(xtop)
|
||||
print("channel_utilization {utilization}".format(utilization=channel_utilization))
|
||||
except:
|
||||
print("detected chanspec with reading chanim_stats, failed reading xtop")
|
||||
@@ -904,9 +904,9 @@ class L3VariableTime(Realm):
|
||||
if xtop_reported:
|
||||
try:
|
||||
xtop = split_row[7]
|
||||
print("xtop {xtop}".format(xtop=xtop))
|
||||
channel_utilization = 100 - float(xtop)
|
||||
print("channel_utilization {utilization}".format(utilization=channel_utilization))
|
||||
print("xtop 2g {xtop}".format(xtop=xtop))
|
||||
channel_utilization = float(100) - float(xtop)
|
||||
print("channel_utilization 2g {utilization}".format(utilization=channel_utilization))
|
||||
except:
|
||||
print("detected chanspec with reading chanim_stats, failed reading xtop")
|
||||
# should be only one channel utilization
|
||||
|
||||
@@ -216,7 +216,7 @@
|
||||
" --max_stations_2 32 --max_stations_5 32 --max_stations_dual 100 --radio2 1.1.wiphy1",
|
||||
" --radio5 1.1.wiphy2 --set 'Basic Client Connectivity' 1",
|
||||
" --set 'Multi Band Performance' 1 --set 'Stability' 0 --set 'Multi-Station Throughput vs Pkt Size' 0,",
|
||||
" --set 'Throughput vs Pkt Size' 1 --set 'Capacity' 1 --set 'Band-Steering' 1 --set 'Skip 2.4 Ghz Tests' 1",
|
||||
" --set 'Throughput vs Pkt Size' 1 --set 'Capacity' 1 --set 'Band-Steering' 0 --set 'Skip 2.4 Ghz Tests' 1",
|
||||
" --pull_report --local_lf_report_dir REPORT_PATH --test_tag 'ATH10K(9984)'",
|
||||
" --test_rig TEST_RIG",
|
||||
" --set DUT_SET_NAME"
|
||||
|
||||
Reference in New Issue
Block a user