From: Mukul Sharma Date: Fri, 3 May 2024 10:27:14 +0000 (+0530) Subject: Add a new QCA vendor attribute to set reduced power scan mode X-Git-Tag: hostap_2_11~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ae087994cafbdc31c0d076540b171f7326ae141;p=thirdparty%2Fhostap.git 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 --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index a72feebb2..d8f936b4a 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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 =