]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Assign QCA vendor command and attribute for Tx/Rx aggregation
authorSunil Dutt <usdutt@qti.qualcomm.com>
Thu, 17 Mar 2016 14:43:11 +0000 (20:13 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 17 Mar 2016 18:53:25 +0000 (20:53 +0200)
Assign nl80211 vendor command
QCA_NL80211_VENDOR_SUBCMD_SET_TXRX_AGGREGATION and corresponding
attributes.

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

index f3d185ea31892c7eb1d89215ab85dc07d029ef69..01a034d4aa3775e425be97f92798aa87357e6f4d 100644 (file)
@@ -163,6 +163,7 @@ enum qca_nl80211_vendor_subcmds {
        /* 110..114 - reserved for QCA */
        QCA_NL80211_VENDOR_SUBCMD_SET_TXPOWER_DECR_DB = 115,
        /* 116..118 - reserved for QCA */
+       QCA_NL80211_VENDOR_SUBCMD_SET_TXRX_AGGREGATION = 119,
 };
 
 
@@ -463,4 +464,22 @@ enum qca_vendor_attr_txpower_decr_db {
        QCA_WLAN_VENDOR_ATTR_TXPOWER_DECR_DB_AFTER_LAST - 1
 };
 
+/**
+ * enum qca_vendor_attr_tx_rx_aggr - Attributes for TX/RX aggregation
+ *
+ * These attributes are used with
+ * QCA_NL80211_VENDOR_SUBCMD_SET_TXRX_AGGREGATION.
+ */
+enum qca_vendor_attr_tx_rx_aggr {
+       QCA_WLAN_VENDOR_ATTR_TXRX_AGGREGATION_INVALID,
+       /* 8-bit unsigned value to configure the max TX / RX MPDU for
+        * aggregation */
+       QCA_WLAN_VENDOR_ATTR_TX_MPDU_AGGREGATION,
+       QCA_WLAN_VENDOR_ATTR_RX_MPDU_AGGREGATION,
+       /* keep last */
+       QCA_WLAN_VENDOR_ATTR_TXRX_AGGREGATION_AFTER_LAST,
+       QCA_WLAN_VENDOR_ATTR_TXRX_AGGREGATION_MAX =
+       QCA_WLAN_VENDOR_ATTR_TXRX_AGGREGATION_AFTER_LAST - 1
+};
+
 #endif /* QCA_VENDOR_H */