From: Ben Greear <greearb@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx> --- 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; } -- 2.20.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap