aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeerendranath Jakkam <vjakkam@codeaurora.org>2018-12-21 10:14:25 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-21 19:09:48 (GMT)
commitdbe7f6da772c4de7791ca6b5d4d42b38f1fa345e (patch)
treed809fb4424e87b48b53e00d223208fcb61a11d23
parent5bcddb9302f96d803bf6a8c47a9652fbfa12dc31 (diff)
downloadhostap-dbe7f6da772c4de7791ca6b5d4d42b38f1fa345e.zip
hostap-dbe7f6da772c4de7791ca6b5d4d42b38f1fa345e.tar.gz
hostap-dbe7f6da772c4de7791ca6b5d4d42b38f1fa345e.tar.bz2
Vendor command to query the supported AKMs from the driver
This new QCA vendor command is used to query the supported AKM suite selectors from the driver. There has been no such capability indication from the driver and thus the current user space has to assume the driver to support all the AKMs. This may be the case with some drivers (e.g., mac80211-based ones) but 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 specify the exact set of supported AKMs so that user space tools can determine what network profile options should be allowed to be configured. This command returns the list of supported AKM suite selectors in the attribute NL80211_ATTR_AKM_SUITES. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
-rw-r--r--src/common/qca-vendor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h
index 22f99cc..543409f 100644
--- a/src/common/qca-vendor.h
+++ b/src/common/qca-vendor.h
@@ -499,6 +499,10 @@ enum qca_radiotap_vendor_ids {
*
* Based on the config provided, FW will boost the weight and prioritize
* the traffic for that subsystem (WLAN/BT/Zigbee).
+ *
+ * @QCA_NL80211_VENDOR_SUBCMD_GET_SUPPORTED_AKMS: This command is used to query
+ * the supported AKM suite selectorss from the driver. It returns the list
+ * of supported AKMs in the attribute NL80211_ATTR_AKM_SUITES.
*/
enum qca_nl80211_vendor_subcmds {
QCA_NL80211_VENDOR_SUBCMD_UNSPEC = 0,
@@ -663,6 +667,7 @@ enum qca_nl80211_vendor_subcmds {
QCA_NL80211_VENDOR_SUBCMD_PEER_CFR_CAPTURE_CFG = 173,
QCA_NL80211_VENDOR_SUBCMD_THROUGHPUT_CHANGE_EVENT = 174,
QCA_NL80211_VENDOR_SUBCMD_COEX_CONFIG = 175,
+ QCA_NL80211_VENDOR_SUBCMD_GET_SUPPORTED_AKMS = 176,
};
enum qca_wlan_vendor_attr {