diff --git a/libs/tip_2x/ap_lib.py b/libs/tip_2x/ap_lib.py index ad73af288..33abd76dd 100644 --- a/libs/tip_2x/ap_lib.py +++ b/libs/tip_2x/ap_lib.py @@ -466,7 +466,7 @@ class APLIBS: else: cmd = f'cd && cd /sys/kernel/debug/ath11k/ && cd ipq* && cd mac0 && ls && echo 1 > dfs_simulate_radar' elif type_.lower() == "wifi7": - cmd1 = '[ -f /sys/kernel/debug/ieee80211/phy1/ath12k/dfs_simulate_radar ] && echo "True" || echo "False"' + cmd1 = '[ -f /sys/kernel/debug/ieee80211/phy0/ath12k_hw1/dfs_simulate_radar ] && echo "True" || echo "False"' output = self.run_generic_command(cmd=cmd1, idx=idx, print_log=print_log, attach_allure=attach_allure, @@ -476,7 +476,7 @@ class APLIBS: status_count = int(ret.count("True")) logging.info("Status count: " + str(status_count)) if status_count == 1: - cmd = "cd && cd /sys/kernel/debug/ieee80211/phy1/ath12k/ && echo 1 > dfs_simulate_radar" + cmd = "cd && cd /sys/kernel/debug/ieee80211/phy0/ && cd ath12k_hw1 && echo 1 > dfs_simulate_radar" else: cmd = f'cd && cd /sys/kernel/debug/ath12k/ && cd qcn* && cd mac1 && ls && echo 1 > dfs_simulate_radar' output = self.run_generic_command(cmd=cmd, idx=idx, @@ -538,14 +538,14 @@ class APLIBS: else: cmd = f'cd && cd /sys/kernel/debug/ath11k/ && cd ipq* && cd mac0 && logread | grep DFS' elif type_.lower() == "wifi7": - cmd1 = '[ -f /sys/kernel/debug/ieee80211/phy1/ath12k/dfs_simulate_radar ] && echo "True" || echo "False"' + cmd1 = '[ -f /sys/kernel/debug/ieee80211/phy0/ath12k_hw1/dfs_simulate_radar ] && echo "True" || echo "False"' output = self.run_generic_command(cmd=cmd1, idx=idx, print_log=print_log, attach_allure=attach_allure, expected_attachment_type=allure.attachment_type.JSON) logging.info("DFS logread output: " + str(output)) if output.__contains__("False"): - cmd = f'cd && cd /sys/kernel/debug/ieee80211/phy1/ath12k/ && logread | grep DFS' + cmd = f'cd && cd /sys/kernel/debug/ieee80211/phy0/ath12k_hw1/ && logread | grep DFS' else: cmd = f'cd && cd /sys/kernel/debug/ath12k/ && cd qcn* && cd mac1 && logread | grep DFS'