From: Sunil Dutt Date: Thu, 17 Mar 2016 14:43:11 +0000 (+0530) Subject: Assign QCA vendor command and attribute for Tx/Rx aggregation X-Git-Tag: hostap_2_6~712 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ca16b5fd71833d7d200167ba10b471cab7d049f;p=thirdparty%2Fhostap.git Assign QCA vendor command and attribute for Tx/Rx aggregation Assign nl80211 vendor command QCA_NL80211_VENDOR_SUBCMD_SET_TXRX_AGGREGATION and corresponding attributes. Signed-off-by: Jouni Malinen --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index f3d185ea3..01a034d4a 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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 */