test: modify bad point check logic of Wi-Fi iperf test

This commit is contained in:
He Yin Ling
2020-11-13 09:46:32 +08:00
parent 4e82540730
commit 5197716d5d

View File

@@ -63,8 +63,8 @@ class TestResult(object):
ZERO_POINT_THRESHOLD = -88 # RSSI, dbm ZERO_POINT_THRESHOLD = -88 # RSSI, dbm
ZERO_THROUGHPUT_THRESHOLD = -92 # RSSI, dbm ZERO_THROUGHPUT_THRESHOLD = -92 # RSSI, dbm
BAD_POINT_RSSI_THRESHOLD = -85 # RSSI, dbm BAD_POINT_RSSI_THRESHOLD = -75 # RSSI, dbm
BAD_POINT_MIN_THRESHOLD = 3 # Mbps BAD_POINT_MIN_THRESHOLD = 10 # Mbps
BAD_POINT_PERCENTAGE_THRESHOLD = 0.3 BAD_POINT_PERCENTAGE_THRESHOLD = 0.3
# we need at least 1/2 valid points to qualify the test result # we need at least 1/2 valid points to qualify the test result