]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
QCA vendor command for fetching HE capabilities
authorPeng Xu <pxu@qca.qualcomm.com>
Thu, 12 Jan 2017 01:21:23 +0000 (17:21 -0800)
committerJouni Malinen <j@w1.fi>
Sun, 19 Feb 2017 15:39:30 +0000 (17:39 +0200)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/common/qca-vendor.h

index c7c0e2e6006484e4d6146a1cde1358d27ced446e..934f09d713f994973e96ce7ef2774f3b8be39b39 100644 (file)
@@ -233,6 +233,10 @@ enum qca_radiotap_vendor_ids {
  *     in the host driver. The different TDLS configurations are defined
  *     by the attributes in enum qca_wlan_vendor_attr_tdls_configuration.
  *
+ * @QCA_NL80211_VENDOR_SUBCMD_GET_HE_CAPABILITIES: Query device IEEE 802.11ax HE
+ *     capabilities. The response uses the attributes defined in
+ *     enum qca_wlan_vendor_attr_get_he_capabilities.
+ *
  * @QCA_NL80211_VENDOR_SUBCMD_ABORT_SCAN: Abort an ongoing vendor scan that was
  *     started with QCA_NL80211_VENDOR_SUBCMD_TRIGGER_SCAN. This command
  *     carries the scan cookie of the corresponding scan request. The scan
@@ -402,7 +406,7 @@ enum qca_nl80211_vendor_subcmds {
        QCA_NL80211_VENDOR_SUBCMD_DMG_RF_GET_SELECTED_SECTOR = 141,
        QCA_NL80211_VENDOR_SUBCMD_DMG_RF_SET_SELECTED_SECTOR = 142,
        QCA_NL80211_VENDOR_SUBCMD_CONFIGURE_TDLS = 143,
-       /* 144 - reserved for QCA */
+       QCA_NL80211_VENDOR_SUBCMD_GET_HE_CAPABILITIES = 144,
        QCA_NL80211_VENDOR_SUBCMD_ABORT_SCAN = 145,
        QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS = 146,
        QCA_NL80211_VENDOR_SUBCMD_EXTERNAL_ACS = 147,
@@ -3391,4 +3395,31 @@ enum qca_attr_trace_level {
                QCA_ATTR_TRACE_LEVEL_AFTER_LAST - 1,
 };
 
+/**
+ * enum qca_wlan_vendor_attr_get_he_capabilities - IEEE 802.11ax HE capabilities
+ */
+enum qca_wlan_vendor_attr_get_he_capabilities {
+       QCA_WLAN_VENDOR_ATTR_HE_CAPABILITIES_INVALID = 0,
+       /* Whether HE capabilities is supported
+        * (u8 attribute: 0 = not supported, 1 = supported) */
+       QCA_WLAN_VENDOR_ATTR_HE_SUPPORTED = 1,
+       /* HE PHY capabilities, array of 3 u32 values  */
+       QCA_WLAN_VENDOR_ATTR_PHY_CAPAB = 2,
+       /* HE MAC capabilities (u32 attribute) */
+       QCA_WLAN_VENDOR_ATTR_MAC_CAPAB = 3,
+       /* HE MCS map (u32 attribute) */
+       QCA_WLAN_VENDOR_ATTR_HE_MCS = 4,
+       /* Number of SS (u32 attribute) */
+       QCA_WLAN_VENDOR_ATTR_NUM_SS = 5,
+       /* RU count (u32 attribute) */
+       QCA_WLAN_VENDOR_ATTR_RU_IDX_MASK = 6,
+       /* PPE threshold data, array of 8 u32 values */
+       QCA_WLAN_VENDOR_ATTR_PPE_THRESHOLD = 7,
+
+       /* keep last */
+       QCA_WLAN_VENDOR_ATTR_HE_CAPABILITIES_AFTER_LAST,
+       QCA_WLAN_VENDOR_ATTR_HE_CAPABILITIES_MAX =
+       QCA_WLAN_VENDOR_ATTR_HE_CAPABILITIES_AFTER_LAST - 1,
+};
+
 #endif /* QCA_VENDOR_H */