aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiran Kumar Lokere <klokere@codeaurora.org>2018-07-05 22:28:11 (GMT)
committerJouni Malinen <j@w1.fi>2018-07-06 18:27:01 (GMT)
commit420b5dd81490f9a7c14af4d639f4a9a10f5ea3ce (patch)
tree97e276fdb069f76a01d2aed7ad8970baad185473
parent8a9950f7b6ebd4f555575f60d7ae7a98cdb73383 (diff)
downloadhostap-master.zip
hostap-master.tar.gz
hostap-master.tar.bz2
Define test config QCA vendor attribute for HE MAC padding durationHEADpendingmaster
Add a new wifi test config QCA vendor attribute to configure HE trigger frame MAC padding duration value in the driver. This is used for testbed configuration. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
-rw-r--r--src/common/qca-vendor.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h
index 7c2be1f..e13e243 100644
--- a/src/common/qca-vendor.h
+++ b/src/common/qca-vendor.h
@@ -5356,6 +5356,24 @@ enum qca_wlan_he_ltf_cfg {
QCA_WLAN_HE_LTF_4X = 3,
};
+/**
+ * enum qca_wlan_he_mac_padding_dur - HE trigger frame MAC padding duration
+ *
+ * Indicates the HE trigger frame MAC padding duration value.
+ *
+ * @QCA_WLAN_HE_NO_ADDITIONAL_PROCESS_TIME: no additional time required to
+ * process the trigger frame.
+ * @QCA_WLAN_HE_8US_OF_PROCESS_TIME: indicates the 8us of processing time for
+ * trigger frame.
+ * @QCA_WLAN_HE_16US_OF_PROCESS_TIME: indicates the 16us of processing time for
+ * trigger frame.
+ */
+enum qca_wlan_he_mac_padding_dur {
+ QCA_WLAN_HE_NO_ADDITIONAL_PROCESS_TIME = 0,
+ QCA_WLAN_HE_8US_OF_PROCESS_TIME = 1,
+ QCA_WLAN_HE_16US_OF_PROCESS_TIME = 2,
+};
+
/* Attributes for data used by
* QCA_NL80211_VENDOR_SUBCMD_WIFI_TEST_CONFIGURATION
*/
@@ -5498,6 +5516,13 @@ enum qca_wlan_vendor_attr_wifi_test_config {
*/
QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_HE_MU_EDCA_TIMER = 19,
+ /* 8-bit unsigned value to configure the HE trigger frame MAC padding
+ * duration.
+ * This attribute is used to configure the testbed device.
+ * Uses the enum qca_wlan_he_mac_padding_dur values.
+ */
+ QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_HE_MAC_PADDING_DUR = 20,
+
/* keep last */
QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_AFTER_LAST,
QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_MAX =