]> asedeno.scripts.mit.edu Git - linux.git/commit
cfg80211: Allow drivers to advertise supported AKM suites
authorVeerendranath Jakkam <vjakkam@codeaurora.org>
Wed, 19 Dec 2018 17:22:25 +0000 (22:52 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 25 Jan 2019 13:05:31 +0000 (14:05 +0100)
commitab4dfa20534e32e48de6b761b42d943518fb26f7
tree31d9f9db5d102a41f893a7bc007966f97ee897bb
parentc82c06ce43d372e0127982414539d1601d5f9ce3
cfg80211: Allow drivers to advertise supported AKM suites

There was no such capability advertisement from the driver and thus the
current user space has to assume the driver to support all the AKMs. While
that may be the case with some drivers (e.g., mac80211-based ones), there
are cfg80211-based drivers that implement SME and have constraints on
which AKMs can be supported (e.g., such drivers may need an update to
support SAE AKM using NL80211_CMD_EXTERNAL_AUTH). Allow such drivers to
advertise the exact set of supported AKMs so that user space tools can
determine what network profile options should be allowed to be configured.

Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
[pmsr data might be big, start a new netlink message section]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c