Update BE testcases to skip for WIFI6E APs

Signed-off-by: bhargavi-ct <bhargavimamidipaka@candelatech.com>
This commit is contained in:
bhargavi-ct
2025-07-29 20:48:41 +05:30
parent 7cd061014a
commit 48b180e61d
6 changed files with 105 additions and 29 deletions

View File

@@ -75,6 +75,11 @@ class TestWifiCapacityBRIDGEModeBE6G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
sets = [["UDP-Burst", "1"], ["UDP-GRO", "1"], ["Multiple Endpoints:", "10"]] sets = [["UDP-Burst", "1"], ["UDP-GRO", "1"], ["Multiple Endpoints:", "10"]]
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_client_wpa3_bridge_tcp_download", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa3_bridge_tcp_download", mode=mode,
download_rate="10Gbps", batch_size="1", download_rate="10Gbps", batch_size="1",
upload_rate="56Kbps", protocol="TCP", duration="60000", upload_rate="56Kbps", protocol="TCP", duration="60000",
@@ -97,6 +102,11 @@ class TestWifiCapacityBRIDGEModeBE6G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
sets = [["UDP-Burst", "1"], ["UDP-GRO", "1"], ["Multiple Endpoints:", "10"]] sets = [["UDP-Burst", "1"], ["UDP-GRO", "1"], ["Multiple Endpoints:", "10"]]
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_client_wpa3_bridge_udp_dl", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa3_bridge_udp_dl", mode=mode,
download_rate="10Gbps", batch_size="1", download_rate="10Gbps", batch_size="1",
upload_rate="56Kbps", protocol="UDP", duration="60000", upload_rate="56Kbps", protocol="UDP", duration="60000",
@@ -120,6 +130,12 @@ class TestWifiCapacityBRIDGEModeBE6G(object):
mode = "BRIDGE" mode = "BRIDGE"
# val = [['modes: Auto'], ['bandw_options: 320Mhz']] # val = [['modes: Auto'], ['bandw_options: 320Mhz']]
sets = [["UDP-Burst", "1"], ["UDP-GRO", "1"], ["Multiple Endpoints:", "10"]] sets = [["UDP-Burst", "1"], ["UDP-GRO", "1"], ["Multiple Endpoints:", "10"]]
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
logging.info(f"dut_mode::{dut_mode}")
if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_client_wpa3_bridge_tcp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa3_bridge_tcp_ul", mode=mode,
download_rate="56Kbps", batch_size="1", download_rate="56Kbps", batch_size="1",
upload_rate="10Gbps", protocol="TCP", duration="60000", upload_rate="10Gbps", protocol="TCP", duration="60000",
@@ -142,6 +158,11 @@ class TestWifiCapacityBRIDGEModeBE6G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
sets = [["UDP-Burst", "1"], ["UDP-GRO", "1"], ["Multiple Endpoints:", "10"]] sets = [["UDP-Burst", "1"], ["UDP-GRO", "1"], ["Multiple Endpoints:", "10"]]
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_client_wpa3_bridge_udp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa3_bridge_udp_ul", mode=mode,
download_rate="56Kbps", batch_size="1", download_rate="56Kbps", batch_size="1",
upload_rate="10Gbps", protocol="UDP", duration="60000", upload_rate="10Gbps", protocol="UDP", duration="60000",

View File

