]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add a QCA vendor command attribute to enable/disable GTX
authorSachin Ahuja <sahuja@codeaurora.org>
Mon, 21 May 2018 11:47:27 +0000 (17:17 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 24 May 2018 15:47:48 +0000 (18:47 +0300)
This commit adds a new vendor command attribute
QCA_WLAN_VENDOR_ATTR_CONFIG_GTX in
QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION to enable/disable green
Tx power saving feature.

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

index 1a125ed9ddbc91f7db937fae342cbaecf9fad7eb..ed8fb3a67fe433262e786d128e6d591ca0af9910 100644 (file)
@@ -1638,6 +1638,11 @@ enum qca_wlan_vendor_attr_config {
         */
        QCA_WLAN_VENDOR_ATTR_CONFIG_RSN_IE = 56,
 
+       /* 8-bit unsigned value to trigger green Tx power saving.
+        * 1-Enable, 0-Disable
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_GTX = 57,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =