[PATCH] hw_feature: Correctly select mode in case of 6GHz

Jouni Malinen j at w1.fi
Sun Feb 7 18:14:37 EST 2021

On Thu, Oct 22, 2020 at 02:00:25PM +0300, Andrei Otcheretianski wrote:
> There are 2 HW modes with IEEE80211_MODE_A: one for the 5GHz channels
> and one for 6GHz channels. Since hw_get_chan() checks all the compatible
> hw modes, eventually, an incorrect hw mode is selected.
> To fix this, add a function that checks if a specific mode supports
> the requested frequency and if so use it as the current mode.

Thanks, applied.
Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list