From b829e4b69456ebdcf70485c0ecdbf590d67ec5b9 Mon Sep 17 00:00:00 2001 From: Sachin Ahuja Date: Mon, 21 May 2018 17:17:27 +0530 Subject: [PATCH] Add a QCA vendor command attribute to enable/disable GTX 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 --- src/common/qca-vendor.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 1a125ed9d..ed8fb3a67 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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 =