@@ -7,6 +7,7 @@
import allure import allure
import pytest import pytest
import logging
pytestmark = [pytest.mark.wifi_capacity_be_tests, pytest.mark.nat, pytest.mark.sixg, pytestmark = [pytest.mark.wifi_capacity_be_tests, pytest.mark.nat, pytest.mark.sixg,
pytest.mark.wpa3_personal] pytest.mark.wpa3_personal]
@@ -71,6 +72,11 @@ class TestWifiCapacityNATMode6G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT-WAN" mode = "NAT-WAN"
sets = [["UDP-Burst", "1"], ["UDP-GRO", "1"], ["Multiple Endpoints:", "10"]] sets = [["UDP-Burst", "1"], ["UDP-GRO", "1"], ["Multiple Endpoints:", "10"]]
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_client_wpa3_nat_tcp_download", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa3_nat_tcp_download", mode=mode,
download_rate="10Gbps", batch_size="1", download_rate="10Gbps", batch_size="1",
upload_rate="56Kbps", protocol="TCP", duration="60000", upload_rate="56Kbps", protocol="TCP", duration="60000",
@@ -93,6 +99,11 @@ class TestWifiCapacityNATMode6G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT-WAN" mode = "NAT-WAN"
sets = [["UDP-Burst", "1"], ["UDP-GRO", "1"], ["Multiple Endpoints:", "10"]] sets = [["UDP-Burst", "1"], ["UDP-GRO", "1"], ["Multiple Endpoints:", "10"]]
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_client_wpa3_nat_udp_dl", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa3_nat_udp_dl", mode=mode,
download_rate="10Gbps", batch_size="1", download_rate="10Gbps", batch_size="1",
upload_rate="56Kbps", protocol="UDP", duration="60000", upload_rate="56Kbps", protocol="UDP", duration="60000",
@@ -115,6 +126,11 @@ class TestWifiCapacityNATMode6G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT-WAN" mode = "NAT-WAN"
sets = [["UDP-Burst", "1"], ["UDP-GRO", "1"], ["Multiple Endpoints:", "10"]] sets = [["UDP-Burst", "1"], ["UDP-GRO", "1"], ["Multiple Endpoints:", "10"]]
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_client_wpa3_nat_tcp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa3_nat_tcp_ul", mode=mode,
download_rate="56Kbps", batch_size="1", download_rate="56Kbps", batch_size="1",
upload_rate="10Gbps", protocol="TCP", duration="60000", upload_rate="10Gbps", protocol="TCP", duration="60000",
@@ -137,6 +153,11 @@ class TestWifiCapacityNATMode6G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT-WAN" mode = "NAT-WAN"
sets = [["UDP-Burst", "1"], ["UDP-GRO", "1"], ["Multiple Endpoints:", "10"]] sets = [["UDP-Burst", "1"], ["UDP-GRO", "1"], ["Multiple Endpoints:", "10"]]
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_client_wpa3_nat_udp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa3_nat_udp_ul", mode=mode,
download_rate="56Kbps", batch_size="1", download_rate="56Kbps", batch_size="1",
upload_rate="10Gbps", protocol="UDP", duration="60000", upload_rate="10Gbps", protocol="UDP", duration="60000",

View File

