From 331f8a3a54f2922a16bf08298bc1e600cd87e9d0 Mon Sep 17 00:00:00 2001 From: Alan Chen Date: Thu, 30 Apr 2020 16:11:17 -0700 Subject: [PATCH] qcacmn: Map qpower vendor command to advanced_power_save_mode Map qpower vendor command to advanced_power_save_mode in order to support users of HST as well as HSP. Change-Id: I38de5981dca384b666b5086727e3da741f0cd4e3 CRs-Fixed: 2676713 --- os_if/linux/qca_vendor.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/os_if/linux/qca_vendor.h b/os_if/linux/qca_vendor.h index 37c2f33466a8..5fc3ec8a73e6 100644 --- a/os_if/linux/qca_vendor.h +++ b/os_if/linux/qca_vendor.h @@ -4089,8 +4089,14 @@ enum qca_wlan_vendor_attr_config { * wiphy. */ QCA_WLAN_VENDOR_ATTR_CONFIG_IFINDEX = 24, - /* 8-bit unsigned value to trigger QPower: 1-Enable, 0-Disable */ - QCA_WLAN_VENDOR_ATTR_CONFIG_QPOWER = 25, + /* + * 8-bit unsigned value to trigger Advanced Power Save Mode: + * 1-Enable, 0-Disable + */ + QCA_WLAN_VENDOR_ATTR_CONFIG_ADVANCED_POWER_SAVE_MODE = 25, + /* Deprecated old name */ + QCA_WLAN_VENDOR_ATTR_CONFIG_QPOWER = + QCA_WLAN_VENDOR_ATTR_CONFIG_ADVANCED_POWER_SAVE_MODE, /* * 8-bit unsigned value to configure the driver and below layers to * ignore the assoc disallowed set by APs while connecting