]> git.baikalelectronics.ru Git - kernel.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)
commit9e36487f2f618983d8e89b753d7992dba06f8452
tree31d9f9db5d102a41f893a7bc007966f97ee897bb
parent3188efd808a9005a309fa7bdff332073b1186c40
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