[PATCH 2/5] hostapd: add require_eht configuration

Nicolas Escande nico.escande at gmail.com
Tue Mar 17 09:25:51 PDT 2026


On Tue Mar 17, 2026 at 2:05 PM CET, Johannes Berg wrote:
> diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
> index 221e3c5c1a1f..8a6fa084a7fc 100644
> --- a/src/ap/ieee802_11.c
> +++ b/src/ap/ieee802_11.c
> @@ -146,6 +146,11 @@ static size_t hostapd_supp_rates(struct hostapd_data *hapd, u8 *buf)
>  		*pos++ = 0x80 | BSS_MEMBERSHIP_SELECTOR_HE_PHY;
>  #endif /* CONFIG_IEEE80211AX */
>  
> +#ifdef CONFIG_IEEE80211AX
> +	if (hapd->iconf->ieee80211be && hapd->iconf->require_eht)
> +		*pos++ = 0x80 | BSS_MEMBERSHIP_SELECTOR_EHT_PHY;
> +#endif /* CONFIG_IEEE80211AX */
I think you have a typo shouldn't it be CONFIG_IEEE80211BE
> +
>  #ifdef CONFIG_SAE
>  	if ((hapd->conf->sae_pwe == SAE_PWE_HASH_TO_ELEMENT ||
>  	     hostapd_sae_pw_id_in_use(hapd->conf) == 2) &&



More information about the Hostap mailing list