]> git.ipfire.org Git - thirdparty/hostap.git/commit
ACS: Add channels from all modes matching with configured hw mode
authorAnkita Bajaj <bankita@codeaurora.org>
Mon, 18 Nov 2019 06:06:51 +0000 (11:36 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 20 Dec 2019 10:21:41 +0000 (12:21 +0200)
commit15d35687394b4ef464f810ee61bfd1c48dd35e86
tree5f0e3cc439cae97b355d2b2d21f8aa7452090799
parent996662250d4caedbfe02f1d8d27c2a19ee69a41e
ACS: Add channels from all modes matching with configured hw mode

The 5 GHz channels are stored in one hw_features set with mode
HOSTAPD_MODE_IEEE80211A while the 6 GHz channels will need to stored in
a separate hw_features set (but with same mode HOSTAPD_MODE_IEEE80211A)
due to possibility of different HE capabilities being available between
the 5 GHz and 6 GHz bands.

Iterate through all hw_features sets and populate channels from all
hw_features sets whose hardware mode is matching the configured hardware
mode while preparing the channel list for ACS.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/ap/ap_drv_ops.c