]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
QCA vendor commands to configure HE +HTC capability and OM control Tx
authorKiran Kumar Lokere <klokere@codeaurora.org>
Wed, 19 Dec 2018 00:23:28 +0000 (16:23 -0800)
committerJouni Malinen <j@w1.fi>
Mon, 7 Jan 2019 20:55:20 +0000 (22:55 +0200)
Define QCA vendor command attributes to configure HE +HTC support and
HE operating mode control transmission. This is used to configure the
testbed device.

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

index 543409fd18c3308fa938a8b65721967f73d58c56..ddec4e3b835c618f251747a0ff172b7d130df88e 100644 (file)
@@ -5497,6 +5497,43 @@ enum qca_wlan_he_om_ctrl_ch_bw {
        QCA_WLAN_HE_OM_CTRL_BW_160M = 3,
 };
 
+/**
+ * enum qca_wlan_vendor_attr_he_omi_tx: Represents attributes for
+ * HE operating mode control transmit request. These attributes are
+ * sent as part of QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_HE_OMI_TX and
+ * QCA_NL80211_VENDOR_SUBCMD_WIFI_TEST_CONFIGURATION.
+ *
+ * @QCA_WLAN_VENDOR_ATTR_HE_OMI_RX_NSS: Mandatory 8-bit unsigned value
+ * indicates the maximum number of spatial streams, NSS, that the STA
+ * supports in reception for PPDU bandwidths less than or equal to 80 MHz
+ * and is set to NSS - 1.
+ *
+ * @QCA_WLAN_VENDOR_ATTR_HE_OMI_CH_BW: Mandatory 8-bit unsigned value
+ * indicates the operating channel width supported by the STA for both
+ * reception and transmission. Uses enum qca_wlan_he_om_ctrl_ch_bw values.
+ *
+ * @QCA_WLAN_VENDOR_ATTR_HE_OMI_ULMU_DISABLE: Mandatory 8-bit unsigned value
+ * indicates the all trigger based UL MU operations by the STA.
+ * 0 - UL MU operations are enabled by the STA.
+ * 1 - All triggered UL MU transmissions are suspended by the STA.
+ *
+ * @QCA_WLAN_VENDOR_ATTR_HE_OMI_TX_NSTS: Mandatory 8-bit unsigned value
+ * indicates the maximum number of space-time streams, NSTS, that
+ * the STA supports in transmission and is set to NSTS - 1.
+ */
+enum qca_wlan_vendor_attr_he_omi_tx {
+       QCA_WLAN_VENDOR_ATTR_HE_OMI_INVALID = 0,
+       QCA_WLAN_VENDOR_ATTR_HE_OMI_RX_NSS = 1,
+       QCA_WLAN_VENDOR_ATTR_HE_OMI_CH_BW = 2,
+       QCA_WLAN_VENDOR_ATTR_HE_OMI_ULMU_DISABLE = 3,
+       QCA_WLAN_VENDOR_ATTR_HE_OMI_TX_NSTS = 4,
+
+       /* keep last */
+       QCA_WLAN_VENDOR_ATTR_HE_OMI_AFTER_LAST,
+       QCA_WLAN_VENDOR_ATTR_HE_OMI_MAX =
+       QCA_WLAN_VENDOR_ATTR_HE_OMI_AFTER_LAST - 1,
+};
+
 /* Attributes for data used by
  * QCA_NL80211_VENDOR_SUBCMD_WIFI_TEST_CONFIGURATION
  */
@@ -5743,6 +5780,24 @@ enum qca_wlan_vendor_attr_wifi_test_config {
         */
        QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_HE_ACTION_TX_TB_PPDU = 32,
 
+       /* Nested attribute to indicate HE operating mode control field
+        * transmission. It contains operating mode control field Nss,
+        * channel bandwidth, Tx Nsts and UL MU disable attributes.
+        * These nested attributes are used to send HE operating mode control
+        * with configured values.
+        * Uses the enum qca_wlan_vendor_attr_he_omi_tx attributes.
+        * This attribute is used to configure the testbed device.
+        */
+       QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_HE_OMI_TX = 33,
+
+       /* 8-bit unsigned value to configure +HTC_HE support to indicate the
+        * support for the reception of a frame that carries an HE variant
+        * HT Control field.
+        * This attribute is used to configure the testbed device.
+        * 1-enable, 0-disable
+        */
+       QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_HE_HTC_HE_SUPP = 34,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_MAX =