[PATCH 1/5] supplicant: Support disabling HE for stations.
Jouni Malinen
j at w1.fi
Sun Mar 7 16:01:56 GMT 2021
On Sat, Mar 06, 2021 at 08:18:37AM -0800, greearb at candelatech.com wrote:
> Send a flag to the kernel with user has specified disable_he
> in supplicant config file. Requires kernel patch to function
> as expected.
What kernel patch is that referring to?
> diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
> @@ -5913,6 +5913,14 @@ static int nl80211_ht_vht_overrides(struct nl_msg *msg,
> }
> #endif /* CONFIG_VHT_OVERRIDES */
>
> +#ifdef CONFIG_VHT_OVERRIDES
> + if (params->disable_he) {
> + wpa_printf(MSG_DEBUG, " * HE disabled");
> + if (nla_put_flag(msg, NL80211_ATTR_DISABLE_HE))
> + return -1;
> + }
> +#endif
Shouldn't that use CONFIG_HE_OVERRIDES?
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list