[PATCH 1/2] nl80211: Allow HE MCS rate selection for beacon frame
Jouni Malinen
j at w1.fi
Sun Feb 7 18:14:14 EST 2021
On Sat, Oct 03, 2020 at 02:31:15AM -0700, Rajkumar Manoharan wrote:
> Allow HE MCS rate to be used for beacon transmission when the driver
> advertises the support.
Thanks, both applied.
> diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
> @@ -4182,7 +4183,10 @@ static int nl80211_put_beacon_rate(struct nl_msg *msg, const u64 flags,
> case HOSTAPD_MODE_IEEE80211A:
> - band = nla_nest_start(msg, NL80211_BAND_5GHZ);
> + if (is_6ghz_freq(params->freq->freq))
> + band = nla_nest_start(msg, NL80211_BAND_6GHZ);
> + else
> + band = nla_nest_start(msg, NL80211_BAND_5GHZ);
This does not seem to belong into this patch, so I moved it into a
separate commit.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list