]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add a new QCA vendor attribute to set reduced power scan mode
authorMukul Sharma <quic_mukul@quicinc.com>
Fri, 3 May 2024 10:27:14 +0000 (15:57 +0530)
committerJouni Malinen <j@w1.fi>
Tue, 7 May 2024 21:17:43 +0000 (00:17 +0300)
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>
src/common/qca-vendor.h

index a72feebb2acb30c58ece845b2278cbf0b2966c4e..d8f936b4ab6b6188503ffd568028b29a0f16f918 100644 (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 =