[PATCH 1/5] supplicant: Support disabling HE for stations.
Ben Greear
greearb at candelatech.com
Sat Mar 6 16:21:34 GMT 2021
Just FYI, the 2/5 I skipped since it needs a kernel patch that I just posted
and which may not be accepted to the kernel...
Thanks,
Ben
On 3/6/21 8:18 AM, greearb at candelatech.com wrote:
> From: Ben Greear <greearb at candelatech.com>
>
> Send a flag to the kernel with user has specified disable_he
> in supplicant config file. Requires kernel patch to function
> as expected.
>
> Signed-off-by: Ben Greear <greearb at candelatech.com>
> ---
> src/drivers/driver_nl80211.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
> index a9d5fe3d8..f32890d1d 100644
> --- 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
> +
> return 0;
> }
>
>
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the Hostap
mailing list