@@ -74,7 +74,7 @@ class TestWifiCapacityBRIDGEMode2G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_tcp_dl", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_tcp_dl", mode=mode,
@@ -97,7 +97,7 @@ class TestWifiCapacityBRIDGEMode2G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_udp_dl", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_udp_dl", mode=mode,
@@ -121,7 +121,7 @@ class TestWifiCapacityBRIDGEMode2G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_tcp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_tcp_ul", mode=mode,
@@ -145,7 +145,7 @@ class TestWifiCapacityBRIDGEMode2G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_udp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_udp_ul", mode=mode,
@@ -221,7 +221,7 @@ class TestWifiCapacityBRIDGEMode5G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_tcp_dl", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_tcp_dl", mode=mode,
@@ -246,7 +246,7 @@ class TestWifiCapacityBRIDGEMode5G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_udp_dl", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_udp_dl", mode=mode,
@@ -269,7 +269,7 @@ class TestWifiCapacityBRIDGEMode5G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_udp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_udp_ul", mode=mode,
@@ -292,7 +292,7 @@ class TestWifiCapacityBRIDGEMode5G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_tcp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_tcp_ul", mode=mode,
@@ -368,7 +368,7 @@ class TestWifiCapacityBRIDGEModeDual(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_tcp_dl", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_tcp_dl", mode=mode,
@@ -391,7 +391,7 @@ class TestWifiCapacityBRIDGEModeDual(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_udp_dl", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_udp_dl", mode=mode,
@@ -415,7 +415,7 @@ class TestWifiCapacityBRIDGEModeDual(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_tcp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_tcp_ul", mode=mode,
@@ -439,7 +439,7 @@ class TestWifiCapacityBRIDGEModeDual(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_udp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_BRIDGE_udp_ul", mode=mode,

View File

@@ -74,7 +74,7 @@ class TestWifiCapacityNATMode2G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT-WAN" mode = "NAT-WAN"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_tcp_dl", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_tcp_dl", mode=mode,
@@ -97,7 +97,7 @@ class TestWifiCapacityNATMode2G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT-WAN" mode = "NAT-WAN"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_udp_dl", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_udp_dl", mode=mode,
@@ -121,7 +121,7 @@ class TestWifiCapacityNATMode2G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT-WAN" mode = "NAT-WAN"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_tcp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_tcp_ul", mode=mode,
@@ -145,7 +145,7 @@ class TestWifiCapacityNATMode2G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT-WAN" mode = "NAT-WAN"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_udp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_udp_ul", mode=mode,
@@ -221,7 +221,7 @@ class TestWifiCapacityNATMode5G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT-WAN" mode = "NAT-WAN"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_tcp_dl", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_tcp_dl", mode=mode,
@@ -246,7 +246,7 @@ class TestWifiCapacityNATMode5G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT-WAN" mode = "NAT-WAN"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_udp_dl", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_udp_dl", mode=mode,
@@ -269,7 +269,7 @@ class TestWifiCapacityNATMode5G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT-WAN" mode = "NAT-WAN"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_udp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_udp_ul", mode=mode,
@@ -292,7 +292,7 @@ class TestWifiCapacityNATMode5G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT-WAN" mode = "NAT-WAN"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_tcp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_tcp_ul", mode=mode,
@@ -368,7 +368,7 @@ class TestWifiCapacityNATModeDual(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT-WAN" mode = "NAT-WAN"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_tcp_dl", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_tcp_dl", mode=mode,
@@ -391,7 +391,7 @@ class TestWifiCapacityNATModeDual(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT-WAN" mode = "NAT-WAN"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_udp_dl", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_udp_dl", mode=mode,
@@ -415,7 +415,7 @@ class TestWifiCapacityNATModeDual(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT-WAN" mode = "NAT-WAN"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_tcp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_tcp_ul", mode=mode,
@@ -439,7 +439,7 @@ class TestWifiCapacityNATModeDual(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT-WAN" mode = "NAT-WAN"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_udp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa2_NAT_udp_ul", mode=mode,

View File

@@ -75,7 +75,7 @@ class TestWifiCapacityBRIDGEMode6G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa3_BRIDGE_tcp_dl", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa3_BRIDGE_tcp_dl", mode=mode,
@@ -99,7 +99,7 @@ class TestWifiCapacityBRIDGEMode6G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa3_BRIDGE_udp_dl", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa3_BRIDGE_udp_dl", mode=mode,
@@ -122,7 +122,7 @@ class TestWifiCapacityBRIDGEMode6G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa3_BRIDGE_tcp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa3_BRIDGE_tcp_ul", mode=mode,
@@ -145,7 +145,7 @@ class TestWifiCapacityBRIDGEMode6G(object):
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "BRIDGE" mode = "BRIDGE"
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"] dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
if dut_mode.lower() == "wifi6": if dut_mode.lower() == "wifi6" or dut_mode.lower() == "wifi6e":
logging.info("AP does not support BE mode, so skipping this test.") logging.info("AP does not support BE mode, so skipping this test.")
pytest.skip("AP does not support BE mode, so skipping this test") pytest.skip("AP does not support BE mode, so skipping this test")
get_test_library.wifi_capacity(instance_name="test_be_client_wpa3_BRIDGE_udp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_be_client_wpa3_BRIDGE_udp_ul", mode=mode,

View File

@@ -413,7 +413,41 @@
"TCP": null, "TCP": null,
"UDP": null "UDP": null
} }
}}, },
"BE":{
"2G 2x2 40MHz": {
"TCP": 480,
"UDP": 480
},
"2G 2x2 20MHz": {
"TCP": 240,
"UDP": 240
},
"2G 4x4 20MHz": {
"TCP": null,
"UDP": null
},
"5G 2x2 80MHz": {
"TCP": 1000,
"UDP": 1000
},
"5G 4x4 80MHz": {
"TCP": null,
"UDP": null
},
"5G 2x2 160MHz": {
"TCP": 2000,
"UDP": 2000
},
"6G 2x2 320MHz": {
"TCP": 3000,
"UDP": 3000
},
"6G 2x2 160MHz": {
"TCP": 2000,
"UDP": 2000
}
}},
"cig_wf189":{ "cig_wf189":{
"AX":{ "AX":{
"2G 2x2 20MHz": { "2G 2x2 20MHz": {