]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/drivers/driver_nl80211.c
nl80211: Use the new NL80211_MFP_OPTIONAL option
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 1 Feb 2018 14:21:57 +0000 (16:21 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 17 Feb 2018 16:50:28 +0000 (18:50 +0200)
commit299d21e8e2443523a6c9ac08103b785bb63eadba
tree11c42f26466148ae71f8752d76e79a8c5f2bf3f6
parentb8e88d357a28997167cebbe65621e8e77e6f9a34
nl80211: Use the new NL80211_MFP_OPTIONAL option

Now we can configure the network block so that it allows MFP setting for
the NL80211_CMD_CONNECT command. If the kernel finds an AP that requires
MFP, it'll be able to connect to it.

Note that since NL80211_MFP_OPTIONAL isn't supported for
NL80211_CMD_ASSOCIATE, we need to take the MFP configuration outside
nl80211_connect_common(). In addition, check that
NL80211_EXT_FEATURE_MFP_OPTIONAL is supported, to be backward compatible
with older kernels.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
src/drivers/driver.h
src/drivers/driver_nl80211.c
src/drivers/driver_nl80211_capa.c