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: