]> 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)
commit38801d2e1b93e9d4cf58be5431795dc90d1b6fbe
tree31d9f9db5d102a41f893a7bc007966f97ee897bb
parentd23707eec6949fb1f52c94ab579a2cd421bb1cc5
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