]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Vendor command to query the supported AKMs from the driver
authorVeerendranath Jakkam <vjakkam@codeaurora.org>
Fri, 21 Dec 2018 10:14:25 +0000 (15:44 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 21 Dec 2018 19:09:48 +0000 (21:09 +0200)
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>
src/common/qca-vendor.h

index 22f99cc55553f3dd2c6b54ce591c06f62959d47a..543409fd18c3308fa938a8b65721967f73d58c56 100644 (file)
@@ -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 {