Add a new QCA vendor attribute to set reduced power scan mode

Userspace can use QCA_WLAN_VENDOR_ATTR_CONFIG_REDUCED_POWER_SCAN_MODE to
configure reduce power scan mode to the driver/firmware.

Signed-off-by: Mukul Sharma <quic_mukul@quicinc.com>
This commit is contained in:
Mukul Sharma 2024-05-03 15:57:14 +05:30 committed by Jouni Malinen
parent bd36dc90f1
commit 0ae087994c

View file

@ -3472,6 +3472,17 @@ enum qca_wlan_vendor_attr_config {
*/
QCA_WLAN_VENDOR_ATTR_CONFIG_KEEP_ALIVE_INTERVAL = 108,
/* 8-bit unsigned value to configure reduced power scan mode.
*
* This attribute is used to configure the driver to optimize power
* during scan. For example, the driver can switch to 1x1 from 2x2 mode
* for additional power save.
*
* 1 - Enable reduced power scan mode.
* 0 - Disable reduced power scan mode.
*/
QCA_WLAN_VENDOR_ATTR_CONFIG_REDUCED_POWER_SCAN_MODE = 109,
/* keep last */
QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =