path: root/src/ap/pmksa_cache_auth.c
diff options
authorVamsi Krishna <vamsin@codeaurora.com>2019-12-30 09:42:12 (GMT)
committerJouni Malinen <j@w1.fi>2020-01-23 13:48:51 (GMT)
commitd0e116f61f0daafc1cba51027ad62c5668fc342a (patch)
treeda53fad47ef17563df887ae8946adc21e6b41d1a /src/ap/pmksa_cache_auth.c
parent4658eb77d6a528af8b82c9c6c707511b7bff27a0 (diff)
Enhance get_mode() to return correct hw_mode with 6 GHz supportHEADmaster
The 5 GHz channels are stored in one hw_features set with mode HOSTAPD_MODE_IEEE80211A while the 6 GHz channels will need to be stored in a separate hw_features set (but with same mode HOSTAPD_MODE_IEEE80211A) due to possibility of different HT/VHT/HE capabilities being available between the 5 GHz and 6 GHz bands. Iterate through all hw_features sets and check and match the band of channel supported by the hw_features set while getting the hw_features set in get_mode(). This allows both the 5 GHz and 6 GHz channels to be found and correct capabilities to be used in cases where the driver reports different capability values between 5 and 6 GHz channels. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/ap/pmksa_cache_auth.c')
0 files changed, 0 insertions, 0 deletions