mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-02 03:48:09 +00:00
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:
@@ -633,7 +633,7 @@ class APNOS:
|
|||||||
client.close()
|
client.close()
|
||||||
command = f"cd ~/cicd-git/ && ./openwrt_ctl.py {self.owrt_args} -t {self.tty} --action " \
|
command = f"cd ~/cicd-git/ && ./openwrt_ctl.py {self.owrt_args} -t {self.tty} --action " \
|
||||||
f"cmd --value \"{cmd}\" "
|
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'
|
cmd = f'cd && cd /sys/kernel/debug/ath11k/ && cd ipq* && cd mac0 && ls && echo 1 > dfs_simulate_radar'
|
||||||
print("cmd: ", cmd)
|
print("cmd: ", cmd)
|
||||||
if self.mode:
|
if self.mode:
|
||||||
@@ -662,7 +662,7 @@ class APNOS:
|
|||||||
if self.mode:
|
if self.mode:
|
||||||
cmd = f"cd ~/cicd-git/ && ./openwrt_ctl.py {self.owrt_args} -t {self.tty} --action " \
|
cmd = f"cd ~/cicd-git/ && ./openwrt_ctl.py {self.owrt_args} -t {self.tty} --action " \
|
||||||
f"cmd --value \"{cmd}\" "
|
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'
|
cmd = f'cd && cd /sys/kernel/debug/ath11k/ && cd ipq* && cd mac0 && logread | grep DFS'
|
||||||
print("cmd: ", cmd)
|
print("cmd: ", cmd)
|
||||||
if self.mode:
|
if self.mode:
|
||||||
|
|||||||
@@ -537,7 +537,7 @@ class RunTest:
|
|||||||
self.client_connect = CreateStation(_host=self.lanforge_ip, _port=self.lanforge_port,
|
self.client_connect = CreateStation(_host=self.lanforge_ip, _port=self.lanforge_port,
|
||||||
_sta_list=station_name, _password=passkey, _ssid=ssid, _security=security)
|
_sta_list=station_name, _password=passkey, _ssid=ssid, _security=security)
|
||||||
self.client_connect.station_profile.sta_mode = 0
|
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":
|
if mode == "BRIDGE":
|
||||||
self.client_connect.upstream_port = self.upstream_port
|
self.client_connect.upstream_port = self.upstream_port
|
||||||
elif mode == "NAT":
|
elif mode == "NAT":
|
||||||
|
|||||||
@@ -62,8 +62,8 @@ class TestWifiCapacityBRIDGEModeDualBand(object):
|
|||||||
max = int(get_apnos_max_clients[0])
|
max = int(get_apnos_max_clients[0])
|
||||||
sets = [["DUT_NAME", lf_tools.dut_name]]
|
sets = [["DUT_NAME", lf_tools.dut_name]]
|
||||||
print("sets", sets)
|
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="2G", num_stations=max, 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="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.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||||
lf_tools.Chamber_View()
|
lf_tools.Chamber_View()
|
||||||
influx_tags = "wifi-capacity-tcp-download-bridge-wpa2-2.4G-5G"
|
influx_tags = "wifi-capacity-tcp-download-bridge-wpa2-2.4G-5G"
|
||||||
|
|||||||
Reference in New Issue
Block a user