Compare commits

..

2 Commits

Author SHA1 Message Date
CarosLiang
1ad7d76a4b WIFI-14840 6G CBP Test Will fail Sometimes
Signed-off-by: CarosLiang <cliang@actiontec.com>
2025-07-14 17:28:10 +08:00
CarosLiang
d26dd2bfe7 WIFI-14840 6G CBP Test Will fail Sometimes
Signed-off-by: CarosLiang <cliang@actiontec.com>
2025-07-14 16:22:37 +08:00
2 changed files with 14 additions and 1 deletions

View File

@@ -747,7 +747,6 @@ define Package/wpad/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wpad $(1)/usr/sbin/
$(LN) wpad $(1)/usr/sbin/hostapd
$(LN) wpad $(1)/usr/sbin/wpa_supplicant
$(INSTALL_BIN) $(PKG_BUILD_DIR)/hostapd/hostapd_cli $(1)/usr/sbin/
endef
Package/wpad-basic/install = $(Package/wpad/install)
Package/wpad-basic-openssl/install = $(Package/wpad/install)

View File

@@ -0,0 +1,14 @@
--- 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,11 @@
dl_list_for_each_safe(drv, tmp, &global->interfaces,
struct wpa_driver_nl80211_data, list) {
for (bss = drv->first_bss; bss; bss = bss->next) {
+ /* AWGN event should be delivered to 6G interface only. */
+ 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) ||