]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Add supported channel bandwidth checking infrastructure
authorDmitry Lebed <dlebed@quantenna.com>
Thu, 1 Mar 2018 11:49:27 +0000 (14:49 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 6 Jan 2019 09:54:34 +0000 (11:54 +0200)
commitce6d9ce15b074a021e2c14c0c3a26f298c79e2da
treefb71cdf93c6433c774ca64139b47cebb798c6f47
parent4299ad826d351aa7400c908cddf0f191bbb0081a
hostapd: Add supported channel bandwidth checking infrastructure

This adds checks to common code to verify supported bandwidth options
for each channel using nl80211-provided info. No support of additional
modes is added, just additional checks. Such checks are needed because
driver/hardware can declare more strict limitations than declared in the
IEEE 802.11 standard. Without this patch hostapd might select
unsupported channel and that will fail because Linux kernel does check
channel bandwidth limitations.

Signed-off-by: Dmitry Lebed <dlebed@quantenna.com>
src/ap/hw_features.c
src/common/hw_features_common.c
src/common/hw_features_common.h