]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP: Check driver's capability to enable OCV when driver SME is used
authorVeerendranath Jakkam <vjakkam@codeaurora.org>
Thu, 4 Feb 2021 18:33:20 +0000 (00:03 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 15 Feb 2021 22:47:43 +0000 (00:47 +0200)
commit6f92f81dacfc0c36e72f1ed64ec5ac73fedbb1b7
treeef5b8aa83fba1da9bc9b45b6a8ca55c1071d544d
parent73ebd58fc8fc5d7977e9205de27f6b1a6d2c9c99
AP: Check driver's capability to enable OCV when driver SME is used

When the driver SME is used, offloaded handshakes which need Operating
Channel Validation (OCV) such as SA Query procedure, etc. would fail if
hostapd enables OCV based on configuration but the driver doesn't
support OCV. To avoid this when driver SME is used, enable OCV from
hostapd only when the driver indicates support for OCV.

This commit also adds a capability flag to indicate whether driver SME
is used in AP mode.

Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
hostapd/hostapd.conf
src/ap/hs20.c
src/ap/wpa_auth_glue.c
src/drivers/driver.h
src/drivers/driver_nl80211_capa.c