summaryrefslogtreecommitdiff
path: root/uapi/linux
diff options
context:
space:
mode:
authorAshish Kumar Dhanotiya <adhanoti@codeaurora.org>2018-05-29 18:46:26 +0530
committernshrivas <nshrivas@codeaurora.org>2018-06-18 05:18:39 -0700
commit98766d9d1612d2896e15f3392a1606b282997238 (patch)
tree877d65b407e627a46a9820fbdfbca814208995ef /uapi/linux
parent7742901706cb6265dcbec7640aeb690110765bb4 (diff)
qcacld-3.0: Vendor command support to enable/disable GTX
Add vendor command support to enable or disable GTX. Currently there is no vendor attribute to enable/disable GTX from vendor command. Add vendor attribute QCA_WLAN_VENDOR_ATTR_CONFIG_GTX support through QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION vendor command and with new wmi command WMI_VDEV_PARAM_GTX_ENABLE. Change-Id: I8a740f9209ffd5f6438c3cfdd830ee2a76d0aa52 CRs-Fixed: 2253655
Diffstat (limited to 'uapi/linux')
-rw-r--r--uapi/linux/qca_vendor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/uapi/linux/qca_vendor.h b/uapi/linux/qca_vendor.h
index 6b167af35420..27c6f465accd 100644
--- a/uapi/linux/qca_vendor.h
+++ b/uapi/linux/qca_vendor.h
@@ -3338,6 +3338,12 @@ 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,
+
QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =
QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST - 1,