]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: Enhance the AKM advertizement to support per interface.
authorVeerendranath Jakkam <vjakkam@codeaurora.org>
Sun, 26 Jan 2020 20:30:32 +0000 (02:00 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 7 Feb 2020 11:34:26 +0000 (12:34 +0100)
commit2147cc31da2c0ab07f7adf410b513cf31c98dd63
treec089d9b6dd18df6e232779eca4e8cce3d9c93167
parent6058da4a873b6598d305096d76c35c0f3376c365
cfg80211: Enhance the AKM advertizement to support per interface.

Commit 38801d2e1b93 ("cfg80211: Allow drivers to advertise supported AKM
suites") introduces the support to advertize supported AKMs to userspace.

This needs an enhancement to advertize the AKM support per interface type,
specifically for the cfg80211-based drivers that implement SME and use
different mechanisms to support the AKM's for each interface type (e.g.,
the support for SAE, OWE AKM's take different paths for such drivers on
STA/AP mode).

This commit aims the same and enhances the earlier mechanism of advertizing
the AKMs per wiphy. Add new nl80211 attributes and data structure to
provide supported AKMs per interface type to userspace.

the AKMs advertized in akm_suites are default capabilities if not
advertized for a specific interface type in iftype_akm_suites.

Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
Link: https://lore.kernel.org/r/20200126203032.21934-1-vjakkam@codeaurora.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c