[PATCH] Enable beacon protection if IEEE 802.11be is enabled for BSS

Jurijs Soloveckis jsoloveckis at maxlinear.com
Wed Mar 13 05:27:57 PDT 2024


IEEE P802.11be/D3.0, 4.3.16a Extremely high throughput (EHT) STA
requires beacon protection support for an EHT AP, therefore beacon
protection is enabled if IEEE 802.11be is set for BSS

Signed-off-by: Jurijs Soloveckis <jsoloveckis at maxlinear.com>
---
 src/ap/ap_config.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/ap/ap_config.c b/src/ap/ap_config.c
index a28ebbb5d..3a4728c50 100644
--- a/src/ap/ap_config.c
+++ b/src/ap/ap_config.c
@@ -1489,6 +1489,12 @@ static int hostapd_config_check_bss(struct hostapd_bss_config *bss,
 		wpa_printf(MSG_INFO,
 			   "Disabling IEEE 802.11be as IEEE 802.11ax is disabled for this BSS");
 	}
+
+	if (full_config && conf->ieee80211be && !bss->disable_11be) {
+		bss->beacon_prot = 1;
+		wpa_printf(MSG_INFO,
+			   "Enabling beacon protection as IEEE 802.11be is enabled for this BSS");
+	}
 #endif /* CONFIG_IEEE80211BE */
 
 	if (full_config && bss->ignore_broadcast_ssid && conf->mbssid) {
-- 
2.17.1



More information about the Hostap mailing list