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
This commit is contained in:
Alan Chen 2020-04-30 16:11:17 -07:00 • committed by nshrivas
commit 331f8a3a54

View file

@ -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