]> git.ipfire.org Git - thirdparty/hostap.git/commit
STA: Check driver capability to enable OCV when driver SME is used
authorVeerendranath Jakkam <vjakkam@codeaurora.org>
Thu, 3 Dec 2020 08:47:39 +0000 (14:17 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 15 Feb 2021 22:47:43 +0000 (00:47 +0200)
commit73ebd58fc8fc5d7977e9205de27f6b1a6d2c9c99
treedc54cf2ec69ad03ef1a82e42650ccc5c04852ebf
parentf3dfe42c7e3c56ced5fa2c4ed73e5eb247df170a
STA: Check driver capability to enable OCV when driver SME is used

When the driver SME is used, offloaded RSN handshakes like SA Query, GTK
rekeying, FT authentication, etc. would fail if wpa_supplicant enables
OCV in initial connection based on configuration but the driver doesn't
support OCV. To avoid such failures check the driver's capability for
enabling OCV when the driver SME used.

This commit also adds a capability flag for indicating OCV support
by the driver.

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