Wifi 9597 (#612)

* Added wifi6e comparasion in dfs and dfs_logread methods

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Added upstream_resource in client_connect method

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Replaced one client to max

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
jitendracandela
2022-06-15 20:29:06 +05:30
committed by GitHub
parent b132a8801f
commit c1981ee7f3
3 changed files with 5 additions and 5 deletions

View File

@@ -633,7 +633,7 @@ class APNOS:
client.close()
command = f"cd ~/cicd-git/ && ./openwrt_ctl.py {self.owrt_args} -t {self.tty} --action " \
f"cmd --value \"{cmd}\" "
elif self.type.lower() == "wifi6":
elif self.type.lower() == "wifi6" or self.type.lower() == "wifi6e":
cmd = f'cd && cd /sys/kernel/debug/ath11k/ && cd ipq* && cd mac0 && ls && echo 1 > dfs_simulate_radar'
print("cmd: ", cmd)
if self.mode:
@@ -662,7 +662,7 @@ class APNOS:
if self.mode:
cmd = f"cd ~/cicd-git/ && ./openwrt_ctl.py {self.owrt_args} -t {self.tty} --action " \
f"cmd --value \"{cmd}\" "
elif self.type.lower() == "wifi6":
elif self.type.lower() == "wifi6" or self.type.lower() == "wifi6e":
cmd = f'cd && cd /sys/kernel/debug/ath11k/ && cd ipq* && cd mac0 && logread | grep DFS'
print("cmd: ", cmd)
if self.mode:

View File

@@ -537,7 +537,7 @@ class RunTest:
self.client_connect = CreateStation(_host=self.lanforge_ip, _port=self.lanforge_port,
_sta_list=station_name, _password=passkey, _ssid=ssid, _security=security)
self.client_connect.station_profile.sta_mode = 0
self.client_connect.upstream_resource = 1
self.client_connect.upstream_resource = self.upstream_resource
if mode == "BRIDGE":
self.client_connect.upstream_port = self.upstream_port
elif mode == "NAT":

View File

@@ -62,8 +62,8 @@ class TestWifiCapacityBRIDGEModeDualBand(object):
max = int(get_apnos_max_clients[0])
sets = [["DUT_NAME", lf_tools.dut_name]]
print("sets", sets)
lf_tools.add_stations(band="2G", num_stations=1, dut=lf_tools.dut_name, ssid_name=ssid_name)
lf_tools.add_stations(band="5G", num_stations=1, dut=lf_tools.dut_name, ssid_name=ssid_name)
lf_tools.add_stations(band="2G", num_stations=max, dut=lf_tools.dut_name, ssid_name=ssid_name)
lf_tools.add_stations(band="5G", num_stations=max, dut=lf_tools.dut_name, ssid_name=ssid_name)
# lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
lf_tools.Chamber_View()
influx_tags = "wifi-capacity-tcp-download-bridge-wpa2-2.4G-5G"