]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Define new test config attribute for HE LTF configuration
authorKiran Kumar Lokere <klokere@codeaurora.org>
Thu, 5 Apr 2018 00:51:36 +0000 (17:51 -0700)
committerJouni Malinen <j@w1.fi>
Fri, 6 Apr 2018 20:41:06 +0000 (23:41 +0300)
Add a new wifi test config attribute to configure HE LTF in the
driver. This is used for testbed configuration.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/qca-vendor.h

index 2c04c583e0e8bfe9d556f337db2bf64d100daf90..0a4c22460150ad1edea5a17a6550a8f2becd8892 100644 (file)
@@ -5257,6 +5257,24 @@ enum qca_wlan_ac_type {
        QCA_WLAN_AC_ALL = 4,
 };
 
+/**
+ * enum qca_wlan_he_ltf_cfg - HE LTF configuration
+ *
+ * Indicates the HE LTF configuration value.
+ *
+ * @QCA_WLAN_HE_LTF_AUTO: HE-LTF is automatically set to the mandatory HE-LTF,
+ * based on the GI setting
+ * @QCA_WLAN_HE_LTF_1X: 1X HE LTF is 3.2us LTF
+ * @QCA_WLAN_HE_LTF_2X: 2X HE LTF is 6.4us LTF
+ * @QCA_WLAN_HE_LTF_4X: 4X HE LTF is 12.8us LTF
+ */
+enum qca_wlan_he_ltf_cfg {
+       QCA_WLAN_HE_LTF_AUTO = 0,
+       QCA_WLAN_HE_LTF_1X = 1,
+       QCA_WLAN_HE_LTF_2X = 2,
+       QCA_WLAN_HE_LTF_4X = 3,
+};
+
 /* Attributes for data used by
  * QCA_NL80211_VENDOR_SUBCMD_WIFI_TEST_CONFIGURATION
  */
@@ -5344,6 +5362,12 @@ enum qca_wlan_vendor_attr_wifi_test_config {
         */
        QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_NO_ACK_AC = 11,
 
+       /* 8-bit unsigned value to configure the HE LTF
+        * This attribute is used to configure the testbed device.
+        * Uses the enum qca_wlan_he_ltf_cfg values.
+        */
+       QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_HE_LTF = 12,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_MAX =