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

Jurijs Soloveckis jsoloveckis at maxlinear.com
Mon Mar 25 06:23:12 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 1a18df617..42c61604b 100644
--- a/src/ap/ap_config.c
+++ b/src/ap/ap_config.c
@@ -1491,6 +1491,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) {
+		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