From d26dd2bfe7b33ac9fdbee4c36a0e2845fb455731 Mon Sep 17 00:00:00 2001 From: CarosLiang Date: Mon, 14 Jul 2025 16:22:37 +0800 Subject: [PATCH] WIFI-14840 6G CBP Test Will fail Sometimes Signed-off-by: CarosLiang --- .../hostapd/patches/r45-Fix-6G-CBP-Test-Fail.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 feeds/qca-wifi-7/hostapd/patches/r45-Fix-6G-CBP-Test-Fail.patch diff --git a/feeds/qca-wifi-7/hostapd/patches/r45-Fix-6G-CBP-Test-Fail.patch b/feeds/qca-wifi-7/hostapd/patches/r45-Fix-6G-CBP-Test-Fail.patch new file mode 100644 index 000000000..74eab6aca --- /dev/null +++ b/feeds/qca-wifi-7/hostapd/patches/r45-Fix-6G-CBP-Test-Fail.patch @@ -0,0 +1,13 @@ +--- a/src/drivers/driver_nl80211_event.c 2025-07-11 09:37:29.772326959 +0800 ++++ b/src/drivers/driver_nl80211_event.c 2025-07-14 15:27:22.079961399 +0800 +@@ -4904,6 +4904,10 @@ + dl_list_for_each_safe(drv, tmp, &global->interfaces, + struct wpa_driver_nl80211_data, list) { + for (bss = drv->first_bss; bss; bss = bss->next) { ++ if (gnlh->cmd == NL80211_CMD_AWGN_DETECT && ++ (nla_get_u32(tb[NL80211_ATTR_WIPHY_FREQ])) != bss->flink->freq) ++ continue; ++ + if (wiphy_idx_set) + wiphy_idx = nl80211_get_wiphy_index(bss); + if ((ifidx == -1 && !wiphy_idx_set && !wdev_id_set) ||